Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Can I make the home page one size, and all the other pages a different size?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-20-2009, 08:30 AM
 
Meredith Martin Davis Meredith Martin Davis is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 70
 

Default Can I make the home page one size, and all the other pages a different size?

Hi,
We currently have our site designed for a 800 x 600 resolution. For the most part this is fine, but on our home page, where we'd like to have a bit more room to play with, it's too small.

Is it possible to make the home page one size, say for the 1024 x 768 resolution, while leaving the other pages the same size they are now? Would that have to be a "splash" page? I'd love to be able to leave all the navigation and menus the same on the larger page as they are on the smaller page.

You can check out our site at http://www.highmowingseeds.com

Thanks.
__________________
4.1.8
Reply With Quote
  #2  
Old 07-20-2009, 10:15 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Can I make the home page one size, and all the other pages a different size?

You could do it. Would need to create two different stylesheets then use a smarty statement to call the different style sheet.
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 07-20-2009, 10:22 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Can I make the home page one size, and all the other pages a different size?

actually looks like the width is not controlled by the CSS but this line.

<table width="760" cellspacing="0" cellpadding="0">

change it to this in home.tpl

<table {if $main eq "catalog" and $current_category.category eq ""}width="990px"
{else}width="760"{/if} cellspacing="0" cellpadding="0">
__________________
xcart 5.1.2
Reply With Quote
  #4  
Old 07-20-2009, 12:24 PM
 
Meredith Martin Davis Meredith Martin Davis is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 70
 

Default Re: Can I make the home page one size, and all the other pages a different size?

Ah, thanks - I'll give it a try!
__________________
4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:13 PM.

   

 
X-Cart forums © 2001-2020