Archived topic
Category pages moving horizontal on mobile
4 replies · Started by Andrew on January 6, 2022
Hello,
Earlier today I updated my category pages by adding the "Search" block at the top. I also removed the side bar and changed the post grid from 2 columns to 3.
Since then, I noticed that these pages move horizontally when I scroll on mobile devices. This wasn't an issue before and isn't an issue on any other pages. So I'm sure it has to do with my updates today, but I can't pinpoint how to fix it.
Is there a way to inspect these pages and see what's going on?
The pages are:
https://prudentreviews.com/category/home-essentials/
https://prudentreviews.com/category/kitchen-cooking/
https://prudentreviews.com/category/home-maintenance/
https://prudentreviews.com/category/cleaning/
Thank you!
One other piece of information. I'm using a Hook element to display the search block and blue filter buttons on those pages. The Hook name is "after_archive_description".
Hi there,
edit the Search Block - in its toolbar toggle off the search label - see here:
https://generatepress.com/forums/topic/horizantal-scroll-issue/#post-2055797
Perfect, it works! Just curious for future reference. Why would that cause this issue?
It's some bad CSS that WP adds to the core Search Block, they set the Label element to 100% width which causes the overflow. Something we hope they fix soon.