Tagged: header
-
AuthorPosts
-
June 10, 2015 at 6:16 am #456993
Two customizations I am looking for:
- ability to set the URL manually (in code) for the logo in the header .. I’m looking at using this theme across a multisite install and want the logo to all go to the same place
- ability to have a mobile sub-navigation menu on pages, not just at the bottom
Any help with these two would be greatly appreciated. Thanks!
- This topic was modified 9 years, 6 months ago by MLC.
June 10, 2015 at 1:35 pm #457186Hi!
There’s a hook you can use to imperatively change the logo link:
add_filter('avf_logo_link', function() { return "http://google.com"; });
Could you expand on the second customisation? i don’t quite get the idea.
Cheers!
JosueJune 10, 2015 at 2:54 pm #457251Thanks for the first tip, I’m going to toss that into my child theme and be very happy for the day!
As for the second part, what I am looking for is some way to do the following: https://www.bethel.edu/library/
There is a “In This Section” sub-navigation at the top of the page on mobile. I’d love to have some way to doing that within Enfold.
Thanks again!
June 10, 2015 at 3:01 pm #457261Hi!
Try using the FullWidth Sub Menu element.
Cheers!
JosueJune 10, 2015 at 3:02 pm #457263I will take a look at that. Thank you.
June 10, 2015 at 3:06 pm #457267You are welcome, glad to help :)
Regards,
JosueJune 10, 2015 at 3:09 pm #457268Alright, I’m probably going to abuse this thread for questions, but here goes:
Any way to control what words are shown for that sub-menu when at a mobile size?
June 10, 2015 at 3:18 pm #457277You mean the words on the toggle or on the actual menu? can you post a link to the Page where you’re trying this?
Cheers!
JosueJune 10, 2015 at 3:23 pm #457285This isn’t a public site at the moment, but I can describe it better or get you some screenshots later.
When the fullwidth sub menu is on a desktop browser, it just shows the items. When it is on mobile, it says “Menu” with the hamburger icon. I want to change the word “Menu” to something else when on mobile.
Let me know if you want images.
June 10, 2015 at 3:29 pm #457289Hey!
Try adding this code to the Quick CSS / child style.css:
#top .mobile_menu_toggle .av-current-placeholder { font-size: 0; max-height: 46px; } #top .mobile_menu_toggle .av-current-placeholder:after{ content: "Changed"; font-size: 14px; }
Cheers!
JosueJune 12, 2015 at 3:41 pm #458422Thanks for the help so far!
More questions, sadly. :-)
Is there a supported way to change the behavior of the Search icon in the header? I’d love to be able to make it click-able to a page where I can farm out to Google Search for our site or to have the search field be taken over by something else (without the AJAX at the moment).
Thanks again!
June 15, 2015 at 12:08 pm #459243Hey!
Please always open a new ticket for a new question.
Changing behavior of the search icon is out of our support scope and would be considered as custom work. Please hire a freelancer for this job.
Cheers!
Andy- This reply was modified 9 years, 6 months ago by Andy.
-
AuthorPosts
- The topic ‘Set different URL in Enfold header logo and mobile sub-menus’ is closed to new replies.