Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default How do I edit individual Sideboxes?

    My "Best Seller" side box has about 1/4 of inch margin on the left side before the numbers.

    How do I decrease this and move everything over to the left so it looks like the other sideboxes?
    Thank you, Sincerely, MagicMan

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do I edit individual Sideboxes?

    Quote Originally Posted by MagicMan View Post
    My "Best Seller" side box has about 1/4 of inch margin on the left side before the numbers.

    How do I decrease this and move everything over to the left so it looks like the other sideboxes?
    This is most likely to be due to the default margins and/or padding on the ordered list tag (<ol>) used only in the best sellers sidebox.

    You would fix this by adding your own margin and passing for this tag in your stylesheet.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: How do I edit individual Sideboxes?

    Great, but where is the section in my stylesheet? I can't find it.

    What text do I do a "Find" on?
    Thank you, Sincerely, MagicMan

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do I edit individual Sideboxes?

    You add it. You are currently seeing the ordered list with the default spacing given to it by your browser. You're going to override them with something more to your taste.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: How do I edit individual Sideboxes?

    Forgive my ignorance but could you provide me with the proper line code as well as tell me where in the CSS I need to place the code.

    I am just learning about the CSS and how it works.
    Thank you, Sincerely, MagicMan

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How do I edit individual Sideboxes?

    This one can be added pretty much anywhere in your stylesheet (though sometimes the location of custom CSS is important); some people group custom declarations at the end of the file, some put them with declarations for the same part of the page. Do what makes sense to you.

    #bestsellers ol {margin-left: .3em;}

    Adjust to taste.

  7. #7
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: How do I edit individual Sideboxes?

    Does not seem to be working> I did find this in my CSS and this is what is currently listed:

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

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

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


    I am also running the "BetterCatagories" mod css as well.
    Thank you, Sincerely, MagicMan

  8. #8
    Join Date
    Sep 2007
    Location
    Somewhere in Southern Cal
    Posts
    330
    Plugin Contributions
    0

    Default Re: How do I edit individual Sideboxes?

    Hello MagicMan
    Trying change the
    the margin in this section
    #bestsellers li (the li stands for listing)

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

    nomad
    I would copy the info then change it and do a save it but don't close the file then do a test if its not right then you can do an undo

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How do I edit individual Sideboxes?

    "I am also running the "BetterCatagories" mod"

    This may have altered the box id, or else it may have styling that overrides #bestsellers ol {}.

    #bestsellers li won't do it if #bestsellers ol doesn't work.

    Look in view source - what are the classes and ids in & around the bestsellers output?

    Or post a link so we can see what to style.

  10. #10
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: How do I edit individual Sideboxes?

    I am running TruBlu template as well. I deleted everything that had to do with BestSellers in the CSS Sidebox area and there was no change.

    Something is overiding this inside the TruBlu template. It looks like crap.

    Here is the Page Source:

    <td id="navColumnTwo" class="columnRight" style="width: 150px">
    <div id="navColumnTwoWrapper" style="width: 160"><!--// bof: bestsellers //-->
    <table width="160" border="0" cellspacing="0" cellpadding="0" class="rightbox" id="bestsellers-table">
    <tr class="rightboxheading" id="bestsellers-heading-tr">
    <!-- Sidebox Header -->
    <td colspan="1" width="20%" class="rightboxheading"><img src="includes/templates/trublu/images/sidebox_icon_catalog.gif" alt="" /></td><td colspan="3" width="100%" class="rightboxheading" id="bestsellers-heading-td">Bestsellers</td>
    </tr>
    <tr>
    <!-- Sidebox Contents -->
    <td colspan="4" class="rightboxcontent" id="bestsellers-content">
    <div id="bestsellersContent" class="sideBoxContent">
    <div class="wrapper">
    <ol>
    Last edited by MagicMan; 17 Jan 2008 at 12:30 AM.
    Thank you, Sincerely, MagicMan

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How do I edit links and pages in sideboxes.
    By Kenichi in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Mar 2009, 01:58 AM
  2. How to edit content of sideboxes?
    By Bruce1952 in forum General Questions
    Replies: 6
    Last Post: 9 Feb 2009, 10:42 AM
  3. Customising Individual Sideboxes
    By cdambati in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Jul 2008, 04:47 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR