Tagged: x
-
AuthorPosts
-
May 8, 2016 at 12:35 pm #981203
rogerskeriParticipantHello,
When viewing a website that I’m creating, the social media images are not responsive on mobile phones and show up really large. Is there a way to downsize the images somehow to where they look much cleaner when viewing the website on mobile devices?
May 8, 2016 at 12:36 pm #981204
rogerskeriParticipantThis reply has been marked as private.May 8, 2016 at 6:10 pm #981374
RadModeratorHi there,
Thanks for writing in.
What social images you’re currently referring? Is it the icons? Would you mind providing some details of how I can reproduce this issue on my end. Screenshot will help too 🙂
Thanks!
May 8, 2016 at 7:22 pm #981414
rogerskeriParticipantHere’s what the images are looking like on mobile devices. They are too large. I will probably need to create separate id’s for each one, yeah?
May 8, 2016 at 9:31 pm #981590
NicoModeratorHi There,
Add this in your customizer’s custom CSS this will adjust the size of the colum:
@media (max-width: 767px) .icon-social-media .x-column.x-sm { float: left; width: 20%; margin-right: 0; }Adjust the width to adjust the size of the icon in mobile devices.
Hope it helps.
Thanks.
May 11, 2016 at 10:22 pm #987085
rogerskeriParticipantNo, it didn’t work at all 🙁
May 11, 2016 at 11:59 pm #987162
FriechModeratorHi There,
Add a class to each of those images icon.
e.g.
myclassAnd then add this on your custom css
@media (max-width: 480px) { .myclass { max-width: 25%; margin: 0 auto 12px; } }Hope it helps, Cheers!
May 12, 2016 at 6:37 pm #988687
rogerskeriParticipantOk, this works great. I added some more css styling to make the images inline. Now, I have an issue with the images being stuck together. I’ve tried adjusting the padding to separate them, but to no avail. Can you assist?
May 12, 2016 at 10:55 pm #989070
RupokMemberHi there,
Thanks for updating. Let’s add the below code within your media query :
.x-img.myclass > img { padding: 10px; }Hope this helps.
Cheers!
May 13, 2016 at 6:05 pm #990448
rogerskeriParticipantBOOM!!!!! IT WORKS! THANK YOU!!!!!!!!!!!!!!!!!! YOU GUYS ARE THE BEST!
May 13, 2016 at 11:05 pm #990822
Prasant RaiModeratorHappy to hear that. Feel free to ask us again. Have a great day! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-981203 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
