The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Navigation Button Selection...

2 posters

Go down

In progress Navigation Button Selection...

Post by Selvester June 19th 2013, 11:18 pm

So sorry for the terrible title but I wasn't sure what best to call this...

So anyway on to the problem. Probably wont be very good at describing it but I'll give it a shot. So on my forum, on the navigation bar, when you hover over the buttons they get this sort of box around them basically to highlight what your hovering over. And the home button is done in a way where it looks like it is selected. I like the effect however the problem is that its only the home button. Say I clicked on the FAQ, the navigation bar would look like its the home button that is selected. Like I said, I like the effect, however I don't like that it is only on the home button. I managed to find the section of the code which gives the effect...

Code:
ul.navlinks li a[href="/"] {
 Â   background: none repeat scroll 0 0 rgba(0, 0, 0, 0.4) !important;
 Â   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) inset, 0 0 0 1px rgba(255, 255, 255, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
 Â   color: #F3F3F3;
 Â   font-weight: bold;
 Â   margin-top: 0;
 Â   text-shadow: none;
 Â   padding: 6px 10px 5px;
}

Now is there something there I could possibly tweak so that if I'm not on the home page, say I'm in the memberlist, it wont have the homepage selected but the memberlist instead? If not I will probably just end up taking it out altogether.

Did that make any sense? Reading back over it I'm not really sure it made sense to me and I'm the one that wrote it... If you need a better idea of what I'm talking about the forum is: 
http://mychaos.forumotion.com/
If you go to any other page but the homepage you should see what I mean... how it always looks like its the home button that's selected even when its not.
Selvester
Selvester
Forumember

Female Posts : 255
Reputation : 10
Language : English, French (little bit)

http://rp-central.forumotion.com

Back to top Go down

In progress Re: Navigation Button Selection...

Post by SLGray June 20th 2013, 1:33 am

Add one of this for each button to your CSS code -  [href="/"].

Search:  [href="/search"]


Navigation Button Selection... Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Navigation Button Selection...

Post by Selvester June 20th 2013, 1:49 am

Thank you. Not quite what I was asking though. I was hoping they would only look like that when they had been clicked on, not all the time. I'm just going to remove it. But thank you again for trying. Smile
Selvester
Selvester
Forumember

Female Posts : 255
Reputation : 10
Language : English, French (little bit)

http://rp-central.forumotion.com

Back to top Go down

In progress Re: Navigation Button Selection...

Post by SLGray June 20th 2013, 1:54 am

You're welcome.  Should we lock this now?


Navigation Button Selection... Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Navigation Button Selection...

Post by Selvester June 20th 2013, 1:57 am

Sure. Go right ahead. ^^
Selvester
Selvester
Forumember

Female Posts : 255
Reputation : 10
Language : English, French (little bit)

http://rp-central.forumotion.com

Back to top Go down

In progress Re: Navigation Button Selection...

Post by SLGray June 20th 2013, 1:57 am

Thanks.

Locked as requested.


Navigation Button Selection... Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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