Results 1 to 9 of 9

Hybrid View

  1. #1

    red flag How to align text in side category box. Hard to read them.

    I am working on www.jaylyns.com and trying to realign the categories in the side box. Some categories are really long and wrap to the next line but align with main category. At first glance it looks like the wrapped text are the categories. Does anyone know how to make this look more presentable and less confusing to the custoemrs. Thanks for your help.

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: How to align text in side category box. Hard to read them.

    Quote Originally Posted by jaylyns View Post
    I am working on www.jaylyns.com and trying to realign the categories in the side box. Some categories are really long and wrap to the next line but align with main category. At first glance it looks like the wrapped text are the categories. Does anyone know how to make this look more presentable and less confusing to the custoemrs. Thanks for your help.
    includes/ templates/ your_template/ css/ stylesheet.css

    Add the following declaration if not found in the sheet.
    1. #categories a {display: block;}

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

    Default Re: How to align text in side category box. Hard to read them.

    Be aware that this has a side effect: block display will combine with the <br /> coded into tpl_categories.php to put an extra space between categories. You can either edit /includes/templates/your_template/sideboxes/tpl_categories.php to remove the <br />, or you can install Categories Dressing which does this and much more.

  4. #4

    red flag Re: How to align text in side category box. Hard to read them.

    That did not fix this. It still does not indent the word wrap on long categories. Any other ideas? Please help.

  5. #5
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: How to align text in side category box. Hard to read them.

    Quote Originally Posted by jaylyns View Post
    That did not fix this. It still does not indent the word wrap on long categories. Any other ideas? Please help.
    J,
    Resize your side box back as before, I am working on the fix please..

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

    Default Re: How to align text in side category box. Hard to read them.

    Block display is not meant to indent text by itself; it makes the text a block element that can have spacing and other styling applied to it.

    You can make the categories spaced so that it is clear which is which, and do whatever indenting or outdenting you want.

  7. #7

    Default Re: How to align text in side category box. Hard to read them.

    Got it looking much better. Thanks for all your help. One question though. Is there a way to have different bullets for different levels of subcategories? Thanks again.

 

 

Similar Threads

  1. Side by side read-only attributes... possible? how?
    By cosmocanuck in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 29 Jun 2010, 07:17 PM
  2. How can I change the maxlength in an attrib read only text box?
    By garyh357 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Oct 2009, 11:23 PM
  3. text hard to read
    By stalb33 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Nov 2008, 02:44 AM

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