Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #456993

    Two customizations I am looking for:

    1. 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
    2. 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.
    #457186

    Hi!

    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!
    Josue

    #457251

    Thanks 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!

    #457261

    Hi!

    Try using the FullWidth Sub Menu element.

    Cheers!
    Josue

    #457263

    I will take a look at that. Thank you.

    #457267

    You are welcome, glad to help :)

    Regards,
    Josue

    #457268

    Alright, 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?

    #457277

    You 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!
    Josue

    #457285

    This 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.

    #457289

    Hey!

    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! 
    Josue

    #458422

    Thanks 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!

    #459243

    Hey!

    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.
Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Set different URL in Enfold header logo and mobile sub-menus’ is closed to new replies.