Search Icon in Menu with Pop-up

This topic contains 7 replies, has 3 voices, and was last updated by  Dale 4 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #526506

    Dale
    Full Member
    Post count: 96

    Good day,

    I am trying to get my Font Awesome search icon which is placed in the Primary Nav to pop up the search bar as it does with the location-switcher.

    The location switcher has #location-switcher as the URL and ‘gd-menu-item’ as the class.
    Is there a way to get similar functionality with Search in the Menu?

    Kind regards,

    #526507

    Dale
    Full Member
    Post count: 96
    This reply has been marked as private.
    #526556

    Kor
    Moderator
    Post count: 16516

    Hi Dale,

    Thanks for your post. You can use the custom CSS code below.

    #menu-item-1594 .sub-menu{left: -50px!important;}
    
    #primary-nav ul .sub-menu #menu-item-1593 > a:nth-child(1) {
        margin-right: 0px!important;
    }
    #526572

    Dale
    Full Member
    Post count: 96

    Hi Kor,

    Thank you for your reply.

    Your CSS has assisted in shifting the search box thanks; – although I was asking if the search box can open up in a pop-up modal similar to the way ‘Change Location’ works.

    #526576

    Kor
    Moderator
    Post count: 16516

    Hi Dale,

    Thanks for your reply. Sorry for misunderstanding your question. Unfortunately, opening the search form in a “pop-up modal” requires customization. Maybe you can try using a 3rd party popup modal plugin and insert the GD search shortcode to call it and see if it works?

    #526578

    Dale
    Full Member
    Post count: 96

    Hi Kor,

    OK thanks. Trying to limit additional 3rd party plugins.

    It seems counter-intuitive to add a 3rd party pop up maker if the GeoDirectory already has this functionality with ‘Change Location’.

    Where can we request new features for V2?

    #526747

    Alex Rollin
    Moderator
    Post count: 27815

    I will take up your idea as a feature request. If lots of people request it the developers will consider adding it.

    #526760

    Dale
    Full Member
    Post count: 96

    Thanks Alex,

    It would also be beneficial to the mobile menu functionality; – so one does not have to click the sub-menu arrow to search.

    I have implemented the CSS styling option provided by Kor for now.

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket