Q: How do I modify X-Cart so that I can have full-width pages for 'Static Pages' and left & right columns for store pages in X-Cart?
Open 'skin/common_files/customer/content.tpl'
Find:
Code:
<div id="center-main">
Replace with:
Code:
<div {if $page_data.pageid eq ""}id="center-main" {else}id="center-main-pages"{/if}>
Open 'skin/common_files/css/main.css'
Find:
Code:
#center-main {
margin: 0 176px;
position: relative;
overflow: hidden;
}
Below that, add:
Code:
#center-main-pages {
margin: 0;
position: relative;
overflow: hidden;
}
Save/upload your files.
Now when you navigate to a 'store' page you'll have the default 3-column light & lucid layout, but on 'static pages' you'll have a full-width layout.
Neato
