WordPress.org

Ready to get started?Download WordPress

Forums

How to target category description (2 posts)

  1. mellissaa
    Member
    Posted 1 year ago #

    Hey I would like to style the category description on the category archive pages differently than just the normal paragraph style

    just wondering how to target the category description in the style.css file

    ive tried a number of things but nothing seems to work

    http://www.thecraftyfrugaler.com/?cat=7

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    Put this in down under child stylesheet, it will get you the idea.

    .category .page-title { background: red; }
    
    .category .page-title span { background: yellow; }
    
    .category .category-archive-meta { background: lightblue; }
    
    .category .category-archive-meta p { font-size: 30px; }

    If not already yet, please review the usage of @import in child theme
    http://codex.wordpress.org/Child_Themes

    When the parent style is used in child and directly edited, it's hard to debug and work on. And when the parent theme updates its stylesheet with a fix or two for some browser bugs or whatever enhancements, you will never get that update.

Topic Closed

This topic has been closed to new replies.

About this Topic