How to change background color of nested blockquotes?

Go down

Solved How to change background color of nested blockquotes?

Post by Soulmonster on December 30th 2014, 9:13 pm

Hi all,

I have just successfully styled the blockquote. But I wasn't very happy when I saw that the CSS things I had done did not work on nested quotes. See this page: http://www.saltvannsprat.com/t985-den-store-gylte-traden#6310

How can I change the background color of the nested (first) quote?

Cheers!


Last edited by Soulmonster on December 30th 2014, 9:54 pm; edited 1 time in total

Soulmonster
Forumember

Posts : 203
Reputation : 2
Language : Norwegian

Back to top Go down

Solved Re: How to change background color of nested blockquotes?

Post by Ange Tuteur on December 30th 2014, 9:30 pm

Are you using .post blockquote, or just blockquote to style the quotes ? To style blockquotes inside blockquotes use :
Code:
blockquote blockquote { color:red }

or
Code:
blockquote blockquote blockquote { color:green }

and so on.
avatar
Ange Tuteur
Forumaster

Male Posts : 13201
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: How to change background color of nested blockquotes?

Post by Soulmonster on December 30th 2014, 9:52 pm

@Ange Tuteur wrote:Are you using .post blockquote, or just blockquote to style the quotes ? To style blockquotes inside blockquotes use :
Code:
blockquote blockquote { color:red }

or
Code:
blockquote blockquote blockquote { color:green }

and so on.

Exactly what I wanted. Thanks again, this is greatly appreciated Smile

Soulmonster
Forumember

Posts : 203
Reputation : 2
Language : Norwegian

Back to top Go down

Solved Re: How to change background color of nested blockquotes?

Post by Base on December 30th 2014, 10:57 pm

Solved => Archived
avatar
Base
Forumaster

Male Posts : 10386
Reputation : 1693
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum