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)
-   -   Fixed width text area (https://forum.x-cart.com/showthread.php?t=51321)

cmodesign 12-15-2009 08:26 AM

Fixed width text area
 
I am using a variation of the Vivid_dreams_Aquamarine template that has a two column layout. The left-hand column is a fixed width and displays the Categories in a vertical bar. The content appears in the right-hand column and the content expands to 100%. This is fine when the browser window is narrow but shows extremely long sentences if the user has a widescreen. I would like to make the content have a fixed width.

I was able to do this for the product description and product details using the CSS but I can't find where to change it for the Welcome page or any of my static pages.

cmodesign 12-15-2009 12:49 PM

Re: Fixed width text area
 
I was able to fix the static pages by adding a DIV tag with a fixed width into the HTML pages, but I still can't figure out how to give the Welcome/Home page a fixed width.

cmodesign 12-16-2009 01:40 PM

Re: Fixed width text area
 
I am not sure if this is the best solution but it seems to have worked. I edited the file \skin1\customer\main\welcome.tpl

Code:

<div style="width: 600px">
    {$lng.txt_welcome}<br />
</div>



All times are GMT -8. The time now is 05:50 PM.

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