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)
-   -   Bestsellers Mod - Layout Changes (https://forum.x-cart.com/showthread.php?t=54328)

HookahMaster 06-24-2010 07:56 AM

Bestsellers Mod - Layout Changes
 
1 Attachment(s)
I am working on my bestsellers module. I would like to know would it be hard to change the layout it. I have moved it to show up at the bottom of my pages but I would like to change the layout to not be in the list form vertically but horizontally.

Right now there is alot of white space showing and I think it would be better if I had the list showing up long ways across. I am not sure if it would be better to make a table and put the bestsellers in columns or not.

Does anyone have any recommendations on this?
Does anyone know how I could do any of this?

Thanks

Sisom 06-24-2010 12:39 PM

Re: Bestsellers Mod - Layout Changes
 
Hi, I think what you need to do is to add the declaration:
display: inline;

to the style for
.menu-bestsellers ul li

In V4.2 it's in altskin.css, line 571, along with some other selectors, so you would just need to add
.menu-bestsellers ul li {
display: inline;
padding: 0 20px 0 0;
}

after
.menu-categories-list ul li, .menu-minicart ul li, .menu-bestsellers ul li, .menu-special ul li {
background:url("images/2column/bullet_white.gif") no-repeat scroll 0 7px transparent;
border-bottom:1px solid white;
font-size:1em;


(I recommend you use Firebug, a Firefox add on, to edit your site. I only found out about it through this forum, two weeks ago, and it has saved me literally days of my time.)


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

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