Tagged: x
-
AuthorPosts
-
October 30, 2016 at 11:52 am #1236772
Guillaumeg06ParticipantHello there,
I have technical question :
1/ I would like to fix the height of my columns whatever the size of the screen
I try something like this@media (min-width: 1200px) {
.text {padding-bottom: 15px;}
}
but no lucksee picture : http://hpics.li/7bc2c7b
2/ I would like to get a gap between the content and the sidebar for mobile view
see picture: http://hpics.li/4708899
Hope you can help
Best
October 30, 2016 at 11:53 am #1236773
Guillaumeg06ParticipantThis reply has been marked as private.October 30, 2016 at 12:54 pm #1236821
Guillaumeg06ParticipantJust to correct something
In the 1/ here in my exemple I don’t try to fix the height of the column but the height of my “text element” but if it simple to fix the column height I listen your advice.
Cheers
October 30, 2016 at 5:04 pm #1236989
NicoModeratorHi There,
Thanks for writing in.
1. Try adding !important
@media (min-width: 1200px) { .text {padding-bottom: 15px !important;} }2. add this in your custom CSS:
@media (max-width: 979px) .x-header-landmark+.x-container>.offset>.x-sidebar { margin-top: 59px !important; }Adjust the numbers in max-width to adjust which size of screensize the adjustment will show and how far the gap is.
Let us know how it goes.
Thanks.
October 31, 2016 at 4:19 am #1237577
Guillaumeg06ParticipantThank you !
for the 2/ not working
October 31, 2016 at 4:51 am #1237613
Paul RModeratorHi,
Sorry, there are missing brackets on the code provided above.
Kindly change it to this.
@media (max-width: 979px) { .x-header-landmark+.x-container>.offset>.x-sidebar { margin-top: 59px !important; } }Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1236772 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
