• [moderated]

    So, now I need to fix a WordPress header.

    How can I change the font of the WordPress header? I tried via WordPress 4.1 GUI, then via code in WordPress > Appearance > Editor > header.php.
    Curiously, header.php doesn’t seem to have its fonts controlled by style.css, where I tried to change the font style?

    Side note: All the WordPress HTML code automatically generated from GUI, was a mess in the code files.
    I had to manually indent everything to make it readable.

Viewing 5 replies - 1 through 5 (of 5 total)
  • No idea – what theme are you using and generally you need to post a link to a site.

    Thread Starter eiger3970

    (@eiger3970)

    Sorry, I’m not allowed to post the website publicly.
    The theme is a customised theme.
    I’m happy to post code, however this WordPress forum doesn’t seem to be able to handle code?
    If I use dpaste, the code disappears after a week or so.

    Hard to help with a CSS question without seeing the site – especially for a theme that’s not available here. Generally, these forums only support themes that are from this site, BTW. I’d suggest you use a browser tool like Firebug to look at the CSS for that element

    https://getfirebug.com/css

    https://www.w3schools.com/css/

    Then ADD that code to a custom CSS section or to a child theme if you set that up – and make the change there.

    Thread Starter eiger3970

    (@eiger3970)

    Thanks, Chrome Inspect element works fine.
    The problem seems to be WordPress and my confusion in seeing what the GUI controls do to the backend.
    Very difficult to see where files are linked such as header.php and perhaps style.css.
    I would prefer some type of git service where I can just pull the WordPress page and work on it with CLI.

    I guess WordPress can’t help me then as it’s a customised WordPress page.
    Thanks for the help.

    Generally, you should be able to just copy that piece of code from Chrome Inspect to a child theme style.css file or a custom CSS plugin – it will override the existing CSS to change how the site displays.

    Or if it’s a theme that won’t be updated, you can add it to the bottom of the style.css file (should be visible under Appearance > Editor).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress Post not showing website's correct top header’ is closed to new replies.