Hi,
I’m working on a site and need to make adjustments to the mobile version of the site. Specifically, I’d like to move the menu location and remove the search bar from the mobile and small tablet sizes (both portrait and landscape).
Thanks for your help,
Gabe
Hi Gabe!
To remove the search bar on tablets:
@media only screen and (max-width: 767px) {
#menu-item-search{ display: none; }
}
Regarding moving the menu, please specify how exactly you want it to change, a screenshot/mockup would be helpful.
Cheers!
Josue
Hey Gabe!
Please post a link to your website, you can put the access information in a private reply.
Regards,
Josue
Hey Gabe!
Review your site now.
Regards,
Josue
You should put that in the child theme functions.php, below the code i already put there.
I believe it was because you didn’t open the php tag:
<?php
It’s doing it again. Can you fix it for me?
I was able to paste the code in your child functions.php without crashing.
Very strange. When I did it, I immediately got a php error and the entire site crashed.
And I don’t see the code now?
Well, that’s weird. I believe the error you were getting was because of the quotes, make sure to simplify them before saving.
Can you please try and post it again?
OK, it’s done, please note that this has already gone outside of our support scope.