• So I have added an <h3><?php the_category(); ?></h3> in the header to single.php so that I have an h3 header above each post h2 title so there is a semi transparent box there which relates to the h3 and the listing of the category of the post “blog”. But, I cannot find the css style specific to the category listing in style.css. I want to get rid of the 1px gray line beneath and change the font color and underline of the h3 used for the category. I have scanned through the style.css until my eyes hurt and have tried changing out anything relative by trial and error, but I cannot pinpoint where its drawing that specific styling used in the h3 for <h3><?php the_category(); ?></h3>. The other h3 styles for widget titles is what I want for the individual post’s category titles. Can anyone pinpoint the where its pulling the style form.
    Thanks for any help or advice!!!
    Lol, here is the style sheet below if anyone wants to take a look…
    Here is a url to a post with the issue…
    href=”http://www.gamesforconsciousness.com/blog/gfc-campaigns-for-development-funding-2/

    [ xxxl stylesheet removed — anyone who knows enough css to help should know how to see the stylesheet in place on your site ]

Viewing 1 replies (of 1 total)
  • It’s the h3 tag on line 57 of style.css. All those styles are set for the sidebar headings. The code that you added is the same code using for the sidebars — so it actually added a list as the heading — look at the rendered HTML — that may or may not be what you want there.

    You’d need to add a more specific CSS selector to separate the styles from the sidebar ones…i.e.

    #sidebar h3 {...
    or

    #content h3 { ...

    Try using Firebug to work with CSS — it will show you exactly the CSS affecting a specific element on a page.

Viewing 1 replies (of 1 total)
  • The topic ‘Question regarding Category Titles Styling and Posts’ is closed to new replies.