![]() |
Struggling with template edits
Hi everyone
I am setting up a new site for a friend but really struggling with the new templates in 4.4.5 I have managed to edit the template so the site isnt full width, but cant get it to center properly: http://www.mediaservit.co.uk/shop/ I am also trying to add a background similar to the homepage, but that doesnt seem to work either http://www.mediaservit.co.uk Would sincerly appreciate it if anyone caan give me an help as to what I have done wrong, I have tried searching the forums, and have tried other suggestions for centering the site, but it doesnt seem to work correctly on my site. Many thanks Jon |
Re: Struggling with template edits
Hi Jon, try this:
#page-container { background: none repeat scroll 0 0 #FFFFFF; float: none; margin: 0 auto; min-height: 100%; padding: 2px; position: relative; width: 1200px; } Add your background image to the body: html, body { background: url("../images/bg.jpg") repeat-x scroll center top transparent; color: #000000; font-family: Arial,Helvetica,sans-serif; font-size: 12px; } Make these edits to /css/altskin.css of your current template. Place bg.jpg in the /images directory of your current template |
Re: Struggling with template edits
Hi Mike
Thanks so much for your reply and assistance. I have applied your edits and they have worked, but I have a white bar running down the right side of the site, which also seems to be knocking the site off centre. Thanks again Jon |
Re: Struggling with template edits
Jon,
It looks like your content container is set to 80% #content-container { clear: both; float: left; margin-top: 140px; overflow: hidden; padding-bottom: 39px; position: relative; width: 80%; } That is what is causing the white bar I believe. |
Re: Struggling with template edits
Works perfectly
Thanks so much for your help Jon |
All times are GMT -8. The time now is 04:44 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.