Tagged: x
-
AuthorPosts
-
February 27, 2017 at 6:42 pm #1388012
alanjonesonlineParticipantHi there
Is it possible to add padding (or margins) just to the sides (not top and bottom) of the feature image for the blog’s masonry archive/category view. I would like for the image and the text to be flush. If this padding effect the feature image once in the post that would be great. See attached image where I did a quick mock up of what I would like to achieve. Icon stack.
http://www.alanjonesonline.com
Cheers.
February 28, 2017 at 1:31 am #1388379
FriechModeratorHi There,
Thanks for writing in! Please add this on your custom CSS on Customizer.
.archive.category .entry-featured { padding-left: 10%; padding-right: 10%; }Cheers!
February 28, 2017 at 1:46 am #1388388
alanjonesonlineParticipantGreat. Thank you.
February 28, 2017 at 5:28 am #1388590
FriechModeratorYou’re welcome, we’re delighted to assist you with this.
Cheers!
February 28, 2017 at 6:31 pm #1389410
alanjonesonlineParticipantHi there,
One question about this piece of code. Is is possible for it work on the computer and iPad but NOT the on mobile phones?
Cheers.
February 28, 2017 at 11:48 pm #1389777
Prasant RaiModeratorHello There,
Thanks for writing in!
In that case please use following code instead:
@media screen and (min-width: 500px) { .archive.category .entry-featured { padding-left: 10%; padding-right: 10%; } }Thanks.
March 1, 2017 at 2:49 am #1389921
alanjonesonlineParticipantThat’s it. Great thank you.
March 1, 2017 at 4:53 am #1390047
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1388012 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
