Tagged: x
-
AuthorPosts
-
March 12, 2017 at 5:25 am #1403684March 12, 2017 at 5:27 am #1403686March 12, 2017 at 6:34 am #1403725
Hi There,
Please add the following CSS under Customizer > Custom > Global CSS:
#sfm-sidebar.sfm-vertical-nav .sfm-has-child-menu .sfm-sm-indicator { display: none; } #sfm-sidebar .sfm-has-child-menu > .sfm-child-menu { display: block !important; }
Hope it helps 🙂
March 12, 2017 at 7:00 am #1403759Thanks! but it makes all the submenus open all the time and I wan’t a specific submenu to be open only when a specific page inside it is active.
By the way, the code worked only when I placed it inside superfly>”advanced setteing”>”aditinal css” section.
March 12, 2017 at 11:33 am #1403870Hi there,
This might not work as expected. As it’s not a feature or functionality of Superfly, we can’t help much. I suggest you to use the existing feature of the plugin.
Thanks!
March 16, 2017 at 4:38 am #1409332Two more questions:
How can I vertical alighn the menu items in the center?
How can I change the font size of sub items?
in this site
‘http://karamjb.s158.upress.link/`March 16, 2017 at 5:29 am #1409390Hi There,
Do you mean vertically align main menu on the sidebar? With your settings it is not recommended because of your submenu.
To adjust Sub items font size, we can use this custom CSS:ul.sfm-child-menu.sfm-menu-level-1 span { font-size: 30px !important; /* Adjust this accordingly*/ }
Hope this helps.
April 3, 2017 at 2:55 am #1427853it helped! thanks!
Also, I would like the child items in the superfly menu to appear as “non-active” when the parent item is active.
for instance, when I’m on “project” page all 11 sub-items appear green in the menu and I want them to stay black like the are when the aren’t active.
“http://www.kkarc.com/?page_id=17”
April 3, 2017 at 3:02 am #1427856Hi there,
Please remove this code :
li.sfm-active-class span{ color: #a3cc57 !important; font-weight: 600; }
And add following code :
li.sfm-active-class > a > span { color: #a3cc57 !important; }
Hope it helps.
April 3, 2017 at 7:01 am #1427959Thank you for your quick response! It worked partially
It worked on the “projects” page BUT it didn’t work on the other parent item “about”.
Maybe it didn’t work for the “about” item because all the sub-items for this item are one-page-navigation?
April 3, 2017 at 7:21 am #1427975Hi there,
You should add at least two menus, one as primary menu and the other as one page navigation. Note that primary menu and one navigation shouldn’t be the same. Inside one page navigation use relative URLs, e.g :
#x-section-2
To link primary menu items to one page navigation sections, use absolute URL, e.g :www.example.com/#x-sectcion-2
Hope it helps.
-
AuthorPosts