• Resolved jpmaximilian

    (@jpmaximilian)


    I added a custom template page to my theme, and now whenever I edit that page in wp admin, the font size of the entire wp-admin page changes. It’s kinda of annoying, why does this happen?

Viewing 4 replies - 1 through 4 (of 4 total)
  • just a guess, but you are probably loading another stylesheet. Look at your source and see.

    save the page you are on to your desktop, and validate it using this

    https://validator.w3.org/#validate_by_upload+with_options

    Thread Starter jpmaximilian

    (@jpmaximilian)

    It seems like that would be the case, but I saved header.php from the template to the desktop and then renamed it and uploaded it without changing anything and it still happens.

    Thread Starter jpmaximilian

    (@jpmaximilian)

    Additionally, I notice that “page.php” is listed as Page Template. So there must be some other file telling wordpress how to display these files.

    Thread Starter jpmaximilian

    (@jpmaximilian)

    I added:

    <?php
    /*
    Template Name: Archive Header
    */
    ?>

    I’m guessing if a filename is recognized as one of the standard ones by wordpress, you have to add this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding custom template changes font size’ is closed to new replies.