• JPecsenyicki

    (@jpecsenyicki)


    [EDIT: It seems that enquequing FONT AWESOME or other things in the child theme FUNCTIONS.PHP file caused the error.]

    Dear Sir or Madam,

    I’m having trouble with Twenty Twenty CSS styles being applied to /WP-ADMIN/ pages.

    When the parent Twenty Twenty theme alone is used, this is not a problem. /WP-ADMIN pages load up their admin styles correctly.

    But, when I use my Twenty Twenty child theme, the Twenty Twenty theme CSS overrides the WP admin styles. (In the link provided, you can see the pale yellow BODY style from Twenty Twenty is being applied to the BODY of /WP-ADMIN/. Which I don’t necessarily object to aesthetically, but the font sizes are extremely small.)

    I suppose I could create a stylesheet for /WP-ADMIN/, but I’d prefer not to go through the work of having to target every element. Particularly since I’m satisfied with the look of the default /WP-ADMIN/ styles.

    (There’s only one !IMPORTANT statement in my child theme, which is mostly unrelated to the styles that I’m seeing in WP-ADMIN. )

Viewing 1 replies (of 1 total)
  • Moderator Felipe Santos

    (@foosantos)

    Hi @jpecsenyicki,

    Do you remember adding custom code/CSS for this theme? My recommendation would be to create a new child theme and see if it works as expected.

    This should never happen unless you load it using the admin hooks.

    You might want to review the changes that you had right before this issue started.

Viewing 1 replies (of 1 total)
  • The topic ‘Twenty Twenty styles are being applied to admin pages’ is closed to new replies.