Tagged: x
-
AuthorPosts
-
May 25, 2016 at 1:47 am #1008590
LelyModeratorHello Alvin,
Please add class mobile-spacing on the header class field. Then add the following CSS:
@media (max-width: 480px){ .mobile-spacing{ margin-top:20px; } }Above CSS means that if you add the class mobile-spacing on any element, it will add 20px top margin when the on mobile screen or when the size is <=480px;
To implement it on other pages or parts, just add class v-align-section on th content band/section class field and the class v-center to the column class field.
Then update above CSS to this:
@media (min-width: 767px) { .v-align-section { position:relative; } .v-align-section v-center { position: absolute; right: 0; top: 50%; margin-top:-94px; } }Hope this helps.
May 25, 2016 at 2:03 am #1008603
leverpunchParticipantThis reply has been marked as private.May 25, 2016 at 2:13 am #1008608
LelyModeratorHello Alvin,
Please update the above CSS to this:
@media (min-width: 767px) { .v-align-section { position:relative; } .v-align-section .v-center { position: absolute; right: 0; top: 50%; margin-top:-94px; } }We have a typo error on this line: .v-align-section v-center {. Should be this:.v-align-section .v-center {. I missed the dot. We’re sorry for the inconvenience. Thank you for understanding.
May 25, 2016 at 2:42 am #1008636
leverpunchParticipantThis reply has been marked as private.May 25, 2016 at 3:01 am #1008654
ChristopherModeratorHi there,
Please remove the class
mobile-spacingfromspantag and add it toh2tag.Update your code to :
@media (max-width: 480px){ .mobile-spacing { margin-top:30px !important; } .mobile-header-font-size { font-size: 22px !important; font-weight: 400 !important; } }Hope it helps.
May 25, 2016 at 3:50 am #1008705
leverpunchParticipantThis reply has been marked as private.May 25, 2016 at 5:21 am #1008789
Paul RModeratorHi Alvin,
I can’t seem to replicate the issue on my end.
Please clear your mobile browser cache and try again.
Thanks
May 25, 2016 at 12:18 pm #1009450
leverpunchParticipantThis reply has been marked as private.May 25, 2016 at 1:27 pm #1009564
leverpunchParticipantThis reply has been marked as private.May 25, 2016 at 4:09 pm #1009809
JadeModeratorHi there,
Please add a class to the column that has a negative margin on desktop then add this CSS:
@media (max-width: 767px) { .no-margin-mobile { margin-top: 0 !important; } }Please change no-margin-mobile to the class name you will add on the column.
Hope this helps.
May 25, 2016 at 8:55 pm #1010250
leverpunchParticipantThis reply has been marked as private.May 25, 2016 at 11:01 pm #1010404
FriechModeratorHi There,
Define a class centered-columns on your custom css in customizer.
@media (max-width: 767px) { .centered-columns { margin-right: auto !important; margin-left: auto !important; } }And then apply this class centered-columns on your columns that you want to be center in mobile.
Hope it helps, Cheers!
May 26, 2016 at 12:33 am #1010483
leverpunchParticipantThis reply has been marked as private.May 26, 2016 at 12:34 am #1010485
leverpunchParticipantThis reply has been marked as private.May 26, 2016 at 1:06 am #1010519
Rue NelModeratorThis reply has been marked as private. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1000928 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
