Support » Installation » reducing white space in left sidebar

reducing white space in left sidebar

  • Hi, I am trying to make the links on my sidebar have less space between them, and less space between the link categories. Can someone tell me where to change the css code to do that?


Viewing 2 replies - 1 through 2 (of 2 total)
  • looked at your styles, saw this:
    li {
    padding:0.3em 0;

    the culprit is your padding declaration. quick css 101. you’re using a shorthand version of padding. by only supplyin two values you’re telling browser to repeat these two for the missing values.

    also, the syntax is:

    padding: top right bottom left;

    so an equivalent markup for your statment is:

    padding: 0.3em 0 0.3em 0;

    that’s .3em for top and bottom and 0 for right and left;

    instead do this:

    padding: 0.3em 0 0 0;

    that make sense?

    Hi, Thanks — I tried this – changed it to

    padding: 0.3em 0 0 0

    but when I looked at the page it seemed to be the same. Any other thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘reducing white space in left sidebar’ is closed to new replies.