New Landing How can we help? Themeforest Theme Support Dante How to Take Off Mobile Search

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #204260
    worldlystrategies
    Member
    Post count: 66

    Hello Dante,

    I have tried both of these in the CSS section. Neither worked.

    form.mobile-search-form{display:none:opacity:0;visibility:hidden;}
    }

    and

    .mobile-search-form {
    display: none;
    }

    I want to take off the Search bar on Mobile because it just doesn’t work. Can you please tell me how to make it work or how to take it out of just the mobile site?

    Thank you,
    Worldly Strategies

    #204443
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    .mobile-search-form {
      display: none;
    }

    does work. If it doesn’t, move it to the top of your custom css as you likely have an invalid rule somewhere

    – Kyle

    #205040
    worldlystrategies
    Member
    Post count: 66

    Hi Kyle,

    I did exactly as you stated. I added this code to the top of my CSS and it still didn’t take out the search bar on mobile. Could you please let me know what to do next?

    #205041
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Seems to have worked fine: http://d.pr/i/14Qds/2HLPcORi

    Try clearing your cache

    – Kyle

    #205141
    worldlystrategies
    Member
    Post count: 66

    Hi Kyle,

    I refreshed my browser and deleted all the history on my iPhone. Was I supposed do anything else to clear my cache?

    The search bar is still present in the upper green panel. Please see in screen shot.

    Attachments:
    You must be logged in to view attached files.
    #205146
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Try the code below.

    @media only screen and (max-width: 767px){
    .swift-search-link {
        display: none;
    }
    }

    -Rui

    #205148
    worldlystrategies
    Member
    Post count: 66

    That worked perfectly thank you!

    #205180
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Glad it’s sorted.
    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register