Home › Forums › Support › Space Between Buttons on Mobile This topic has 24 replies, 2 voices, and was last updated 4 years, 9 months ago by Leo. Viewing 15 posts - 1 through 15 (of 25 total) 1 2 → Author Posts July 13, 2019 at 9:27 am #956927 Mark Using GP Premium Please see my hero header. The buttons look great. When on mobile, the buttons touch. Is there an easy line to add when I edit the element to add some spacing on mobile? Thanks July 13, 2019 at 9:42 am #956939 LeoStaff Customer Support Hi there, Give this CSS a shot: @media (max-width: 768px) { .page-hero a.button { margin-top: 5px; } } Adding CSS: https://docs.generatepress.com/article/adding-css/ Let me know 🙂 July 13, 2019 at 9:46 am #956941 Mark That didn’t do it. July 13, 2019 at 9:48 am #956943 LeoStaff Customer Support It should. However I’m not seeing the code being added. Any caching plugin? July 13, 2019 at 9:49 am #956944 Mark I added and then took off. Let me add again and delete the cache. July 13, 2019 at 9:55 am #956954 LeoStaff Customer Support Have you added it? I still don’t see it in the source code so maybe some caching issue going? July 13, 2019 at 9:56 am #956955 Mark Yep, I added it and deleted cache. It’s there now. July 13, 2019 at 10:01 am #956960 LeoStaff Customer Support It’s still not there unfortunately. You can right click on your site and click View page source and search keyword .page-hero a.button and confirm that it’s not there. When it’s there (I tested by using browser inspect), it should look like this: https://www.screencast.com/t/jT3ut9Q0zCn6 How are you adding it? July 13, 2019 at 10:11 am #956967 Mark Is my code for the element ok? July 13, 2019 at 10:14 am #956970 Mark I double-checked and this is added to my CSS in the customizer: @media (max-width: 768px) { .page-hero a.button { margin-top: 5px; } } July 13, 2019 at 10:23 am #956977 LeoStaff Customer Support Still not showing unfortunately. Any chance you can disable all plugins except GP Premium? July 14, 2019 at 7:17 am #957396 Mark So much of my site uses WP Show Posts. I don’t really want to disable it. I believe it uses its own buttons. Could that be it? July 14, 2019 at 9:27 am #957593 LeoStaff Customer Support Shouldn’t be related to WP Show Posts so you can keep that activated. Can you check with your host to make sure there isn’t any server cache at all? The code simply isn’t showing up in the source and I really don’t see any other reasons. July 14, 2019 at 2:10 pm #957784 Mark I cleared the kinsta cache. I have autooptimze. Is there a setting in there I should toggle? July 14, 2019 at 2:57 pm #957808 LeoStaff Customer Support Can you disable both Kinsta cache and Autopmize? Do you have any other CSS added in the Additional CSS field? Author Posts Viewing 15 posts - 1 through 15 (of 25 total) 1 2 → You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In