Solar: customize quote post type
-
I want to change the background colour of a quote post to match the header with white type. can somebody advise how to do this in css please?
The blog I need help with is: (visible only to logged in users)
-
Hi, to change the blockquote background on the main page to black and the text to white, add the following.
.format-quote, .format-quote section { background: #000 none repeat scroll 0 0; } .format-quote blockquote p { color: #fff; }Also, the quote post at the top left of your main page has a color set in the post itself which you will have to remove since I can’t override that with CSS.
-
-
If you wish to keep the white area outside of the borderline, use this instead.
.format-quote section .entry-content { background: #000; } .format-quote blockquote p { color: #fff; } -
-
Yes, the above will style all quote posts like that. We can use a unique CSS class from the page’s opening body tag, or the unique post id to limit this to only the one quote, if that is what you want.
- The topic ‘Solar: customize quote post type’ is closed to new replies.