• Resolved Vesela

    (@vesela)


    Hi everyone,
    I’m sorry if I don’t publish title in the right topic or if there already is the same title.
    My question is about how (if I can) to change color of the header of the pages. I don’t want it to be black.
    I’m using Twenty Eleven theme.
    Thanks in advance for help.

    [No bumping, thank you.]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Vesela

    (@vesela)

    Hi again,
    I really want to know how (if I can) to change color of the titles of the pages
    Please help ??
    Thanks

    Thread Starter Vesela

    (@vesela)

    https://www.apteki-kazanlak.com is the site that I’m trying to make changes in coloring

    Try this at the very end of your style.css file in wp-content/themes/twenty-eleven/, it will overload the default CSS styling of the theme for titles to the green used in your logo. Change the hex colour reference (#00573e) to the colour you require:

    /* =Custom styling
    ----------------------------------------------- */
    
    .singular .entry-title {
    	color: #00573e;
    }

    You should NOT modify theme files (@jonnyauk – please do not give that kind of advice to people) – you should be using a Child Theme or custom CSS plugin for any kind of changes like this. Otherwise your changes will be lost when WP is updated.

    Fair comment @wpyogi and good point! However, I don’t believe that during a WordPress core update it will touch the theme files – it updates core files. This would only be initiated if the user ran the update on the theme.

    Either way, creating a child theme is certainly the safest route and is good advice… sorry!

    Thread Starter Vesela

    (@vesela)

    Thanks for advices ??
    I’ll try to create a child theme, but how?
    I have read а https://codex.www.ads-software.com/Child_Themes but I still need some interpretations about that how to create it, what it must contain and how to activate it…

    Thanks in advance ??

    Vesela – the instructions on the codex page – https://codex.www.ads-software.com/Child_Themes – are fairly clear, just slowly take it step by step and experiment. The advice from WPyogi is right – this is the best way to do theme modifications and still allow you to update the ‘parent theme’ without loosing your changes.

    To activate a child theme, you do it in just the same way as any other theme – go to ‘Appearance -> themes’ in the admin area and click the ‘activate’ link.

    Thread Starter Vesela

    (@vesela)

    Hi,
    Thanks for explanations.
    I think I’ve found easier way to do it – I’ve installed a plugin Font ??

    Have a smiley week ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Coloring headers of pages’ is closed to new replies.