Tagged: x
-
AuthorPosts
-
August 20, 2016 at 6:02 pm #1139770
piexecParticipantI have this CSS now in my Customizer:
@media (max-width:768px){
.woocommerce div.product .summary, .woocommerce-page div.product .summary{
width: 55%;
margin-left: -52px !important;
}
.woocommerce-main-image {
max-width: 300px;
}
}
.woocommerce a.x-img > img {
width: 50%;
}But the gray border is not wrapping to the image. Can you please help with that.
Thanks in advance!
August 21, 2016 at 4:50 am #1140168
Rue NelModeratorHello There,
Thanks for writing in! Please update your code and use this instead;
@media (max-width:768px){ .woocommerce div.product .summary, .woocommerce-page div.product .summary{ width: 55%; margin-left: -52px !important; } .woocommerce-main-image { max-width: 300px; } } .woocommerce a.x-img { width: 50%; } .woocommerce a.x-img > img { width: auto; }
Hope this helps.
August 22, 2016 at 6:56 pm #1142279
piexecParticipantGetting closer.
Here is what I have now:
/*shrink product image*/
@media (max-width:768px){
.woocommerce div.product .summary,
.woocommerce-page div.product .summary{
width: 55%;
margin-left: -52px !important;
}.woocommerce-main-image {
max-width: 300px;
}
}.woocommerce a.x-img {
width: 70%;
}/*move review stars*/
.woocommerce div.product .images {
float: left;
width: 34%;
margin-right: 10px;
}August 22, 2016 at 6:57 pm #1142281
piexecParticipantHow do I get the pricing, etc to left align to the picture better?
August 23, 2016 at 2:50 am #1142712
ChristopherModeratorHi there,
Please find and remove this code:
.woocommerce a.x-img { width: 70%; }Update your code to :
.woocommerce div.product .images { float: left; width: 28%; margin-right: 10px; } .woocommerce div.product .summary { width: 68%; }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1139770 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
