Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    25
    Plugin Contributions
    0

    Default Text wrap problem with subcats in category sidebox

    Working on buyhanwei.com, running 1.3.7.1.

    Having a minor problem...two of the "Japanese" subcategory names, "Performance Series" and "Tamahagane Steel," are too long and wrap. As you can see, they wrap around to the same alignment as the top level categories. This looks somewhat confusing.

    How can I get the second word of these subcats to be aligned with their first word?

    I've looked for an answer to this but it seems that everyone has been asking similar - but not the same question. Thanks!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Text wrap problem with subcats in category sidebox

    Not an answer to aligning them but try this

    admin > config > Layout Settings > Column Width - Left > increase to say 180-200

    and then

    admin > config > Layout Settings > Column Width - Left Boxes > a like increase as above
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Text wrap problem with subcats in category sidebox

    Good suggestion, thanks. Fixed the problem. However, I imagine others are running into this, and for those using left and right sideboxes and needing to maximize space in the middle, hopefully there is a fix which will allow for smaller column widths.

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

    Default Re: Text wrap problem with subcats in category sidebox

    I don't think there is an effective dynamic fix, short of revamping tpl_categories.php to use actual <ul> lists. It would be possible to fix in the stylesheet and admin without altering PHP files *if* you had no more than one level of subcategories.

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

    Default Re: Text wrap problem with subcats in category sidebox

    One thing you can do is distinguish top cats from subcats by font style/size/color, background color, etc.

  6. #6
    Join Date
    Mar 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Text wrap problem with subcats in category sidebox

    Quote Originally Posted by gjh42 View Post
    One thing you can do is distinguish top cats from subcats by font style/size/color, background color, etc.
    Another good suggestion, thanks.

    I don't plan on having more than one level of subcategories, can you elaborate on your stylesheet fix?

    Kobra's solution worked fine for me on this template, but I'm sure others who are using both columns could use the extra room and fix through the stylesheet...

 

 

Similar Threads

  1. Category Sidebox keep Parent Cat/Subcats open?
    By mteipe in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Aug 2010, 12:47 AM
  2. Avoiding text wrap with css
    By budfox in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Feb 2010, 02:35 PM
  3. Truncate instead of wrap category names in sidebox
    By pharry in forum General Questions
    Replies: 3
    Last Post: 12 Jul 2009, 09:22 PM
  4. Information sidebox word wrap problem-TruBlue Template
    By Ecable in forum Addon Templates
    Replies: 0
    Last Post: 15 Feb 2009, 05:31 PM
  5. Weird Text Wrap Problem in Review Text area...
    By Peace Freak in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 11 Oct 2006, 12:50 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