• Resolved mhorst

    (@mhorst)


    I’ve set up a Child Theme running adapted versions of page.php and front-page.php.

    I’m struggling to find the controlling CSS for the featured pages header and widget boxes to enable a font and background change. (Eg to change the header font from black to red).

    Could anyone point me in the right direction?
    Tx

    • This topic was modified 7 years, 8 months ago by mhorst. Reason: submitted to soon!
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    To target entry-title on the featured pages section, please try using:

    .featured-page .entry-title, .featured-page .entry-title a {
        color: #ff0000;
    }

    If you want to target the widget titles in the footer, the css would be:

    .footer-widget-area .widget-title {
        color: #ff0000;
    }

    To target widget titles in the sidebar of pages and posts, the css would be:

    #secondary.widget-area .widget-title {
        color: #ff0000;
    }

    The css can be added to the style.css file in the child theme, or via the customizer in Appearance > Customize > Additional CSS.

    If the css doesn’t work, or if those are not the items you want to target, please post a link to your site.

    Thanks ??

    Thread Starter mhorst

    (@mhorst)

    Thanks Gary
    this is exactly what I was looking for.

    You’re welcome, glad I could help ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Widget and Entry Title’ is closed to new replies.