This topic has 17 replies, 3 voices, and was last updated 9 years by Radu.

  • Author
  • #131572
     Gus
    Participant

    Hi. I would like to move the search bar from the main menu to the top bar. Is it possible?

    I tried adding the “search-trigger” class to a menu item but it did not work.

    Any help would be appreciated. Thanks

    #131682
     Radu
    Moderator

    Hi,

    Just paste this code into wp-content/themes/kleo-child/functions.php

    http://pastebin.com/raw/JqAjFP2r

    Let me know

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #131703
     Gus
    Participant

    Hi Radu. Thanks for your reply.I added the code to the functions file, but nothing happened. I ATTACHED A SCREENSHOT OF HOW I set up the menu. Maybe i am missing something. Should i deactivate it from the Main menu? Should i do anything else after adding the code?

    Thank you very much

    #131711
     Radu
    Moderator

    Hi,

    Make sure you have child theme installed and activated, that’s all

    Let me know

    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #131715
     Gus
    Participant

    Sorry but it’s not working.

    #131723
     Radu
    Moderator

    Ok, on my localhost it works, provide ftp and admin credentials to take a look

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #131725
     Gus
    Participant

    FTP Username: mona420
    Server: 107.180.25.196
    Password: Conciencia@420

    Thank you very much.

    #131783
     Radu
    Moderator

    Done please check, it was a mistake in snippet, now the snippet it’s ok i’ve update it.\

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #131792
     Gus
    Participant

    Thank you very much. It worked perfectly. Really appreciate your help. 🙂

    #131809
     Radu
    Moderator

    Great

    Have a nice day

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #131810
     Radu
    Moderator

    If you are pleased with the support service please very much to leave a short review … few words about your experience with the support service.

    https://themeforest.net/item/kleo-next-level-wordpress-theme/reviews/6776630

    Thank you in advance

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #131864
     Gus
    Participant

    Hey Radu. For some reason, on mobile, the search field is open without clicking the search icon. It is always open. I need it to work like in the other screen sizes.

    Thank you very much

    #131921
     Radu
    Moderator

    Yes, that’s because it was designed to work in main menu not in top menu, in normal position this search are expanded when you are on mobile… and for adapting for what you need it requires dedicated time… i hope you understand.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #132133
     Gus
    Participant

    Yes Radu. No problem. I solved the problem by adding max width to profile name in Main menu. Now nothing moves. It was cleaner the other way. Wich is why i asked. But i understand. Thanks a lot for the help anyways. 🙂

    #132186
     Radu
    Moderator

    Ok

    Have a nice weekend

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #143347
     dodgeuk30
    Participant

    HI,

    I’ve added the snippet too and its not working for me either, please can you help

    Thanks

    #143348
     dodgeuk30
    Participant

    scrape that i’ve sorted it

    #143384
     Radu
    Moderator

    Ok then

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 18 posts - 1 through 18 (of 18 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?