Formatting quotes

Is it possible to distinguish between quotes made with the [quote] tag and those actually quoting other people?

i.e. To format with a different colour.

Thanks!

There already is a distinction

And

distinguish between quotes

2 Likes

:smile:

Yes… I’m using a theme that has a coloured bar to the right of the quote. I was wanting to colour them differently… I should have said distinguish at a css level!

We can try to use in the first case (“aside”):

for example

aside blockquote {
    border-left: 5px solid #339900;
}

Or completely override css for any of the case.

5 Likes

Brilliant, thank you.

This is what I’ve ended up with:

aside.quote blockquote:first-child, aside.quote .title {
    background-color: #ffff0040;
    border-left-color: orange;
}

aside.quote > blockquote, aside.quote > .title:first-child {
    background-color: #f5fff5;
    border-left-color: darkgreen;
}
3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.