• Resolved Info Broker 1

    (@info-broker-1)


    Why do code snippets added to the Customizer’s Additional CSS NOT show up in the WordPress Theme Editor?

    What will Render a website faster:

    1. adding CSS changes to the Customizer, or

    2. adding CSS changes to the Admin’s Theme Editor?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    appearance->editor edits the theme’s style.css.

    The customizer adds CSS differently.

    This is good because style.css gets overwritten when the theme is updated, but the custom CSS, which lives elsewhere, is not affected.

    What’s faster? I can’t imagine it makes any difference.

    Thread Starter Info Broker 1

    (@info-broker-1)

    Thank you, Steve…

    Do you know if there would be an advantage in adding code to both locations if I use a Child Theme?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    In a child theme, use the child’s style.css file.

    Thread Starter Info Broker 1

    (@info-broker-1)

    I’m currently doing that using the Child Theme Configurator plugin. I have the option to add my CSS changes to a tab in the plugin’s settings (in which case they are also added to the Theme Editor), or only add them to the Customizer’s Additional CSS setting (in which case they are NOT added to the Theme Editor).

    I was just wondering if there are advantages of currently retaining copies of my CSS Changes in the Theme Editor (or is WordPress going to do away with the Theme Editor for some reason)?

    • This reply was modified 8 years, 3 months ago by Info Broker 1.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What you call the ‘theme editor’ in appearance->editor edits the active theme’s files (style.css). It’s NOT the same as the styles you enter via the customizer. There’s no need to use both.

    Thread Starter Info Broker 1

    (@info-broker-1)

    Thank You…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Customizer Custom CSS vs Theme Editor’ is closed to new replies.