View Single Post
  #1  
Old 01-14-2013, 08:46 AM
 
donavichi donavichi is offline
 

X-Adept
  
Join Date: Apr 2004
Location: United Kingdom
Posts: 697
 

Default Light & Lucid 3-column layout? OK but I want NO SIDEBARS on my 'Static Page' content

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
__________________
Best regards,

Donavichi.
- - -

Website Copywriting || Web Design || FAQs || Home & Garden Blog
Reply With Quote