Forums / Templates, Stylesheets, Page Layout / best_sellers.hp sidebox not aligned well

best_sellers.hp sidebox not aligned well

Views: 1,064

Results 1 to 7 of 7
26 Nov 2025, 4:57 PM
#1
wcbutler avatar

wcbutler

New Zenner

Join Date:
Sep 2017
Location:
Raleigh, NC, United States
Posts:
81
Plugin Contributions:
0

best_sellers.hp sidebox not aligned well

Hey all,

I've tried to update my stylesheet.css in my custom template that I've limped along between zencart versions. My best_sellers.php is oddly crooked and I've been busy in the last year or two to even look. Now I've tried a few changes but don't see the change and it gets hard for me to figure it out because my hosting has cached CSS files I think.

Here is what I want more to the left:
Attachment 21084

To show you, it is on tolivealie.com/store, here is the stylesheet

and here is the code I mildly changed

#bestsellers .wrapper {
margin: 0em 0em 0em 0.3em;
}

#bestsellers ol {
padding: 0;
margin-left: 0.3em;
}

#bestsellers li {
padding: 0;
margin: 0.3em 0em 0.3em 0em;
}

Above I changed the .wrapper and ol where it says 0.3, one was 1.5 and the other was 1.3.

Is there another CSS file interacting here? I do have a modules and buttons CSS in my template folder but I think they load after this main one. Did bestsellers CSS name change in newer versions? Thank you.

26 Nov 2025, 6:07 PM
#2
wcbutler avatar

wcbutler

New Zenner

Join Date:
Sep 2017
Location:
Raleigh, NC, United States
Posts:
81
Plugin Contributions:
0

Re: best_sellers.hp sidebox not aligned well

Attachment 21085

Here is the element

26 Nov 2025, 6:30 PM
#3
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,973
Plugin Contributions:
8

Re: best_sellers.hp sidebox not aligned well

everything is there that you need.

you need to adjust for the class list-links. or more specifically ul.list-links.

set the padding-left to what you want, and you should be good to go.

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

26 Nov 2025, 8:12 PM
#4
wcbutler avatar

wcbutler

New Zenner

Join Date:
Sep 2017
Location:
Raleigh, NC, United States
Posts:
81
Plugin Contributions:
0

Re: best_sellers.hp sidebox not aligned well

carlwhat:

everything is there that you need.

you need to adjust for the class list-links. or more specifically ul.list-links.

set the padding-left to what you want, and you should be good to go.

best.

Thank you. I'm not a web dev, I'm a sys admin generally so had to change this a few times but this got me good results -

#bestsellers ul.list-links {
padding-left: 0.5em;
margin-left: 0.5em;
}

27 Nov 2025, 10:33 AM
#7
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: best_sellers.hp sidebox not aligned well

barco57:

Breathe John, you will be ok

:laugh:

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/