The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Link Color in Notification List

View previous topic View next topic 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

Rhino.Freak
Helper
Helper

Male Posts : 1246
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.


SLGray
Administrator
Administrator

Male Posts : 36663
Reputation : 2445
Language : English
Location : United States

http://ztwds.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.

Rhino.Freak
Helper
Helper

Male Posts : 1246
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.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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!

Rhino.Freak
Helper
Helper

Male Posts : 1246
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

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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