MyBB Community Forums
Custom link color issue. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Custom link color issue. (/thread-144948.html)

Pages: 1 2


Custom link color issue. - MikeInToshx - 2013-09-01

Hey guys I got a lil issue with link color.

"Aanmelden" and "registreren" are the same color as my link colors, so if I change that to white, the other circles u can see on the picture will turn white too..

So how can I just change the color of "Aanmelden" and "registreren" without the others changing?

the css of this is: "a:link, a:visited"

[attachment=30039]


Cheers!


RE: Custom link color issue. - .m. - 2013-09-01

you can try using style like a.register , a.login {color: #fff !important;}


RE: Custom link color issue. - MikeInToshx - 2013-09-01

Worked like a charm. Cheers bro! (a)

Can I do the same with "Zoeken" "Ledenlijst".. too? I'd like to make the font black instead of bleu.


RE: Custom link color issue. - .m. - 2013-09-01

^ yes, you can try using style like a.search , a.memberlist {color: #000 !important;}


RE: Custom link color issue. - MikeInToshx - 2013-09-01

Hmm. The rollover went black then aswell, also the one I made myself ('Handleidingen') didn't work.

I saved it, u can look if u want to: www.computerhelpforum.be

Cheers.


RE: Custom link color issue. - .m. - 2013-09-01

^ well, you can try adding !important for the hover effect style
#panel ul.menu li a:hover {
	background: #004488;	
        color: #fff !important;
}

remember to hard refresh browser on index page (eg. press CTRL + F5) after saving changes to the css


RE: Custom link color issue. - MikeInToshx - 2013-09-01

I added this and worked aswell:

a.search , a.memberlist , a.calendar , a.forum-tutorials {color: black !important;}
a.search:hover , a.memberlist:hover , a.calendar:hover , a.forum-tutorials:hover {color: #fff !important;}

But the last one still wont work ! a.k.a "Handleidingen" button.


RE: Custom link color issue. - .m. - 2013-09-01

^ add a css class for that link (in header template) so that you can use the same method.


RE: Custom link color issue. - MikeInToshx - 2013-09-01

Aah that worked. Cheers Wink


RE: Custom link color issue. - MikeInToshx - 2013-09-04

Theres 1 more thing I overlooked, the 'Lost Password' text is still the same color aswell. How do I fix this one?

[attachment=30060]