• Resolved Sevar

    (@sevar)


    Hi! So…If shortly, after last Theme, SEO by Yoast, Contact Form 7 and WP 4.2 updates (after which everything was good) I added one line of CSS code to the Custom CSS field (not to the Child Theme style.css). After that of four pages disappeared background and of some more (but not all) pages changed font from Helvetica to Cantarell. The site.

    Some more read.

    Almost all code I have I have in the Custom CSS field of the Theme (not in the Child Theme style.css which I have) because for some reason my site works only that way. But some of the CSS code I have doubled in the Child Theme style.css I don’t remember why.
    So…Then I purged cache from W3 Total Cache and from the Super Cacher in my host, refreshed Chrome. Nothing changed. Then I noticed that exactly this CSS code which missed in the Child Theme style.css is the ones that responsible for those four pages background. I added those code to the style.css too and again purged cache from W3 Total Cache plugin and from the Super Cacher in my host. Again nothing changed. Then I looked and saw that this BG missed only in Chrome and Opera but with the font is the same thing.

    I don’t know what to do…

Viewing 2 replies - 1 through 2 (of 2 total)
  • simply,
    you can’t use anymore quotes and double quotes in the custom css box, due to new wordpress theme guidelines.
    So you can either remove them from the background rules:
    making this

    .single-post, .blog  { background-image: url(\"https://xn--h1aaaidk2eua0a.xn--p1ai/wp-content/uploads/2013/11/doska.jpg\"); }

    become this:
    .single-post, .blog { background-image: url(https://xn--h1aaaidk2eua0a.xn--p1ai/wp-content/uploads/2013/11/doska.jpg); }
    (should be fine)

    Or if you move these rules to your child-theme style.css you have to remove the escapings making this:
    .single-post, .blog { background-image: url(\"https://xn--h1aaaidk2eua0a.xn--p1ai/wp-content/uploads/2013/11/doska.jpg\");

    become this:
    .single-post, .blog { background-image: url("https://xn--h1aaaidk2eua0a.xn--p1ai/wp-content/uploads/2013/11/doska.jpg");

    Thread Starter Sevar

    (@sevar)

    E-e-e-e-sss!!!! Thank you very much for such a quick and usefull answer! Now everything fine. You my savior!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disappeared background of some pages’ is closed to new replies.