• brownbag24

    (@brownbag24)


    I see that some WordPress themes have a Custom CSS section where we can enter our own CSS code. My question is, what is the difference in using this to modify CSS Vs. opening the style.css file from the editor and modifying that directly?

    I understand that if we want to modify css code, it is best practice to create a child theme, then modify the CSS on the child theme instead of the parent. So if we create a child theme, then the what is the need to use the CSS custom editor that comes with some themes? I would imagine that we are “safe” to go ahead and modify the style.css directly in the child theme.

    Thoughts?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    So if we create a child theme, then the what is the need to use the CSS custom editor that comes with some themes?

    for those themes, if you only want to customize the CSS, you won’t need to create a child theme.
    if you create a child theme, you can edit style.css of the child theme, however, make sure that style.css actually gets loaded.

    Thread Starter brownbag24

    (@brownbag24)

    Thanks. So if we only customize the CSS using the custom editor that comes with some themes, then when we update the theme to a newer version, we don’t need to worry about possibly losing the customizations?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Modifying CSS Code Best Practice?’ is closed to new replies.