Link Color in Notification List

Go down

Solved Link Color in Notification List

Post by Rhino.Freak on November 22nd 2015, 7:31 pm

Hey guys, I want to know how can I change the link color in the notification list?
I already have put
Code:
#fa_toolbar #fa_right #notif_list li .contentText a {
    color: #0080ff !important;
    text-decoration: underline!important;
}
in my CSS, but its not getting the priority because the default style ALREADY has
Code:
!important
marked in it.


Help me please!
Thanks!

Phpbb3
Forum Link


Last edited by Rhino.Freak on November 23rd 2015, 2:21 pm; edited 1 time in total
avatar
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Link Color in Notification List

Post by SLGray on November 23rd 2015, 1:28 am

Add it to the top of the CSS stylesheet.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43120
Reputation : 3056
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Link Color in Notification List

Post by Rhino.Freak on November 23rd 2015, 6:06 am

@SLGray : That didn't work.
avatar
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Link Color in Notification List

Post by Ange Tuteur on November 23rd 2015, 2:07 pm

If the toolbar stylesheet is overriding the AP stylesheet, you'll need to create a new stylesheet which supersedes the toolbar stylesheet. Since the toolbar is dependent on JavaScript, having a little script with some overrides shouldn't hurt. Go to Modules > JS codes management and create a new script

Placement : In all the pages
Code:
$(function() {
  $(document.body).append('<style>#fa_toolbar #fa_right #notif_list li .contentText a { color:#F00 !important; }</style>');
});

Use this script to include the overrides that you cannot normally change via the AP stylesheet.
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Link Color in Notification List

Post by Rhino.Freak on November 23rd 2015, 2:20 pm

Awesome! Smile works!
avatar
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Link Color in Notification List

Post by Ange Tuteur on November 23rd 2015, 2:23 pm

You're welcome ^^

Topic archived

Have a good day. Smile
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


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