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.

[HELP] Change Color Every Navigation

View previous topic View next topic Go down

[HELP] Change Color Every Navigation

Post by Almaftuchin on April 13th 2017, 5:06 am

Hello masters, i want to ask, how to change navigation color for every page?
for example:
i open the Home with blue navigation color, then i open portal and changing color blue to red, then i open faq and changing color from red to yellow, and etc
how to it?
avatar
Almaftuchin
New Member

Male Posts : 6
Reputation : 2
Language : English
Location : Indonesia

http://www.forumotion.com

Back to top Go down

Re: [HELP] Change Color Every Navigation

Post by SLGray on April 13th 2017, 5:27 am

Please post your forum's link.

So you want each navigation link to be a different color after you clicked it?


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

avatar
SLGray
Administrator
Administrator

Male Posts : 41179
Reputation : 2818
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Re: [HELP] Change Color Every Navigation

Post by Almaftuchin on April 13th 2017, 7:31 am

avatar
Almaftuchin
New Member

Male Posts : 6
Reputation : 2
Language : English
Location : Indonesia

http://www.forumotion.com

Back to top Go down

Re: [HELP] Change Color Every Navigation

Post by DSorcerer on April 13th 2017, 12:58 pm

Go to ACP -> Display tab -> Templates section -> First option. Then find pages which you want: for example, index_body is a homepage and faq_dhtml is FAQ page. Add to the top of every subpage you want to change your menu color:
Code:
<style type="text/css">
.is-sticky#headerbar-top {
background: red;
}
</style>
Save and publish. Of course you can change "red' to another, such as "lightsteelblue", "lightseagreen", "indianred" also#e5e7eb,#ff0fff etc.
avatar
DSorcerer
Forumember

Male Posts : 37
Reputation : 6
Language : Polish
Location : Poland. help

http://winx-rp.forumotion.pl

Back to top Go down

Re: [HELP] Change Color Every Navigation

Post by Draxion on April 13th 2017, 5:07 pm

Hi there,

When you say the 'navigation', are you referring to the navbar when it comes down after scrolling? Or can you be more specific?


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Re: [HELP] Change Color Every Navigation

Post by Almaftuchin on April 13th 2017, 10:06 pm

how to make it using javascript with function address or link detected?
for example if in address bar open "forum.com/member" then the navigation color is blue, then if the address bar "forum.com/login" then the navigation color is green, etc?
are you understand my question?
avatar
Almaftuchin
New Member

Male Posts : 6
Reputation : 2
Language : English
Location : Indonesia

http://www.forumotion.com

Back to top Go down

Re: [HELP] Change Color Every Navigation

Post by Draxion on April 14th 2017, 1:55 am

I understand what you are wanting, but I don't don't understand when you are referring to with the 'navigation' since that could mean a few things on your forum. That's why I asked could you be more specific about what you are trying to color after visiting a link. What is the 'navigation'?


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Re: [HELP] Change Color Every Navigation

Post by Almaftuchin on April 14th 2017, 8:25 am

bump
avatar
Almaftuchin
New Member

Male Posts : 6
Reputation : 2
Language : English
Location : Indonesia

http://www.forumotion.com

Back to top Go down

Re: [HELP] Change Color Every Navigation

Post by Draxion on April 14th 2017, 8:30 am

Dude, I know the JavaScript code you are seeking. I just don't understand what you want to color is all since the word 'navigation' can mean a few things.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1856
Reputation : 232
Language : English
Location : USA

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