• Resolved EdieJoMurray

    (@ediejomurray)


    This is a page of the site I’m working on https://www.raypeacock.co.uk/blog/

    As you can see, I want the text of the links in the menu to be white on red, but then the problem is the date on blog posts is also white (and so can’t be seen against the white background

    Is there anything I can do about this, or do all links have to be the same colour?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You should be able to have different colours without a problem!

    I installed a fresh copy of the theme and it was actually showing like that by default (https://monosnap.com/image/LISA8ZTpKb2gEPh7pF3SgJ0tfnREk7)

    Do you have any custom css in there at the moment that might be switching things up a little, or an older version of the theme? From what I can see there’s some css right on your main page that’s making everything the white instead of red ??

    This, for example, is hiding the borders on that area:

    .footer-widget-area, .hentry .entry-meta, .entry-footer {
    /* border-top-color: #ffffff; */
    }
    .widget-title, .main-navigation ul ul li, .hentry .entry-meta, .entry-footer, .error404 .widgettitle {
    border-bottom-color: #ffffff;
    }

    (removing .hentry .entry-meta from those should get those back!)

    Firebug is a great tool for investigating this kind of css stuff ??

    You could change the primary color to something else than white. You have set it to white so the theme changes every element included in the primary set to white, including the part mentioned above by SomewhatRounded.

    If you don’t want to change the primary color, you could simply add this in a custom CSS plugin or a child theme:

    .entry-meta, .entry-footer,
    .entry-meta a, entry-footer a {
        color: #000;
        border-color: #000;
    }

    Thread Starter EdieJoMurray

    (@ediejomurray)

    Brilliant, sorted. Thank you so much for quick replies!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing colour of date on posts?’ is closed to new replies.