Tagged: x
-
AuthorPosts
-
April 7, 2016 at 7:32 am #871071
belayachimarouaneParticipantHello!
I have set marginless column and than set a margin for left and right (80px)
However, on mobile the margin is too big. Is there anyway to make it smaller for mobile ?Thank you
(url : stouch.eu)
April 7, 2016 at 5:13 pm #871992
Nabeel AModeratorHi there,
Thanks for writing in! Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
@media screen and (max-width: 767px){ .home #x-section-1>.x-container { padding: 20px !important; } }Let us know how this goes!
April 10, 2016 at 12:44 pm #875377
belayachimarouaneParticipantHello again;
thanks a lot for your help. However it changed the padding for the only first section, how can I generalise it ?
Thank you!April 11, 2016 at 12:26 am #875919
RupokMemberHi there,
Thanks for writing back. It will work on the first section because of #x-section-1. So you can change this or use the below code to generalize for all section on home page only :
@media screen and (max-width: 767px){ .home .x-section >.x-container { padding: 20px !important; } }If you need this on other pages too then remove .home as well.
Hope this helps.
Cheers!
April 12, 2016 at 10:55 am #878531
belayachimarouaneParticipantThanks a lot! yay
April 12, 2016 at 9:49 pm #879266
John EzraMemberYou’re most welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-871071 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
