WordPress.org

Ready to get started?Download WordPress

Forums

Changing the look of category description text (4 posts)

  1. Gymshoes
    Member
    Posted 8 years ago #

    I have been reading on using The Loop. At http://codex.wordpress.org/Category_Templates I found out how to do Custom Category Page Text. But the "example of the custom category page text" looks much better than what I end up with. (Nice font, nice size, nice color.)

    I added div align="center" (in category.php) to center the category *name* and changed h1 to h2 to make it show up more prominently, so that's OK....But how do I change the way the category *description* looks? It looks exactly like the post text. How do I change the size, font, style, or color of the description text, beneath the category name? (Dropping "strong" or "em" tags into the category.php before and after the description code have no effect.)

    Thanks! :-)

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Can you link us to a post and indicate the exact area of the problem ? It'll make things easier to understand and solve.

  3. Gymshoes
    Member
    Posted 8 years ago #

    No, it's in a password protected directory on a private site. Also, what I'm talking about is not a "post", but the category page (see link in my original post).

    It's not a huge problem...I just want the category descriptions to "stand out" at the top of the page and I don't know how to change the way the description text looks. I did the "custom category page text" as instructed in the link above. I centered the category name and made it bigger, but other than that the mod is the same code as given in the Codex.

    Is there a way--in category.php---to control how the text is displayed in or do I have to do something to my style sheet? (If so, what?) Thanks!

  4. Gymshoes
    Member
    Posted 8 years ago #

    OK...here's what I did...I uploaded a partial screen shot to my own directory. You can see it at: [http://www.gymshoesmusic.us/images/bookshelf.jpg]

    The purple arrow indicates the category title.
    The red arrow points to the category description.
    The black arrow is the title of the first post listed on that category page.

    I want the category description text to look different from the post text below it. I'd like the category description text to be bold and/or slightly larger. How do I do this?

Topic Closed

This topic has been closed to new replies.

About this Topic