Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    81
    Plugin Contributions
    0

    Default 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:
    Click image for larger version. 

Name:	Screenshot 2025-11-26 115138.jpg 
Views:	45 
Size:	28.3 KB 
ID:	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.

  2. #2
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    81
    Plugin Contributions
    0

    Default Re: best_sellers.hp sidebox not aligned well

    Click image for larger version. 

Name:	Screenshot 2025-11-26 124322.jpg 
Views:	35 
Size:	61.0 KB 
ID:	21085

    Here is the element

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,897
    Plugin Contributions
    13

    Default 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.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #4
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    81
    Plugin Contributions
    0

    Default Re: best_sellers.hp sidebox not aligned well

    Quote Originally Posted by carlwhat View Post
    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;
    }

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,675
    Plugin Contributions
    11

    Default Re: best_sellers.hp sidebox not aligned well

    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  6. #6
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,875
    Plugin Contributions
    0

    Default Re: best_sellers.hp sidebox not aligned well

    Quote Originally Posted by dbltoe View Post
    Breathe John, you will be ok
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  7. #7
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    365
    Plugin Contributions
    0

    Default Re: best_sellers.hp sidebox not aligned well

    Quote Originally Posted by barco57 View Post
    Breathe John, you will be ok
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

 

 

Similar Threads

  1. Sidebox is right aligned after wordpress
    By wagnerguy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Nov 2008, 03:22 PM
  2. Sidebox Headers Left Aligned
    By wenderwoman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Oct 2008, 05:40 PM
  3. sidebox not aligned properly
    By maclean in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Sep 2007, 03:42 PM
  4. right sidebox isn't aligned with left sidebox
    By zc-newbie in forum Basic Configuration
    Replies: 0
    Last Post: 3 Sep 2006, 03:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg