The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

quote colors

2 posters

Go down

quote colors Empty quote colors

Post by Danee April 28th 2015, 5:36 pm

Hi!

My problem is quotes on my forum.
I can't change the quotes' background and text color no matter what code I add to the css section.

The main problem is that the manual color options on the Forum administration/Display/Pictures_and_Colors/Colors changes multiple parts of the forum under the same color:

Background Colors/1st cell color (i dunno how its written english, I use hungarian display):
changes both quote background color AND the background color of the preview/send buttons

So I need a css code which changes only the quote background color and it's text color too.

I tried and didnt work for me:

.postmain blockquote {
    background:#000000;
    color: #ffffff !important;
}


.postmain quote {
    background:#000000;
    color: #ffffff !important;
}

.quote {
    background:#000000;
    color: #ffffff !important;
}

Plz help!
My forum: http://aincrad.forumotion.eu/
avatar
Danee
New Member

Posts : 4
Reputation : 0
Language : Hungarian

Back to top Go down

quote colors Empty Re: quote colors

Post by Sir. Mayo April 28th 2015, 5:42 pm

Could you link a post, with quotes in it? Please.
Sir. Mayo
Sir. Mayo
Forumember

Male Posts : 980
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

http://sir-mayo.forumotion.com/

Back to top Go down

quote colors Empty Re: quote colors

Post by Danee April 28th 2015, 5:47 pm

Sir. Mayo wrote:Could you link a post, with quotes in it? Please.

http://aincrad.forumotion.eu/t3-rendszer-es-tartalom-otletelo#133

is it possible that I need some code to the javascript section as well?
avatar
Danee
New Member

Posts : 4
Reputation : 0
Language : Hungarian

Back to top Go down

quote colors Empty Re: quote colors

Post by Sir. Mayo April 28th 2015, 7:07 pm

Give this a try

Code:
blockquote {
    background-color: #000000;
    border-width: 1px 1px 1px 5px;
    border-style: dotted dotted dotted solid;
    border-color: #fff #fff #fff #fff;
    margin: 8px;
    padding: 8px;
    color: #fff;
}
Sir. Mayo
Sir. Mayo
Forumember

Male Posts : 980
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

http://sir-mayo.forumotion.com/

Back to top Go down

quote colors Empty Re: quote colors

Post by Danee April 28th 2015, 10:02 pm

thank you for help, tho...

I found the source of the problem:
I had to add elem{} to the code. Im not sure what is it, maybe it refers to an Element in JQuery like $( elem ) or so... dunno

so the working code is now with some new additions:
elem {
}
blockquote {
color: #B3B3B3 !important;
font-style: italic !important; //words in the quote: let them be grey and italic
background-color: #000000 ! important; //quote background color: black
border: 1px solid #B3B3B3 ! important; //the border of the quote and its color: grey
}

blockquote cite {
background-color: #B3B3B3 ! important; //top-border color
}
avatar
Danee
New Member

Posts : 4
Reputation : 0
Language : Hungarian

Back to top Go down

Back to top

- Similar topics

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