[resolved] How to target category description (2 posts)

  1. Anne
    Posted 2 years 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


  2. paulwpxp
    Font hero
    Posted 2 years 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

    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