Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #313116
    astro2002
    Participant

    Hi

    I have managed to remove the search box from the home page when viewed on a PC but when I go to the site on an iPhone, the search box shows up as a menu item. Can you advise me on how to remove it from the site, we don’t need a search function nor do we want it showing up on a phone tablet or PC.

    Thanks.

    Using CatchShop free, Win 11

    #313120
    Sakin
    Keymaster

    Hi @astro2002,

    You can add the following CSS in the “Appearance => Customize => Additional CSS” box to hide the search inside the menu item on an iPhone:

    .mobile-search {
    	display: none;
    }

    Regards,
    Sakin

    #313127
    astro2002
    Participant

    OK thanks for this.

    I just added it and published but it continues to show on my iPhone menu for the website. Anything else I would need to do?

    Thanks

     

    #313128
    Sakin
    Keymaster

    can you post your site URL and then I can check it.

    #313160
    astro2002
    Participant

    comoxbarbers.com

     

    #313180
    Sakin
    Keymaster

    I just check your site and see that there is an issue with the Custom CSS. I have optimized and fixed it. Please replace all your CSS in the “Appearance => Customize => Additional CSS” with the following CSS:

    /* To have the logo on the left on screen width over 1200px */
    @media screen and (min-width: 1200px) {
      .custom-logo-link {
          position: absolute;
          left: 0;
      }
    }
    #site-header-right-menu,
    .mobile-search {
      display: none;
    }
    body.page-id-8,
    body.page-id-60,
    body.page-id-66 {
      background: #dddddd;
    }
    #313182
    astro2002
    Participant

    Wow that’s awesome, thanks so much, and yes its working fine now!!

    Greatly appreciated and thanks for the help!!

    You keep reminding me why I stay with catch themes!!

    #313195
    Sakin
    Keymaster

    Thanks for your appreciation and saying with Us. Glad to hear that my support worked on your website. If it’s not too much trouble, I have a quick request: could you please leave an honest review? https://wordpress.org/support/theme/catch-shop/reviews/#new-post. Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Removing the search box on every page and location’ is closed to new replies.