• Resolved adalisa

    (@adalisa)


    I’ve tried everything. Changed the permissions in index.php both in my theme, the theme’s directory and wp-content and nothing happens. It’s still not accepting my changes. What can I do?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you please post a link to your site? What did you try changing? What theme are you using?

    Just as a note of caution: you should not be making changes to the theme files directly. If the theme gets updated because of feature enhancements, bug fixes, or security patches, or if the theme has to be updated because of a change to the WordPress core, then your changes will be lost. Instead, either create a child theme and make changes to the child theme’s style.css file, or use a CSS plugin like Jetpack or Custom CSS Manager and write your overriding rules that way.

    Thread Starter adalisa

    (@adalisa)

    My site is https://comics.oubilettestudio.net

    I am trying to change the custom css page to add the thumbnails of my characters through comic easel. According to a tutorial, I need to add
    .character-slug{
    background: url(‘thumbnail location’) top center no-repeat;

    for each character in the CSS Stylesheet Editor which I think it’s the one from jetpack, I’m not sure since I don’t remember how I ended up adding it in the first place.

    I could add the first thumbnail without problem, but the rest of the changes are not being saved by it.

    Thread Starter adalisa

    (@adalisa)

    I have realized that it is the jetpack plugin I’m using. It only lets me add 2 lines of css, period. Anymore, and they don’t get saved.

    That’s very strange, I’ve never had any problems with the number of lines that JetPack allows me to save. Can you try installing Custom CSS Manager? It’s the CSS plugin that I use most often and it’s pretty reliable.

    Thread Starter adalisa

    (@adalisa)

    Hi, thanks. Just tried that. Now it saves the code, but it still doesn’t display the images. I’d think it’s a theme problem if it wasn’t because I’ve seen others do exactly what I want it to do.

    OK, the problem is that you are leaving the closing right-brace } off your CSS rules. For example, change this:

    .character-maria {
       background: url('https://comics.oubilettestudio.net/wp-content/uploads/2015/01/Maria.jpg') top center no-repeat;

    to this:

    .character-maria {
       background: url('https://comics.oubilettestudio.net/wp-content/uploads/2015/01/Maria.jpg') top center no-repeat;
    }

    Once you add the ending right brace on all of the rules, you should see your images. Maybe that’s why JetPack wouldn’t let you save more than two lines, because you were missing the right brace from the first rule.

    Thread Starter adalisa

    (@adalisa)

    Oh, thank you!

    I copied the code straight from the tutorial, never realized that there was a bracket missing.

    That solved the issue, thank you very much.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CSS Stylesheet editor not saving changes.’ is closed to new replies.