-
AuthorPosts
-
February 12, 2016 at 2:59 am #581974
hi
I created 2 secondary sub menus for different Main menu items and set them below the main menu. I used The Fullwidth Sub Menu and widget on each page.First element of sub menu is the same page as one item of Main Header menu. The text of current active page in the Fullwidth Sub Menu is underlined.
Is it possible to underline the item in Main Header menu when I select any items from sub menu? Now the item in the main menu is underlined only if I select FIRST item in sub menu. Like here http://www.greenwichacademy.org/page.cfm?p=523 or http://www.chaletauriane.com/home.html
(If I click on any sub menu items The main page Academics is still green.)
Is it possible to connect The Header main menu and the Fullwidth Sub Menu?Thank you
February 12, 2016 at 3:08 am #581975I find similar action for menus here http://kriesi.at/themes/enfold/blog/blog-single-author-big/ with sub menu on the right side of page
How It works?
thank youFebruary 15, 2016 at 8:10 am #583163Hey!
Thank you for using Enfold.
Make sure that a certain page hierarchy is set by defining a parent page for a set of child pages: https://en.support.wordpress.com/pages/page-attributes/
In the demo, the Blog page is the parent page of the nested sub pages that you see in the sidebar.
Regards,
IsmaelFebruary 16, 2016 at 4:46 am #583873hi Ismael,
Thank you very much for this information,
now I set up all child pages, but underline effect for header main menu element if I entered a sub menu navigation element does not work.
I use this code in quick css#header .active-parent-item .avia-menu-fx { background: #787878; }
if there is a way to underline parent element in header main menu if I entered a sub menu navigation element?
Thank you
February 18, 2016 at 2:00 pm #585395Hi!
try this code:
.menu-item-top-level-2 > a > .avia-menu-fx { opacity: 1; visibility: visible; }
Cheers!
AndyFebruary 18, 2016 at 7:17 pm #585599hi Andy!
Thank you for you answer.
I have tried this code, but it is makes main menu item underline constantly, even if I other page is opened.
and I have two parent elements in header main menu (the item Chalet and the item La Tzoumaz, Verbier).I think that there should be .active-parent-item ?
I just need to underline the currently active menu-item & sub-menu-item.February 19, 2016 at 1:15 pm #586017Hey!
I put this code into you Quick CSS field and it works fine now:
.current-menu-item .menu-item-top-level-2 > a > .avia-menu-fx { opacity: 1; visibility: visible; }
Can you confirm please?
Cheers!
AndyFebruary 19, 2016 at 8:12 pm #586285hi Andy,
thank you for you help but this code does not work
if you check this page http://chaletteremok.com/la-tzoumaz/summer-activities/ you see that only .current-menu-item in sub menu is underlined.
if worked without your code, we did it before.
now I need to underline the parent item in main menu (main menu item “La Tzoumaz, Verbier”) if a user choose sub menu page (like in example page summer-activities)
February 22, 2016 at 9:44 am #586985Hey!
Please add this in the Quick CSS Field:
.current-page-ancestor .avia-menu-fx { visibility: visible; opacity: 1; }
Best regards,
IsmaelFebruary 22, 2016 at 4:08 pm #587231Hi Ismael
Thank you very much!!!
You have made my day again!!I spent hours to try solve this!
it works fine.
Can you add this feature to theme? I see that it is often asked feature.
Thank you again, Olga
February 22, 2016 at 6:41 pm #587373Hey Olga!
It would be better if you requested such feature here – https://kriesi.at/support/enfold-feature-requests/
Glad Ismael could help! Let us know if you have any other questions or issuesRegards,
YigitFebruary 4, 2019 at 2:49 pm #1062694- This reply was modified 5 years, 10 months ago by hoibi1984.
-
AuthorPosts
- You must be logged in to reply to this topic.