If your site is using https, then the URL in the CSS must also be https, not http.
When I look at your site, all I see is a coming soon page. Please remove that if you want help with the CSS.
Thank you. Just removed the coming soon page!
Hope you can help me with the CSS now.
-
This reply was modified 8 years, 1 month ago by
trentyseb.
The background seems OK, but
Mixed Content: The page at 'https://proinprivacy.nl/' was loaded over HTTPS, but requested an insecure image 'http://proinprivacy.nl/wp-content/uploads/2018/03/PIP-Logo-2.png'. This content should also be served over HTTPS.
(index):108 Mixed Content: The page at 'https://proinprivacy.nl/' was loaded over HTTPS, but requested an insecure image 'http://proinprivacy.nl/wp-content/uploads/2018/03/PIP-Logo-2.png'. This content should also be served over HTTPS.
(index):108 Mixed Content: The page at 'https://proinprivacy.nl/' was loaded over HTTPS, but requested an insecure image 'http://proinprivacy.nl/wp-content/uploads/2018/03/PIP-Logo-2.png'. This content should also be served over HTTPS.
(index):108 Mixed Content: The page at 'https://proinprivacy.nl/' was loaded over HTTPS, but requested an insecure image 'http://proinprivacy.nl/wp-content/uploads/2018/03/PIP-Logo-2.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://proinprivacy.nl/' was loaded over HTTPS, but requested an insecure image 'http://proinprivacy.nl/wp-content/uploads/2018/03/Dots-1.png'. This content should also be served over HTTPS.
(index):494 Mixed Content: The page at 'https://proinprivacy.nl/' was loaded over HTTPS, but requested an insecure image 'http://proinprivacy.nl/wp-content/uploads/2018/03/PIP-Logo-2.png'. This content should also be served over HTTPS.
jquery.js:4 Mixed Content: The page at 'https://proinprivacy.nl/' was loaded over HTTPS, but requested an insecure image 'http://proinprivacy.nl/wp-content/uploads/2018/03/PIP-Logo-2.png'. This content should also be served over HTTPS.
attr @ jquery.js:4
jquery.js:4 Mixed Content: The page at 'https://proinprivacy.nl/' was loaded over HTTPS, but requested an insecure image 'http://proinprivacy.nl/wp-content/uploads/2018/03/PIP-Logo-2.png'. This content should also be served over HTTPS.
attr @ jquery.js:4
jquery.js:4 Mixed Content: The page at 'https://proinprivacy.nl/' was loaded over HTTPS, but requested an insecure image 'http://proinprivacy.nl/wp-content/uploads/2018/03/PIP-Logo-2.png'. This content should also be served over HTTPS.
attr @ jquery.js:4
jquery.js:4 Mixed Content: The page at 'https://proinprivacy.nl/' was loaded over HTTPS, but requested an insecure image 'http://proinprivacy.nl/wp-content/uploads/2018/03/PIP-Logo-2.png'. This content should also be served over HTTPS.
Install the plugin “better search replace”. Search for http://proinprivacy.nl and replace with https://proinprivacy.nl
Replaced all.
But it didn’t work for the background. It’s the .def_section where I want the pattern as background but if I try to change this section with CSS nothing changes.
.def_section, blockquote {
background: #ff0909;
}
.def_section, blockquote {
background: #ffffff;
background: url(https://proinprivacy.nl/wp-content/uploads/2018/03/Dots-1.png);
}
To add CSS: use the “Additional CSS” option in the customizer. https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress
Learn to use the Chrome Developer Tools to help you see and test changes to your CSS.
That worked. Thanks a lot!!
Can you also explain why it works via Extra CSS but it doesn´t via the Custom CSS plugin=