The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

quote colors

View previous topic View next topic Go down

quote colors

Post by Danee on 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/

Danee
New Member

Posts : 4
Reputation : 0
Language : Hungarian

Back to top Go down

Re: quote colors

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

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

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

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

Back to top Go down

Re: quote colors

Post by Danee on 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?

Danee
New Member

Posts : 4
Reputation : 0
Language : Hungarian

Back to top Go down

Re: quote colors

Post by Sir. Mayo on 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
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

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

Back to top Go down

Re: quote colors

Post by Danee on 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
}

Danee
New Member

Posts : 4
Reputation : 0
Language : Hungarian

Back to top Go down

View previous topic View next topic Back to top


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