The Hex Colour Appears Differently

  • Unknown's avatar

    Hi there,

    I’m trying to customise the text colour of the ‘Truly Minimal’ theme by inputing the Hex colour code. The circle above the colour picker displays the colour I want correctly but the actual text in the blog is darker.

    It appears as though you can’t use any lighter colours in the blog appearance.
    I’m trying to match the font to my header image and would like to use the colour #f1ae8f

    I have spent days looking for a solution to my problem so any help is much appreciated!

    Kind regards,
    Sara

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi Sara!

    Putting this code under Appearance -> Customize -> CSS should do the trick:

    p {
    	color: #f1ae8b;
    }

    That will change the paragraph text color to the hex code you mention. Can you give that a try?

  • Unknown's avatar

    Hi Jeremy,

    Thank you so much for your help.

    That worked perfectly to change the paragraph text color but how do I change the nav bar/ header colors?

    Thanks again!

    Sara

  • Modify the style Jeremy gave you to the following so you have the same color for your paragraph text and the menu items.

    p, #site-navigation > div.menu > ul > li > a {
    color: #f1ae8b;
    }

    You might want to add the following style if you wish to color the currently selected menu item differently. Change green to whatever color you wish.

    #site-navigation > div.menu > ul > li.current_page_item > a {
    color: green;
    }`

  • Oops, missed the formatting for the second style.

    #site-navigation > div.menu > ul > li.current_page_item > a {
    color: green;
    }
  • Unknown's avatar

    Hello!

    Thank you so much! It has worked. Yay!

    Sara

  • Unknown's avatar

    Thanks staff-happychia!

  • The topic ‘The Hex Colour Appears Differently’ is closed to new replies.