Community Forums › Forums › Archived Forums › Design Tips and Tricks › Menu on FRONT PAGE
Tagged: current page, links, menu, site
- This topic has 7 replies, 2 voices, and was last updated 10 years, 7 months ago by
diegocerezo.
-
AuthorPosts
-
June 25, 2014 at 11:42 am #111492
diegocerezo
MemberI´m working on a site that has two menu items that link to the front page, one is a regular menu item and the other one is an anchor link that just scrolls the site to the Home-middle widget, my issue is that when on the front page of the site both menu items show in a bright red color, I want to only show one of the in color and the other as a regular link, more pecifically the anchor to show as a non curren page link, do I make any sense ? hehe
Here is the link to the test site:
casamorrison.com/boomgym
http://casamorrison.com/boomgymJune 25, 2014 at 12:45 pm #111505JanHoek
ParticipantGive one of those menu-items a custom-class via Dashboard > Appearance > Menu
Than you can style it in your css like;.agency-pro-red .genesis-nav-menu .your-custom-class.current-menu-item > a, .agency-pro-red .genesis-nav-menu .your-custom-class.current-menu-item > a:hover { color: #eeeeee; }
Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.
June 25, 2014 at 3:01 pm #111547diegocerezo
MemberOkay, I created a custom class via de dashboard and named it: conoceboom.
I used your code and it works! so thanks for that! the thing is that I still need it to shine red when the cursor is hovering it and now it looks always white (the font at least). I need it to behave linke the other links like BOOM SHOP or WORKOUTS and because the links on the menu item CONOCE BOOM and INICIO are the same links basically, those two menu items show in red because its their current page. How can I over ride that ?
INICIO = casamorrison.com/boomgym
CONOCE BOOM = casamorrison.com/boomgym/#home-middle
June 25, 2014 at 3:08 pm #111548diegocerezo
Member.agency-pro-red .genesis-nav-menu .conoceboom.current-menu-item > a {
color: #fff;
border-color: transparent;
}Here is the code I´m using
June 25, 2014 at 3:20 pm #111550JanHoek
Participant.agency-pro-red .genesis-nav-menu .conoceboom.current-menu-item, .agency-pro-red .genesis-nav-menu .conoceboom a:hover { color: #de3233; }
Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.
June 25, 2014 at 5:37 pm #111564diegocerezo
MemberI copied the exact code but nothing happened 🙁
June 26, 2014 at 2:35 am #111601JanHoek
Participantyou have to add it to the other nav styles. You've got a lot of duplicate styles, so the best way is to clean it up first.
Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.
July 8, 2014 at 12:05 pm #113442diegocerezo
MemberHello Ian I don´t understand what do you mean by clean up, do I need to clean up the genesis code? because I have not changed anything, I just added the code you gave me via custom CSS style sheet with the jet pack plugin. In any case how do I add the style to the other nav styles?
Sorry I took to long but I´m working on this project a bit on and off, thanks for your help and support!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.