Forums

[resolved] Safe to rename custom theme folder? (4 posts)

  1. ridiculousname
    Member
    Posted 2 years ago #

    Hello there,

    I've created a custom theme folder which I just called Default2. A pretty ugly theme name.

    Is it safe to just rename my theme folder to something else? Will it break my site?

    Thanks,

  2. Edward Caissie
    Member
    Posted 2 years ago #

    The name of a theme is controlled by its style.css file. You can change the folder name to most anything you would prefer, with a strong suggestion to change to the "Default" theme first.

    That is, activate the Default theme; rename your "custom" theme folder; then re-activate your "custom" theme. Changing active theme file names or the active theme folder name can lead to some very odd issues ... like the "white screen of death" ;)

  3. ridiculousname
    Member
    Posted 2 years ago #

    It works! Thank you cais!

  4. Edward Caissie
    Member
    Posted 2 years ago #

    You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic