Mobile Version on Storefront Theme
-
Hi, I am relatively new to using Storefront for my mobile versions …
I am using Woocommerce shopping cart.I usually use a plugin for mobile version, so I am determined to get MOBILE 100% working with Storefront theme for mobile version now. Usually I have avoided this but not this time !!
I was told last time HOW to make my Woocommerce mobile site 2 columns for products to show properly to use the following code:
/* On screens that are 600px or less, make products two columns */
@media screen and (max-width: 600px) {ul.products li.product {
width: 46%;
margin-right:3%;
margin-left: 0px;
}
}It still shows 3 columns of products all squashed.
Then I tried :
/* On screens that are 600px or less, make products two columns */
@media screen and (max-width: 600px) {.site-main ul.products li.product {
width: 46%;
margin-right:3%;
margin-left: 0px;
}
}Still 3 columns, I think something in my original coding is overruling my coding here ? Or not quite the right coding.
Tried this also :
/* On screens that are 600px or less, make products two columns */
@media screen and (max-width: 600px) {
.site-main .columns-2 ul.products li.product {
width: 46%;
margin-right:3%;
margin-left: 0px;
}
}Didn’t work also.
Gosh this is frustrating to find the right coding. I know once I have it right I will know if forever!
ALSO how do I get the Site Header in proportion for mobile version for Portrait and Landscape from the original site ? ie. minimised so it fits in properly. What is the correct coding for this ?
ALSO as I have tabs in the website, info from tabs are displaying 50%, then on the other 50% of mobile view it is showing the Product Title and $$$ and short description.
I need to get them showing 100% width and Tabs info underneath the Product Title, $$$ and Short description.
I can’t seem to get this right either.
Any help greatly appreciated.
Thanks
Kristin
- The topic ‘Mobile Version on Storefront Theme’ is closed to new replies.