Tagged: x
-
AuthorPosts
-
September 27, 2016 at 4:11 pm #1192933
netloverParticipantIs there any way to make the three images where it says who we are, computer repair, etc the same size?
September 27, 2016 at 6:36 pm #1193099
JadeModeratorHi there,
Please add this in the JS customizer:
(function($){ jQuery( ".home #x-section-2 .x-img" ).wrap( "<div class='img-content'></div>" ); })(jQuery);Then add tthis in the CSS cusotmis4r:
.home #x-section-2 .img-content { position: relative; overflow: hidden; padding-bottom: 60%; } .home #x-section-2 .img-content .x-img { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; }Hope this helps.
September 28, 2016 at 8:44 am #1193922
netloverParticipanti added it and nothing seems to have happened.
September 28, 2016 at 9:07 am #1193955
ThaiModeratorHi There,
Please try with this CSS instead:
.home #x-section-2 .x-img { max-height: 200px; width: auto; }http://i.imgur.com/6IYogb8.png
Hope it helps 🙂
September 28, 2016 at 9:24 am #1193991
netloverParticipantthat worked! i’m going to note this for the future sites. does that work across all stacks and expanded demos?
September 28, 2016 at 10:32 am #1194084
RupokMemberHi there,
Glad that it worked. It might not be the same section ID for future site. If you can’t figure out the corect ID, feel free to let us know. We’ll be always there to assist you.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1192933 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
