WordPress.org

Ready to get started?Download WordPress

Forums

Montezuma
How to make the categories list one per line ? (3 posts)

  1. adithyasaran
    Member
    Posted 1 year ago #

    how to give the categories list in the sidebar as single (one) per line ? as i am observing two per line now.

  2. chicdesigngeek
    Member
    Posted 1 year ago #

    Can you post a link to your site so I can take a look?

  3. CrouchingBruin
    Member
    Posted 1 year ago #

    You can alter the appearance of any element on the page through the virtual CSS files (Appearance > Montezuma Options > CSS Files).

    In your particular case, you want to edit the widgets.css options. Look for these lines (scroll down, almost to the bottom of the file):

    /* 2 columns for widgets that usually have rather short links
    and are (or can be: categories) displayed as flat list */
    .widget_categories > ul > li,
    .widget_archive li,
    .widget_meta li {
    	float: 					left;
    	width: 					50%;
    }

    Just remove the first selector (.widget_categories > ul > li,) so it looks like this:

    /* 2 columns for widgets that usually have rather short links
    and are (or can be: categories) displayed as flat list */
    .widget_archive li,
    .widget_meta li {
    	float: 					left;
    	width: 					50%;
    }

    Your category listings in the widget should now be a single column, rather than two columns.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic