Hi,
I would like to change the font sizes as they are too big for product title and description in my mobile. Brooklyn Theme
And also, I would like to have 2 products per row in mobile. Can someone help?
Hi,
I would like to change the font sizes as they are too big for product title and description in my mobile. Brooklyn Theme
And also, I would like to have 2 products per row in mobile. Can someone help?
It doesn’t work and I think you can post a reply here.
Someone else help please
Please share your password. It is not working.
Hi,
Its 1234
Thanks for the password. Please add the following code at the bottom of your assets/theme.scss.liquid file.
@media screen and (max-width: 768px){
.template-index .rich-text__heading--large {
font-size: 2.3em;
}
body.template-index, body.template-collection{ font-size: 15px !important; }
}
This will reduce the size of the mobile for the home page and collection page.
Hope this works for you.
Thanks!
Thank you very much! That worked..
Can you help me with fitting 2 products in a row for home page and in collection as well?
Its for Mobile.. And also reduce the font size for Product title in mobile!
Please add the following code.
@media screen and (max-width: 768px){
.template-index #CollectionSection .grid__item.grid-product.medium--one-half{
width: 50%;
}
.template-collection .grid__item.grid-product.medium--one-half{
width: 50%;
}
.template-collection .grid-product__image-link{ width: 86% !important; }
.grid-product__title{ 1em !important; }
}
Hope this works.
Thanks!
@dmwwebartisan The code creates a mess in both web and mobile. I pasted the code in theme.scss.liquid.. Any reason why?
Please remove the old code and try the following code.
@media screen and (max-width: 768px){
.template-index #CollectionSection .grid__item.grid-product.medium--one-half{
width: 50%;
}
.template-collection .grid__item.grid-product.medium--one-half{
width: 50%;
}
.template-collection .grid-product__image-link{ width: 72% !important; }
.grid-product__title{ 1em !important; }
}
@dmwwebartisan I am still running into the same problem It didn’t work properly.. It impacts both the web and phone look!
I checked but my side worked properly but let me check. I will get back to you.
Please remove the old code and try the following code.
@media screen and (max-width: 768px){
.template-index #CollectionSection .grid__item.grid-product.medium--one-half{
width: 50%;
}
.template-collection .grid__item.grid-product.medium--one-half{
width: 50%;
}
.template-collection .grid-product__image-link{ width: 72% !important; }
.grid-product__title{font-size: 1em !important;}
}
Thanks!
Ouh Man !!! That worked so nice.. Much appreciated !! The only thing I would like to change is to have the pics aligned on left and to be center aligned of the product title if just in case there is no 2 pics in a row. Are you able to help me also with deleting extra white spaces on both web and mobile?
Thanks a lot man! You’re the best
Please remove the old code and try the following code.
@media screen and (max-width: 768px){
.template-index #CollectionSection .grid__item.grid-product.medium--one-half{
width: 50%;
}
.template-collection .grid__item.grid-product.medium--one-half{
width: 50%;
}
.template-collection .grid-product__image-link{ width: 100% !important; }
.template-collection .product--wrapper { margin: 0px auto !important;}
.grid-product__title{font-size: 1em !important;}
}
That works so great! Thanks alot man..
I just need to remove extra white spaces in mobile and web.. Too much of white space in home page, collection and in product page as well. I would really appreciate the help..
This is for desktop:
@media screen and (min-width: 769px){
.section-header { margin-bottom: 20px !important; }
.index-sections .shopify-section { margin-top: 50px !important; }
body:not(.template-index) .main-content {
padding-top: 50px !important;
}
}
This is for mobile view.
@media screen and (max-width: 768px){
.index-sections .shopify-section {
margin-top: 25px !important;
}
body:not(.template-index) .main-content {
padding-top: 15px !important;
}
}