Support » Themes and Templates » CSS class in sidebar doesn’t exist in style.php

  • I am puzzled why some css classes in my blog page do not exist in style.php, and cannot be found anywhere.

    Example:
    <li class=”page_item” exists in page source – sidebar section, but this item cannot be found in style.php, yet the page is pulling all it’s css styles from
    wp-content/themes/default/style.css. Where it’s getting this style is a mystery since there is no such class in style.php.

    http://www.beyourowndetective.com/blog

Viewing 4 replies - 1 through 4 (of 4 total)
  • Style.css – not style.php 🙂
    Anyway, that’s just a pleasant (Christmas?) gift from the developers: so that you can style the Pages list in your sidebar. Even more, if you look at the source of a Page, you’ll see current_page_item besides the page_item >> so you can highlight the Page where you are…
    By default it is NOT in the stylesheet, but you can use it.

    Opps – I meant style.css. What I specifically want to do is increase the font sizes of what’s in my sidebar. It’s so tiny now, it’s hard to read.

    If this is your question, why are asking something else? 🙂

    Find this in your stylesheet:
    #sidebar ul ul li, #sidebar ul ol li {
    margin: 3px 0 0;
    padding: 0;
    }

    and add a font-size line, e.g.
    1#sidebar ul ul li, #sidebar ul ol li {
    margin: 3px 0 0;
    padding: 0;
    font-size: 112%;
    }`

    Moshu,
    I got it working. I tried adding font-size: 10pt to the sidebar code and that did the trick. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS class in sidebar doesn’t exist in style.php’ is closed to new replies.