• hello and sorry if this is answered already but i cant find the solution

    I am trying to do a simple color change in a theme but the changes are not saving.
    if i do it trough theme file editor and click update file ,nothing changes and it reverts back to original like i didnt do anything.

    I tried making the edit through file browser ,replacing the file with new one,same thing.

    Even if i delete the file completely ,after i load the page in browser the original file restores itself .

    File is located in theme css folder

Viewing 2 replies - 1 through 2 (of 2 total)
  • It could be caused by a number of things. One thing that could cause it in css if the rule you defined is being truncated by another rule. For example, if something is setting the color using the id and you are setting it by using the a class. The Id will be set regardless

    Also, if the developer of the block used an inline style to define it. It becomes very difficult to override the behavior. The only way to overcome it is by using the !important key word in your style.

    Also, styles can be added in the Theme.json file or in an indpendent css file. The best course of action is to give more information about your theme and provide a url to the site with the problem.

    Thread Starter dado028

    (@dado028)

    Thx for your answer . The only solution is adding custom css through :

    Appearance > Customize > Additional CSS

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changes not saving’ is closed to new replies.