Colour of the code font

Go down

Solved Colour of the code font

Post by kic on March 5th 2016, 1:49 pm

hi! can someone help me, I wanted to change the colour of the code font, I mean this:

Code:
this :p

thanks in advance!


Last edited by kic on March 5th 2016, 6:48 pm; edited 1 time in total

kic
Forumember

Posts : 65
Reputation : 1

http://ex-iskon.forumcroatian.com/

Back to top Go down

Solved Re: Colour of the code font

Post by Draxion on March 5th 2016, 3:31 pm

Hi there, enter the following in your CSS Stylesheet and just edit the information accordingly.

Code:
.code {
  color: #FFFFFF;
}

Regards.
avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2110
Reputation : 267
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Colour of the code font

Post by YoshiGM on March 5th 2016, 5:38 pm

Hello,
Try using this CSS :

Code:
.code div.cont_code {
    color: red; /*Font color here*/
}

Edit "red" for your own color (hex color, rgb or in English) Wink

ACP > Display > Colors > CSS Stylesheet.
avatar
YoshiGM
Forumember

Male Posts : 724
Reputation : 100
Language : Spanish, English & Italian (16%)
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: Colour of the code font

Post by kic on March 5th 2016, 6:01 pm

my options for CSS are:

Force basic CSS: no
Deactivate the basic CSS: no
Optimize your CSS: no

should I change something of that to make impact?

kic
Forumember

Posts : 65
Reputation : 1

http://ex-iskon.forumcroatian.com/

Back to top Go down

Solved Re: Colour of the code font

Post by YoshiGM on March 5th 2016, 6:05 pm

I reccomend to change the option Optimize CSS: Yes Wink
Regards,
Yoshi ~

avatar
YoshiGM
Forumember

Male Posts : 724
Reputation : 100
Language : Spanish, English & Italian (16%)
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: Colour of the code font

Post by kic on March 5th 2016, 6:20 pm

ok thank you for your effort, like this you mean:

Code:
        .code div.cont_code {
            color: #105289;
        }

kic
Forumember

Posts : 65
Reputation : 1

http://ex-iskon.forumcroatian.com/

Back to top Go down

Solved Re: Colour of the code font

Post by YoshiGM on March 5th 2016, 6:22 pm

Yes and don't forget to save your changes Wink
avatar
YoshiGM
Forumember

Male Posts : 724
Reputation : 100
Language : Spanish, English & Italian (16%)
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: Colour of the code font

Post by kic on March 5th 2016, 6:31 pm

hm I dont still see the effects, sorry for bugging you..

kic
Forumember

Posts : 65
Reputation : 1

http://ex-iskon.forumcroatian.com/

Back to top Go down

Solved Re: Colour of the code font

Post by YoshiGM on March 5th 2016, 6:35 pm

Your forum version is phpBB3 ?

Code:
dl.codebox code {
    color: #105289;
}

My mistake sorry.. i se your profile and it shows phpbb2. Try now
avatar
YoshiGM
Forumember

Male Posts : 724
Reputation : 100
Language : Spanish, English & Italian (16%)
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: Colour of the code font

Post by kic on March 5th 2016, 6:40 pm

it works, thank you so much!!

kic
Forumember

Posts : 65
Reputation : 1

http://ex-iskon.forumcroatian.com/

Back to top Go down

Solved Re: Colour of the code font

Post by SLGray on March 5th 2016, 8:05 pm

Topic solved and archived


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43088
Reputation : 3049
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


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