Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2009
    Posts
    59
    Plugin Contributions
    0

    Default Styling 2-line Category listing in menu?

    I've got a nicely-styled menu, thanks to Categories Dressing.

    I have a couple of top-level categories with longer titles, and the second word of these titles wraps to the next line - BUT - does not indent to line up with the word on the first line.

    You can enter a <br> in the Category title, but you soon run out of typing space. How do you style this second wrapped line so it lines up with the first line of the category listing?

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Styling 2-line Category listing in menu?

    may not know the answer , but link to you site will help

  3. #3
    Join Date
    Mar 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Styling 2-line Category listing in menu?

    The site is not online. Here is a picture of my problem.

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Styling 2-line Category listing in menu?

    Then i suggest, installing firebug extension for firefox and use it to find a correct value and setting in your CSS ..

  5. #5
    Join Date
    Mar 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Styling 2-line Category listing in menu?

    I always use the Web Developer extension to "debug" pages. It turns out that all I had to do to resolve this particular problem was to change the CSS so that the <li> elements are set to "display:block"

    Makes sense, since that's how I wanted the individual <li> elements to be treated.

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Styling 2-line Category listing in menu?

    Glad you resolved this issue . and thanks for posting the solution

  7. #7
    Join Date
    Mar 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Styling 2-line Category listing in menu?

    Here's the code, for someone who wanted to see exactly where to make the changes in the css:

    In the file /includes/templates/yourtemplate/css/stylesheet_categories_dressing.css

    specify the nested <ul> formatting:


    #categories ul a {/*top categories*/
    display: block;

    #categories ul ul a {/*subcategories*/
    display: block;

    That's it.

  8. #8
    Join Date
    Dec 2008
    Location
    Rimini, Italy, Italy
    Posts
    67
    Plugin Contributions
    0

    Default Re: Styling 2-line Category listing in menu?

    I have the same problem (long categories name not indenting).
    In my css I have

    Code:
    #categories ul a {/*top categories*/
    display: list-item;
    
    #categories ul ul a {/*subcategories*/
    display: list-item;
    if I change to

    Code:
    #categories ul a {/*top categories*/
    display: block;
    
    #categories ul ul a {/*subcategories*/
    display: block;
    I lose bullets and categories names still don't indent

    You can see them at www.lineagotica.it

 

 

Similar Threads

  1. v151 Sales message, line by line styling
    By line1 in forum General Questions
    Replies: 3
    Last Post: 22 Oct 2012, 09:11 PM
  2. v139f How do I edit the images/styling of my custom menu bar?
    By dennisysh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 May 2012, 10:22 AM
  3. Menu Category goes to a Product INstead of submenu listing
    By kevinmc3 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 26 Nov 2011, 11:07 PM
  4. Categories Menu Styling Problems
    By jelly46 in forum General Questions
    Replies: 4
    Last Post: 18 Jun 2010, 04:17 PM
  5. Attributes Drop down Menu on Category Listing
    By pholli4 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 Apr 2008, 06:42 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