MyBB Community Forums
Different links different colors? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Development (https://community.mybb.com/forum-105.html)
+---- Thread: Different links different colors? (/thread-210480.html)



Different links different colors? - JohnSnow - 2017-05-18

Is it possible to have different links appear as different colors depending on where they appear? Here is my issue. I would like hyperlinks input by users within the body of posts to appear blue, as they normally do. 

However, I would like "link" on various other parts of the forum GUI to appear other colors. 

Below are examples of non-user posted site links that I do not want to appear the default blue:

[Image: pHqW9eSG.jpg]

I would like to be able to set the "MyBB Community Forums > Resources > Themes" links as colors other than blue, while not forcing EVERY link to the same color. I'd also like to change the little > symbol colors. 

Does that make sense? Possible?


RE: Different links different colors? - User 6029 - 2017-05-18

navigation edit "color:"

.navigation

.navigation .active

.navigation a:hover, .navigation a:active

.navigation a:link

.navigation a:visited


RE: Different links different colors? - JohnSnow - 2017-05-18

(2017-05-18, 07:36 AM)vintagedaddyo Wrote: navigation edit "color:"

.navigation

.navigation .active

.navigation a:hover, .navigation a:active

.navigation a:link

.navigation a:visited

Thanks- I understand where general navigation colors can be edited, but that doesn't address the premise of my question.


RE: Different links different colors? - .m. - 2017-05-18

^ well, you can have different colors for different links.
however in general, those links should have separate CSS Classes or IDs .. etc

above reply was a guide for navigation bar elements which can be used for changing their colors !


RE: Different links different colors? - JohnSnow - 2017-05-18

(2017-05-18, 01:22 PM).m. Wrote: ^ well, you can have different colors for different links.
however in general, those links should have separate CSS Classes or IDs .. etc

above reply was a guide for navigation bar elements which can be used for changing their colors !

Hmm ok, I'll ahve to look into that.

Side note - how do I change the text color at the bottom of the forum that's next to the icons for new posts, no new posts, thread locked etc


RE: Different links different colors? - .m. - 2017-05-18

^ in the global.css of the theme, you can add required color property for .forum_legend dd

basically stylesheet of a theme should be edited through themes section of forum admin panel.
and in general, editing can be done through advanced mode of the stylesheet