Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #674787

    Hi,
    I checked all other posts, but nothing helps.
    Can someone of you have a look on this site and check how to add the search icon in mobile view?
    Thanks a lot!
    Jan

    #675731

    Hey Jan,

    Have you referred to my post here – https://kriesi.at/support/topic/search-icon-on-mobile-devices/#post-589759

    Best regards,
    Yigit

    #678608

    Hi Yigit,

    that’ s almost good… but the menu item in ‘not mobile view’ is still there.
    Firstly it is shown totally, then it disappears but the hover effect remains…
    maybe you can have a look

    Thanks!
    Jan

    #678610

    … and when you have a look at the site.
    Maybe you can provide a quick code the place the shopping cart next to the search icon (not mobile view)?
    Thanks!

    #680121

    Hi,

    so you want to hide your search menu on desktop? if yes use this code:

    @media only screen and (min-width: 768px) {
    #menu-item-search {
    display: none;
    }}
    

    Best regards,
    Andy

    #680322

    Hi Andy,

    sorry but that has no effect. I added:

    @media only screen and (min-width: 990px) {
    .only-mobile-menu-search { display: none !important; }}

    as in the referred post from Yigit.
    Please load my site and you will see, that a menu item is still there on desktop (first shown, than active on hover only).

    Thanks !
    Jan

    #680607

    Hi,

    add this code as well:

    @media only screen and (min-width: 990px) {
    #menu-item-1029 {
    display: none;
    }}
    

    Best regards,
    Andy

    #680898

    Perfect!

    … and when you have a look at the site.
    Maybe you can provide a quick code the place the shopping cart next to the search icon (not mobile view)?
    Thanks!

    #682115

    Hi,

    try this code:

    ul.cart_dropdown.av-display-cart-on-load {
    top: 23%:
    right: 15%;
    }
    

    and adjust as needed.

    Best regards,
    Andy

    #682318

    Hi Andy,
    thanks so far, but this code does not change anything :-(
    Maybe you can add a product to the cart and have a look (link below)?
    The cart should be static right to the search icon…

    Thanks a lot!!
    Jan

    #682568

    Hi,

    add an !important to the code:

    ul.cart_dropdown {
    right: 25% !important;
    top: 34% !important;
    }
    

    Best regards,
    Andy

    #683020

    Hi Andy,
    yes!! To summarize, I added the following in total :

    //adjust the search menu item visibility
    @media only screen and (min-width: 767px) {
    .only-mobile-menu-search { display: none !important; }}

    @media only screen and (min-width: 767px) {
    #menu-item-1029 {
    display: none;}
    }

    //adjust the cart position
    @media only screen and (min-width: 767px) {
    ul.cart_dropdown {
    right: 10% !important;
    top: 25% !important;
    }
    }

    Looks nice!
    Thanks!

    you can close this….

    #683139

    Hi,

    glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Search Icon on Mobile again’ is closed to new replies.