| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Change Header with Language | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi Guys
My online store is multilingual (german/english). There is the "Select Language" chooser right in the top of the header. I want that also my header graphic changes when i change the language. How can i solve this? That means i want to show header XY for german verison and i want to show header XY for english version. Thanks a lot for your help. Regards Manuel
__________________
X-Cart Gold 4.2.1 Add-on: X-Affiliate Add-on: X-FancyCategories Add-on: X-SpecialOffers Add-on: X-Survey Add-on: X-AOM (Advanced Order Management) Newest Added products list by BCS Engineering X-Cart Multiple Manufacturers v4.x by X-CartMods |
|||||||
#2
|
|||||||
|
|||||||
![]() I took a little time to do that and filled the top from the code itself instead of the css background. The matter is that the background is repeated if used within the table tag itself and NOT if used from the css file.
__________________
Nelson La Rocca B4B Corp. using: X-Cart 4.7.4 Platinum |
|||||||
#3
|
|||||||
|
|||||||
![]() Hi Nelson
Thanks for your reply. Since i'm newbie here and not so familiar yet with this i would be grateful if you could explain it a lil bit how to solve this. Because i don't really know how to start now with your reply. Thanks Manuel
__________________
X-Cart Gold 4.2.1 Add-on: X-Affiliate Add-on: X-FancyCategories Add-on: X-SpecialOffers Add-on: X-Survey Add-on: X-AOM (Advanced Order Management) Newest Added products list by BCS Engineering X-Cart Multiple Manufacturers v4.x by X-CartMods |
|||||||
#4
|
|||||||||
|
|||||||||
![]() See if the if statements in this thread work for you...
http://forum.x-cart.com/showthread.php?t=20598
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#5
|
|||||||
|
|||||||
![]() hi pauldodman
thanks a lot for your help, that was the right impulse to solve the problem. i did now change head.tpl and main.css ... head.tpl before: <div class="line1"> <div class="logo"> head.tpl now: <div class="line1"> {if $store_language eq "DE"}<div class="logo">{/if} {if $store_language eq "US"}<div class="logo3">{/if} main.css before: #header .line1 .logo { background: transparent url(images/custom/top_image1.jpg) no-repeat left top; height: 192px; position: relative; } main.css now #header .line1 .logo { background: transparent url(images/custom/top_image1.jpg) no-repeat left top; height: 192px; position: relative; } #header .line1 .logo3 { background: transparent url(images/custom/top_image2.jpg) no-repeat left top; height: 192px; position: relative; } thanks a lot, it's working now like this... regards manuel
__________________
X-Cart Gold 4.2.1 Add-on: X-Affiliate Add-on: X-FancyCategories Add-on: X-SpecialOffers Add-on: X-Survey Add-on: X-AOM (Advanced Order Management) Newest Added products list by BCS Engineering X-Cart Multiple Manufacturers v4.x by X-CartMods |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Good to hear - and thanks for posting an update so other users may benefit too
![]()
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|