Tagged: x
-
AuthorPosts
-
September 9, 2016 at 6:55 pm #1168640
JeypolitanParticipantHey there! 🙂
I recently added a footer to my website (Footer 1) where I have one widget (“The Grid‘s Instagram grid).
1. As you can see in the screenshot, the padding/height of my footer is very large. I would like to reduce the height of my footer so that it only covers the Instagram Grid. How do I do this with CSS? I researched in the forum and found this code:
.x-colophon.bottom {
padding: 20px 0;
}This code above did not work unfortunately.
2. Also, as you can see in the screenshot, all my Instagram pictures are different sizes. That makes the widget look very messy. I have ticked the “Force Item Sizes” option inside of The Grid‘s Settings, but they are still different sizes. Please advise 🙂
All the best!
JenniferSeptember 9, 2016 at 6:57 pm #1168643
JeypolitanParticipantThis reply has been marked as private.September 10, 2016 at 2:11 am #1169008
RadModeratorHi there,
Thanks for writing in.
1. This should do it, since it’s Footer’s top
.x-colophon.top { padding: 0; }2. They are the same sizes, it’s just that image itself has white spaces. Like from here https://scontent.cdninstagram.com/t51.2885-15/s640x640/sh0.08/e35/14134643_1236985223000136_1020726312_n.jpg?ig_cache_key=MTMzMTkyNDg2NzkxMzYyOTc3Mw%3D%3D.2.l
Thanks!
September 10, 2016 at 2:02 pm #1169439
JeypolitanParticipantHi there,
Thank you for your answer.
1. Unfortunately, the code given above does not work or change anything.
2. I understand. Is there a setting in which you can automatically resize/crop all the images to the same size?
All best,
JenniferSeptember 11, 2016 at 1:17 am #1169824
ChristopherModeratorHi there,
#1 Find this code and close curly bracket for media query rule :
@media (min-width: 980px){ li.menu-item.x-menu-item.x-menu-item-search { float: right; margin-top: 15px; margin-right: 5px; }#2 Resizing images will change the size of all images and it can’t effect only on white space around images.
Hope it helps.
September 12, 2016 at 9:15 am #1171360
JeypolitanParticipantHi there,
I don’t quite understand what you mean with “Find this code and close curly bracket for media query rule :”.
Where am I supposed to find this code? I tried pasting it as a code in my CSS field, but it did not work or change anything.Regards,
JenniferSeptember 12, 2016 at 10:12 am #1171467
JoaoModeratorHi Jeniffer,
You will find this code at Appereance > Customizer > Custom > CSS.
As you can see the code has 2x { but just 1x } and that is affecting all the codes below it.
I have closed it for you, now you can insert the code and it should work.
Hope it helps
Joao
September 12, 2016 at 1:53 pm #1171880
JeypolitanParticipantThat worked perfectly – thank you so much!! 🙂
September 12, 2016 at 2:07 pm #1171895
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1168640 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
