Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
Recent Tutorials
Top posting users this month
Top Achievers
Who is online?
In total there are 49 users online :: 0 Registered, 0 Hidden and 49 Guests :: 2 Bots
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
Links in the Toolbar (Welcome and Notifications) aren't editable
Page 1 of 1 • Share
- Bigtuber
- Gender :
Posts : 125
Points : 3421
Reputation : 52
Location : Germany
Language : German, English
Browser : Forum Version :
So I think it sucks that you can't edit some things in the toolbar for example the color of the links.
Forumotion has already written that in !important so if you want to change the color or remove the underline, you can't.
This is some issue I noticed when I tried to change the color and remove the underline since my background color is brown there and blue looks not that great.
So I looked up other forumotion forums and every forum has the same color and is underlined, even FAE; here is the code:
I think it's a problem for forums with a dark background (on the toolbar atleast) and I don't think there is any way to change this.
What do you think? Or do you have a solution?
Forumotion has already written that in !important so if you want to change the color or remove the underline, you can't.
This is some issue I noticed when I tried to change the color and remove the underline since my background color is brown there and blue looks not that great.
So I looked up other forumotion forums and every forum has the same color and is underlined, even FAE; here is the code:
- Code:
#fa_toolbar #fa_right #notif_list li .contentText a {
color: #00569C !important;
text-decoration: underline !important;
vertical-align: baseline;
}
I think it's a problem for forums with a dark background (on the toolbar atleast) and I don't think there is any way to change this.
What do you think? Or do you have a solution?
Hey
This can be changed by taking the existing selector set (
) and adding a selector which is the parent of this set, such as
. Doing this will give your rule higher priority over the one defined by Forumotion. See and use the rule below and you'll understand.
Note that you'll still need to use "!important", however, with the addition of "body" in the selector set, this rule now has higher priority, allowing you to override the rule defined by Forumotion. You can do this with any rule that is important.
See "Specificity" for more information : https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity
This can be changed by taking the existing selector set (
|
|
- Code:
body #fa_toolbar #fa_right #notif_list li .contentText a {
text-decoration:none !important;
}
Note that you'll still need to use "!important", however, with the addition of "body" in the selector set, this rule now has higher priority, allowing you to override the rule defined by Forumotion. You can do this with any rule that is important.
See "Specificity" for more information : https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity
- Bigtuber
- Gender :
Posts : 125
Points : 3421
Reputation : 52
Location : Germany
Language : German, English
Browser : Forum Version :
Oh wow, thanks again Ange for this solution! I read about the overriding from !important but I didn't think about "body".
And this is working for everything which isn't working with !important and doesn't have the selector "body"?
You know, there is the sceditor and it has already body in it so it is necessary to override it with this JS:
So we can say the overriding of Forumotion works like that: JS > selector "body" > !important
Thanks, Ange!
And this is working for everything which isn't working with !important and doesn't have the selector "body"?
You know, there is the sceditor and it has already body in it so it is necessary to override it with this JS:
- Code:
$(window).load(function () {
$(".sceditor-container iframe").contents().find("head").append("<style>body,html,code:before,p,table{color:#FFF!important;text-shadow:1px 1px 1px #000!important;}</style>")
});
So we can say the overriding of Forumotion works like that: JS > selector "body" > !important
Thanks, Ange!
Yes, placing "body", "html", or any other parent selector before the current selector set will allow you to override existing rules which are important. For example..
is overridden by
, regardless if the rule is placed before or after.
In regards to that script, it's necessary unfortunately, because we cannot modify the iframe CSS with the forum stylesheet.
|
|
In regards to that script, it's necessary unfortunately, because we cannot modify the iframe CSS with the forum stylesheet.
- Sponsored content
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum