• Resolved John RCR Grant

    (@john-rcr-grant)


    In my sidebar I have selected the recent posts widget and the main font on the post title is fine. However, the post’s date underneath is not at all clear as the font color (light grey) blends in too closely with my chosen background colour.

    How can this be changed? I tried the following but it did not result in any change: .recent_date {color: #000000}

    (as an aside can the background area of the sidebars be easily changed if I wanted to distinguish this from the main content?

    Many thanks,

    John

Viewing 8 replies - 1 through 8 (of 8 total)
  • hannah

    (@hannahritner)

    Hey John,
    Do you mind posting a link?

    Hannah

    Thread Starter John RCR Grant

    (@john-rcr-grant)

    Here is a link to one of the pages with a sidebar as noted above:

    https://www.cruachanphotography.com/gallery/

    John

    hannah

    (@hannahritner)

    Try adding css like this:

    .sidebar {
      background-color: #f5c01b;
      padding: 5px;
    }

    Just paste that in your custom css box in theme options > advanced settings.

    Hannah

    Thread Starter John RCR Grant

    (@john-rcr-grant)

    I have changed the background color and this works fine (only I had to then change the hover color).

    If the client was wanting the sidebar not to stand out, can the colour of the date details in the sidebar (as per original query) be changed?

    Thanks for your help to date.
    John

    hannah

    (@hannahritner)

    You can make the background color a lighter color so it doesn’t stick out as much. Or you can change the color of the date with css but you would need to remove maintenance mode for me to see.

    Hannah

    Thread Starter John RCR Grant

    (@john-rcr-grant)

    Thanks for getting back Hannah, I do understand that the background color can be varied using the code provided and thank you for that.

    I have disabled maintenance mode for you to go in and check the code so that I may be able to change the font color itself.

    Thank you,

    John

    hannah

    (@hannahritner)

    Try adding this css:

    .sidebar .kadence_recent_posts .recentpost_date {
      color: #fff;
    }

    Hannah

    Thread Starter John RCR Grant

    (@john-rcr-grant)

    Brilliant Hannah, that works just perfect. Excellent support once more, can feel a premium purchase coming on.

    Have a good week,

    John

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘font colour for date on recent posts widget – sidebar’ is closed to new replies.