X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Can I make the home page one size, and all the other pages a different size? (https://forum.x-cart.com/showthread.php?t=48703)

Meredith Martin Davis 07-20-2009 08:30 AM

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.

ARW VISIONS 07-20-2009 10:15 AM

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.

ARW VISIONS 07-20-2009 10:22 AM

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">

Meredith Martin Davis 07-20-2009 12:24 PM

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!


All times are GMT -8. The time now is 10:25 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.