| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||||
|
|||||||||
![]() Hi again, all.
I'm trying to sort the header on my website, but I'm a bit stuck! I've changed the main.css to have the sizing etc for the new banner (966 x 150). I've also changed the margins below in the page containers to allow for the extra height in the banner. However, I cannot seem to change the image itself. Currently, I've cheated and just named the replacement "xlogo.gif" - Simply to use the code from the original. In skin1/head.tpl - When I replace: Code:
With: Code:
It does not change, at all? I've found that there's a second head.tpl in customer/ - is this anything to do with it? Do I have to change both? Or - I cannot find a HeadLogo class in the css, so do I have to add one? But why should the original header work, just not the new image...! My second problem is that I cannot see the top drop-shadow that I've inserted into the rectangle_top.tpl. The image is 966 x 25 and only seems to appear in the admin area, even though I inserted it into skin1/rectangle_top.tpl : Code:
Any help on these two issues will be so much appreciated! Thanks in advance, JeanB
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development ![]() |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Unfortunately the logo dimension is defined in the main.css, search for following lines and change the width and the height values:
Code:
|
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Hi Zaja,
Thanks for your quick reply. I have changed those sizes to the sizes for the new banner, it displays fine when the image is named "xlogo.gif", using the existing coding in head.tpl. When I come to change "xlogo.gif" to "main_header.jpg", it does not make any changes. Even though they're both in the same directory. NB - If I deleted xlogo, it still held on to the image! I refreshed the browser many times and also cleared the cache/temps. Thanks for your help so far, JeanB
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development ![]() |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() In 4.2.x all client side templates are in skin1/customer so the file you need to edit is skin1/customer/head.tpl not skin1/head.tpl
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() D'oh! Ok - Thank you!
I've edited the customer/head.tpl now and it's working fine! Thank you! Do I have to revert the skin1/head.tpl back to its 'out of the box' status? Thanks both - that's been brill! ![]() Hate to push it, but - Any ideas as to why my rectangle_top isn't displaying?
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development ![]() |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|