WordPress.org

Support

Support » Themes and Templates » [Resolved] How to target category description

[Resolved] How to target category description

  • 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

Viewing 1 replies (of 1 total)
  • paulwpxp

    @paulwp

    Font hero

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] How to target category description’ is closed to new replies.
Skip to toolbar