Tagged: x
-
AuthorPosts
-
March 16, 2017 at 5:00 am #1409356
ItwebdevelopmentParticipantHi, when I click on the images here:
https://gyazo.com/d39b020e7d51da42d13c30c9f87b97d8
On mobile it puts the bottom of the light box at the bottom of the screen.
Like this:
https://gyazo.com/371e6aa506fc8263803884e15ce7c432
I want to center the lightbox to the screen.
Here is the URL:
https://www.dzdrones.com/product/carbon-fiber-dz-drone-with-goggles-and-remote/
Can you help?
March 16, 2017 at 5:58 am #1409416
ChristianModeratorHey there,
Please add the code below in your Appearance > Customize > Custom > Global CSS
.woocommerce .pp_woocommerce .ppt { display: none !important; }Thanks.
March 16, 2017 at 7:05 am #1409464
ItwebdevelopmentParticipantHi I did this but its still loading the lightbox at the bottom and won’t center it until I scroll up or down. Is there anyway to fix this?
March 16, 2017 at 9:43 am #1409660
RupokMemberHi there,
I have checked and it seems opening on top of the page on my end.
You can add this under Custom > CSS in the Customizer..pp_pic_holder.pp_woocommerce { top: 20px !important; }Let us know if that helps.
March 16, 2017 at 2:18 pm #1410036
ItwebdevelopmentParticipantWorked! Thanks! But can we make it so this top: 20px only happens on mobile devices? Is that possible?
Thanks!
March 16, 2017 at 10:06 pm #1410588
Prasant RaiModeratorHello There,
Yes, that possible. Please use following CSS:
@media only screen and (max-width: 500px) { .pp_pic_holder.pp_woocommerce { top: 20px !important; } }Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1409356 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
