Tagged: x
-
AuthorPosts
-
July 19, 2016 at 3:53 pm #1094165
ScottParticipantHi Folks!
Okay, I’ve tried everything. There is a huge margin that appears at the bottom of my WooCommerce pages (see attached image). How the heck do I get rid of it, without effecting the bottom margins of the product pages, which don’t have this huge extra margin?
Many thanks for your help!
July 19, 2016 at 3:56 pm #1094171
ScottParticipantThis reply has been marked as private.July 19, 2016 at 7:02 pm #1094369
NicoModeratorHi There,
Thanks for writing in.
Try adding this in your Customizer > Custom > CSS:
.woocommerce li.product{ margin-bottom:10px !important; }Adjust the number to achieve the space you want.
Thanks. Let us know how it goes.
July 21, 2016 at 2:54 pm #1097526
ScottParticipantThe problem with this is that is removes the margin between products. It’s fine on desktop view (and solves my bottom margin problem), but in mobile view, when products stack on top of each other, there’s no margin between them.
It also makes the bottom margin on the single product pages drop into the footer (see attached image).
How do I fix this?
July 21, 2016 at 5:38 pm #1097766
JadeModeratorHi there,
I can’t seem to replicate the issue on my end. I tried to view the area on a smaller screen and it looks correct with a space between the two elements. Were you able to solve it?
July 21, 2016 at 7:16 pm #1097868
ScottParticipantThis reply has been marked as private.July 22, 2016 at 12:01 am #1098212
RadModeratorHi there,
Please change this CSS,
.woocommerce li.product { margin-bottom: 0 !important; }to this,
@media ( min-width: 768px ) { .post-type-archive-product .x-main .products > li { margin-bottom: 0px !important; } }Hope this helps.
July 26, 2016 at 2:38 pm #1104035
ScottParticipantThis reply has been marked as private.July 27, 2016 at 12:04 am #1104615
ChristopherModeratorHi there,
Please update previous code to :
@media ( min-width: 768px ) { .post-type-archive-product .x-main .products > li, .archive .x-main .products > li { margin-bottom: 0; } }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1094165 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
