| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Struggling with template edits | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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
__________________
X-Cart version 4.4.5 |
|||||||
#2
|
|||||||||
|
|||||||||
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
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#3
|
|||||||
|
|||||||
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
__________________
X-Cart version 4.4.5 |
|||||||
#4
|
|||||||||
|
|||||||||
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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#5
|
|||||||
|
|||||||
Re: Struggling with template edits
Works perfectly
Thanks so much for your help Jon
__________________
X-Cart version 4.4.5 |
|||||||
|
|||
X-Cart forums © 2001-2020
|