| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
conditional left column | ||||
![]() |
|
|||
|
|
Thread Tools | Search this Thread |
|
#11
|
|||||||
|
|||||||
|
For that, you'll have to mess with some other css.
Each template can be different. I checked out the demo on the X-cart site (which is indicated in your URL bar) but could not get it to show as you have it... Though, looking at the CSS there is a 250px margin to the left which pushes it to the right. Line 288 in the CSS. |
|||||||
|
#12
|
|||||||||
|
|||||||||
|
Well, the problem is that I want to do this only for the product page, not for the whole container. Is it possible in smarty yo assign a custom class to an element and make in not inside the <div id="center-main">. Sorry for the bad example, I had some server problems. This is my site:
http://www.galson.bg/Hunting-Knife-w-sheath.html
__________________
Version 4.2.3 X-Cart Gold Version 4.3.1 X-Cart Gold |
|||||||||
|
#13
|
|||||||
|
|||||||
|
for that, you can actually put smarty in the div tags like so:
<div class="{if $main neq 'product'}center-main{else}center-mainP{/if}"> Then make a custom class for center-mainP |
|||||||
|
#14
|
|||||||||
|
|||||||||
|
Thank you so much, Sir. This will do the job
__________________
Version 4.2.3 X-Cart Gold Version 4.3.1 X-Cart Gold |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||