Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Categories Sidebar - Text Indentation?

    Hi guys,

    Slight change I want to make, am sure its a stylesheet one, but I simply do not know how to do it. I apologize in advance as I am sure its been asked many times but I cant find the thread!

    On my homepage:

    http://www.realfairtrade.com/

    I want the second line of any product categores to be indented to align with the above line...

    Can someone point me in the right direction please? Also any site comments suggestions would be very welcome...

    Steve
    Steve
    Site Under Construction: adatglobal.com

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

    Default Re: Categories Sidebar - Text Indentation?

    In your stylesheet_betterCategoriesEZInfo.css, separate out the "categoeries" selectors into their own rules, and add properties:
    Code:
    .betterCategories {
    	border-top: 1px solid #FFFFCB;/*change to 2px if you want the same thickness as before*/
    	background-color: #C1DCBE;
    }
    
    .betterCategories a, .betterCategories a:visited {
    	display: block;
    	background-color: #C1DCBE;
    	margin-left:1.4em;
    	padding: 0.4em;
    	text-indent: -1.4em;
    }
    If you want the same effects on all the sideboxes involved, just put these properties in the original rules.

  3. #3
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Categories Sidebar - Text Indentation?

    Thanks Glenn,

    Appreciate it...
    Steve
    Site Under Construction: adatglobal.com

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

    Default Re: Categories Sidebar - Text Indentation?

    BetterCategories does not actually make a list with a bullet and indented text, it just inserts an image into the beginning of the category name output. Mostly similar results, but you can't specify "list-style: outside;" on it, you have to trick the margin/indent.

 

 

Similar Threads

  1. No Sub Categories in the Categories Sidebar
    By schwarzes in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 30 Jul 2010, 02:16 PM
  2. text indentation-categories box
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 16 Jun 2010, 12:53 AM
  3. Resizing Information Sidebar text
    By sweetharvey in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Jul 2009, 07:29 AM
  4. Changing Categories Sidebar Widget
    By enigmabomb in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Jan 2008, 10:17 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