Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: How to modify categories sidebox list

    I tried this selector.
    For example this code

    a.category-top{
    background-color: red;
    colorink;
    font-size: 19px;
    margin-top: 10px;
    }

    reacts only for background, color and size but margins stay fixed, this is maybe links can't have margins but if I add display: block it drops what is left after link to another line.

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

    Default Re: How to modify categories sidebox list

    The display: block; will have that effect if you do not remove a <br /> that is coded into tpl_categories.php (the <br /> is necessary for the ordinary categories arrangement).
    Inline elements do not react to margins.

    You may want to use Categories Dressing, as this is set up for block-type display already. You can turn off or not use any of its features you don't need.


    If you don't want the effects of block display, you might try adding
    line-height: 2em;
    to the declaration (adjust as required).
    Last edited by gjh42; 6 Dec 2007 at 09:33 PM.

  3. #3
    Join Date
    Dec 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: How to modify categories sidebox list

    Well then I'll try to look at this categories dressing tool.

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: How to modify categories sidebox list

    Quote Originally Posted by gjh42 View Post
    If you don't want the effects of block display, you might try adding
    line-height: 2em;
    to the declaration (adjust as required).
    Once again.. Glenn is my savior.. I was driving myself nuts, and went looking for what I KNEW was a simple answer.. **sigh**

    Man I need to go to bed.. This was too simple.. If I wasn't working on 3 hours of sleep it might have come to me.. But anywhoo.. Thanks Glenn.. again..

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

    Default Re: How to modify categories sidebox list

    You need to open your css file
    look for this
    #navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
    margin: auto;
    }
    and do this

    #navColumnTwoWrapper, #mainWrapper {
    margin: auto;
    }

    #navColumnOneWrapper{
    margin: your size here .px;
    }

    nomad

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

    Default Re: How to modify categories sidebox list

    Umm, what will that accomplish? (relevant to the OP)


    I just tested the line-height, and it does work in a stock categories box.
    Last edited by gjh42; 6 Dec 2007 at 09:47 PM.

  7. #7
    Join Date
    May 2006
    Posts
    321
    Plugin Contributions
    0

    Default Re: How to modify categories sidebox list

    There is a nice mod for better styling your categories...

  8. #8
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: How to modify categories sidebox list

    Quote Originally Posted by digidiva-kathy View Post
    There is a nice mod for better styling your categories...
    I was just wondering if that still works with v1.37 as I need the mouseover effect it gives for a client.

    betty

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

    Default Re: How to modify categories sidebox list

    I don't know what particular mouseover effect you are wanting, but you don't need a whole mod (BetterCategories or Categories Dressing) to get hover effects.

    You can style things in your stylesheet like a.category-top:hover {color: #aabbcc; font-weight: bold; background-color: #112233; etc.}.

    What effect did you want?

  10. #10
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: How to modify categories sidebox list

    I wanted the effect that looked like each category line has that look of "horizontal window blinds". I am having a brain cramp coming up with the term, but the EZcategories mod does it, I just wasn't sure if it was 1.37 compliant.

    So while waiting for a reply, I downloaded it, and installed it just for the categories and information boxes and it still works. So once I got rid of the pointer images and put my colors into the style sheet, I got the exact look I needed.

    I will copy down what you suggested though for times I don't need the "full frontal assault" weapon for a client though..lol

    thank you!

    betty

 

 

Similar Threads

  1. How do I modify the Categories box?
    By arran in forum General Questions
    Replies: 3
    Last Post: 13 May 2011, 04:21 PM
  2. how do i modify product info in All Products list?
    By jadedev in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 May 2011, 02:10 PM
  3. How to modify order of categories
    By dd99 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Jan 2009, 12:48 AM
  4. How can I modify the country list?
    By rstevenson in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Mar 2007, 12:48 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