FM Themes
Welcome to FM Themes
where you can share your punBB, phpBB 2, Invision, & phpBB 3 themes for Forumotion forums.

You are viewing the forum as a guest, so you will not be able to use the full forum. To use all the features of the forum, you need to log in or create a FREE account by registering.

Css code to change 'Who is online' text to white!

View previous topic View next topic Go down

brandon_g
Coder
Reputation : 67
Points : 2249
Posts : 492
View user profile http://broadcastingduo.forumotion.com/

Postbrandon_g on Sat Oct 31, 2015 10:47 am

Hello everyone,


On my forum ( [You must be registered and logged in to see this link.] ), we have a dark theme that consists primaryily of hlack, blue and some white. It looks great, however, there are a couple little things that still bother me. One is that, the text/link to my 'Who is online' area is blue and so is the background behind it. I want to change this text to white. I know I can do this by changing the site's link color, however, I don't want to change it for the whole site because then every link is yellow and it doesn't look right. I create this topic today, because I figure there must be some way using CSS or other form of code to accomplish this. I asked my Pro-Admin Jadster who is my site's 'coder' if he could see if he could find a way to accomplish this. He did so, he came and threw a few things at it, but to no avail, nothing he tried worked.

I figure our master coder [You must be registered and logged in to see this link.] would be able to use his awesome skills create a code that would accomplish this. My forum is phpbb2 for those who don't know it already. A test forum is available to test any codes before it is moved over to the main forum.

Here is a screenshot of what I mean by the way:

[You must be registered and logged in to see this image.]


I just want to turn the text/link from the color blue to the color white, that way it looks better and doesn't blend in with the background.


Thanks in advance for any help,

-Brandon
SLGray
Administrator
Reputation : 290
Points : 1509
Posts : 3639
View user profile http://fmthemes.forumotion.com

PostSLGray on Sat Oct 31, 2015 1:10 pm

Try this (CSS):
Code:
a.cattitle {
  color: YOUR COLOR;
}
brandon_g
Coder
Reputation : 67
Points : 2249
Posts : 492
View user profile http://broadcastingduo.forumotion.com/

Postbrandon_g on Sun Nov 01, 2015 8:55 am

Wow that did the trick! Awesome, thanks [You must be registered and logged in to see this link.].

There is also a couple other little things similar to this I wanted to see if I could resolve with css.

Is there a css code that could change the color of the statistics color to white as well? What I mean is:
[You must be registered and logged in to see this image.]


The final one I want to see if there is a css solution for is: Is there a css code that could make the 'Go to page' link turn white as well? What I mean is:
[You must be registered and logged in to see this image.]

Thanks for the help so far and with the who is online one, your awesome slg! Very Happy

-Brandon
Ange Tuteur
Themer
Reputation : 204
Points : 9161
Posts : 303
View user profile http://fmdesign.forumotion.com/

PostAnge Tuteur on Mon Nov 02, 2015 5:25 am

These should do the trick :
Code:
.cattitle, .catBottom a {
  color:#FFF;
}

If the first one doesn't change, let me know the page link it's on. ^^
brandon_g
Coder
Reputation : 67
Points : 2249
Posts : 492
View user profile http://broadcastingduo.forumotion.com/

Postbrandon_g on Mon Nov 02, 2015 6:15 am

Code worked like a charm! As always you are truly awesome Ange! Thanks so much!

Topic marked solved and archived ~ brandon_g

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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