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.

blockquote in the "post a reply" & "code <>"- color change -

View previous topic View next topic Go down

Solved blockquote in the "post a reply" & "code <>"- color change -

Post by ABC-123 on August 29th 2015, 12:24 pm

Hello Hello ,

when user quote each other, the blockquote in the "post a reply" is white, how can I make it grey?

here is a screenshot for you...






I have played around with this code
Code:
blockquote {
 background-color:#161616 !important;
}
this is working for the published reply but not on the editing or replying section.

Thank You in advance.

My forum :http://bucketheadland.forumsmusic.com/forum
My php: phpBB3


Last edited by ABC-123 on August 29th 2015, 5:27 pm; edited 2 times in total

ABC-123
Forumember

Female Posts : 50
Reputation : 4
Language : English, Italian

http://bucketheadland.forumstopic.com/

Back to top Go down

Solved Re: blockquote in the "post a reply" & "code <>"- color change -

Post by Klemen on August 29th 2015, 1:21 pm


Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: blockquote in the "post a reply" & "code <>"- color change -

Post by ABC-123 on August 29th 2015, 3:20 pm


It worked!!! ... Smile

Thank You




I'm having the same issue with the code <> Confused

here are some screenshot ... can you help?





I wish to have the same background (gray)... Dawa

Thank You

ABC-123
Forumember

Female Posts : 50
Reputation : 4
Language : English, Italian

http://bucketheadland.forumstopic.com/

Back to top Go down

Solved Re: blockquote in the "post a reply" & "code <>"- color change -

Post by Klemen on August 29th 2015, 3:50 pm

Make a new function and replace the 'blockquote' in the script with 'code':

Code:
$(function(){$(function(){$('.sceditor-container
iframe').contents().find('head').append('<style>code{background:#333;}</style>');})});

To change the color of the code box in the posts, go to your CSS and paste this:

Code:
dl.codebox {
background-color: #FFF;
}

Adjust the color.

Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: blockquote in the "post a reply" & "code <>"- color change -

Post by ABC-123 on August 29th 2015, 4:38 pm

@Klemen wrote:Make a new function and replace the 'blockquote' in the script with 'code':

Code:
$(function(){$(function(){$('.sceditor-container
iframe').contents().find('head').append('<style>code{background:#333;}</style>');})});

To change the color of the code box in the posts, go to your CSS and paste this:

Code:
dl.codebox {
background-color: #FFF;
}

Adjust the color.


Hi Smile

The first code is working ... the second unfortunately, is not ..

ABC-123
Forumember

Female Posts : 50
Reputation : 4
Language : English, Italian

http://bucketheadland.forumstopic.com/

Back to top Go down

Solved Re: blockquote in the "post a reply" & "code <>"- color change -

Post by Klemen on August 29th 2015, 4:41 pm

Try:
Code:
.codebox {
    background-color: #FFF !important;
}

Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: blockquote in the "post a reply" & "code <>"- color change -

Post by ABC-123 on August 29th 2015, 4:53 pm

@Klemen wrote:Try:
Code:
.codebox {
    background-color: #FFF !important;
}


no, Klemen... is not working:cry:

I've tried with dl. at the beginning and also without it...


ABC-123
Forumember

Female Posts : 50
Reputation : 4
Language : English, Italian

http://bucketheadland.forumstopic.com/

Back to top Go down

Solved Re: blockquote in the "post a reply" & "code <>"- color change -

Post by Klemen on August 29th 2015, 5:03 pm

@ABC-123 wrote:no, Klemen... is not working:cry:

I've tried with dl. at the beginning and also without it...

I just tested it on my forum and it works... Are you sure you put the code in your CSS?

Go to your admin panel > display > pictures & colors > colors and click on the 'CSS Stylesheet' tab.

Once you're there paste this code:
Code:
.codebox {
    background-color: #000 !important;
}
and don't forget to hit 'Submit'.

Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: blockquote in the "post a reply" & "code <>"- color change -

Post by ABC-123 on August 29th 2015, 5:23 pm

Yes!!! it works!

CSS!! I did put it in the Java script Embarassed

I am sorry for wasting your time ... I much appreciate all your help.

Have a good weekend thumleft

ABC-123
Forumember

Female Posts : 50
Reputation : 4
Language : English, Italian

http://bucketheadland.forumstopic.com/

Back to top Go down

Solved Re: blockquote in the "post a reply" & "code <>"- color change -

Post by Klemen on August 29th 2015, 5:28 pm

@ABC-123 wrote:Yes!!! it works!

CSS!! I did put it in the Java script Embarassed

I am sorry for wasting your time ... I much appreciate all your help.
Hey, don't worry about it, happens to all of us Wink

Glad I could help!

Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: blockquote in the "post a reply" & "code <>"- color change -

Post by SLGray on August 29th 2015, 7:06 pm

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

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