[resolved] How to change post title colour on homepage (5 posts)

  1. goalnetZ Steve
    Posted 2 years ago #


    I'm looking to change the colour, etc. of the post titles on the homepage that are shown below the post image.

    I believe the CSS class for these post titles is h2.entry-title, but I can't seem to change the colour with whatever CSS I use.

    Can anybody offer any advice on this?

    Many thanks.

  2. JanHoekdotCom
    Posted 2 years ago #

    Put !important behind the color code

    h2.entry-title [
    color: #333333 !important;
  3. esmi
    Forum Moderator
    Posted 2 years ago #

    Do not edit the theme itself. First create a child theme for your changes. Or install a custom CSS plugin.

  4. goalnetZ Steve
    Posted 2 years ago #

    Thanks JanHoekdotCom. Unfortunately that didn't work on my website for some reason. I can change the background-color fine but the color of the font will still not change.

    Thanks also esmi, although I already use a custom CSS plugin for any modifications.

  5. goalnetZ Steve
    Posted 2 years ago #

    Figured it out. The following CSS can be used to change the colour of the post title links on the homepage:

    #primary-main h2.entry-title a {
    	color: #F6F6F6;

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic