[Resolved] Navigation Search Bar

Home Forums Support [Resolved] Navigation Search Bar

Home Forums Support Navigation Search Bar

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1060951
    Pawel

    Hello,
    I have some problem with navigation search bar (put search icon on the right side) on my website http://www.skleposz.pl

    I tried to follow the instructions on this link:
    https://generatepress.com/forums/topic/navigation-search-bar/page/3/.

    I added in css:

    .main-navigation .search-item {
    	display: none;
    }
    .main-navigation .search-item.custom {
    	display: block;
    }

    Unfortunately, two icons appear when I follow the instructions above.

    What can I do with it?

    #1060952
    Leo
    Staff
    Customer Support

    Hi there,

    Can you clear and disable your caching plugin first?

    #1060971
    Pawel

    Done. I cleared site and disabled the caching plugin.

    #1061001
    Leo
    Staff
    Customer Support

    Ok just trying to see what we are trying to do here.

    You prefer to use the FA icon and just want to hide the GP default icon?

    Let me know πŸ™‚

    #1061011
    Pawel

    GP default icon looks good πŸ˜‰

    It would be nice if the search icon appeared in the mobile version as well.

    #1061018
    Leo
    Staff
    Customer Support

    Sorry I’m a little confused.

    So what’s the issue?

    the FA search icon shouldn’t be there by default.

    #1061023
    Pawel

    Yea – You are right.

    Just need to 1 search icon on the right side. That’s all

    #1061054
    Leo
    Staff
    Customer Support

    Ok that case can you remove the FA icon and the CSS you’ve added first?

    So I can see what the original issue was.

    Thanks πŸ™‚

    #1061059
    Pawel

    Done πŸ˜‰

    #1061073
    Leo
    Staff
    Customer Support

    Damn that’s tougher than I thought.

    Looks like using the previous with FA might be the easiest still.

    Can you implement the method again?

    Then we will hide GP’s default icon with some CSS.

    Sorry about that and let me know πŸ™‚

    #1061315
    Pawel

    Done.

    I know it is tough. I spent a lot of time on it and finally gave up. That’s why I write here πŸ˜‰

    #1062047
    Leo
    Staff
    Customer Support

    This should do it:

    .search-item a:before {
        content: none;
    }

    Let me know πŸ™‚

    #1062058
    Pawel

    It works πŸ˜‰

    Thanks!

    #1062077
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.