Transparent text background
-
How can I change sites text color to white and set text background to transparent for my posts and pages?
The blog I need help with is: (visible only to logged in users)
-
Hi there, let’s start with this and then go from there. I think this gets everything, but the Writr theme is a bit different and more complex.
.content-area, #page::before, body::before, .entry-content .sharedaddy:last-of-type, .entry-summary .sharedaddy:last-of-type, .entry-title, .entry-thumbnail { background-color: transparent; } .content-area, #page .entry-content h3.sd-title, .entry-title, .entry-title a, .content-area h1, .content-area h2, .content-area h3, .content-area h4, .content-area h5, .content-area h6 { color: #fff !important; } .entry-title::after { border: none; } -
This is awesome, thank you so much! Writr theme is a bit more complex I agree, but it’s perfect on this project for me. This code works fine, but as I apply it I feel I need to tweek up a thing or two. So for instance if I wanted to change post title color to yellow or red without affecting the rest of the text how would you suggest to do that?
-
Add this to your custom CSS.
.entry-title, .entry-title a { color: #C0392B !important; } -
Thank you! Works like a charm :)
But to fully customize this template I need a little more help. I’ve made screenshots of the remaining changes I need to do regarding colors on the site. https://imgur.com/p08vJC8
https://imgur.com/V0oxs9x
Hope you could help me finalize the whole thing.Oh, one more thing. Don’t know if I should start a new thread with this question but, why is the background white and there is no background image when the site is viewed on mobile phones? https://imgur.com/zTaoYS1
-
-
I believe this catches all you indicate in your screenshots (thanks a lot for those).
#page .entry-content div.sharedaddy h3 { color: #c0392b !important; } .sd-sharing-enabled .sd-sharing-enabled { border-color: #c0392b; } .entry-content hr { background-color: #c0392b; } blockquote { border-color: #c0392b } input[type="text"], input[type="url"], input[type="email"], input[type="password"], input[type="search"], textarea { border-color: #c0392b; } input[type="submit"] { background-color: #c0392b; } -
And, here is for the search form.
input[type="search"]:focus { border-color: #f1c40f !important; } -
-
- The topic ‘Transparent text background’ is closed to new replies.