- This topic has 7 replies, 2 voices, and was last updated 12 months ago by
Sakin.
-
AuthorPosts
-
November 30, 2022 at 3:28 pm #313116
astro2002
ParticipantHi
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
November 30, 2022 at 6:46 pm #313120Sakin
KeymasterHi @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,
SakinDecember 1, 2022 at 12:17 am #313127astro2002
ParticipantOK 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
December 1, 2022 at 12:32 am #313128Sakin
Keymastercan you post your site URL and then I can check it.
December 1, 2022 at 11:37 am #313160astro2002
Participantcomoxbarbers.com
December 1, 2022 at 3:15 pm #313180Sakin
KeymasterI 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; }
December 1, 2022 at 8:44 pm #313182astro2002
ParticipantWow 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!!
December 2, 2022 at 12:52 am #313195Sakin
KeymasterThanks 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.
-
AuthorPosts
- The topic ‘Removing the search box on every page and location’ is closed to new replies.