Jump to content

Reducing product image size for few pages not all

Recommended Posts

Site URL: https://www.frillup.ch/shop

I want to reduce the size of product photos for mobile for several pages. I tried using this code but it won't work. I do not understand why.

The page i'd like to reduce size are:

https://www.frillup.ch/shop

https://www.frillup.ch/pure-pashmina

https://www.frillup.ch/pashmina-with-silk

https://www.frillup.ch/pashmina-with-bamboo

https://www.frillup.ch/yakwool-with-bamboo

/* CSS FOR TABLET AND MOBILE */
@mobile:  ~"only screen and (max-width: 640px)";
@tablet:  ~"only screen and (min-width: 641px) and (max-width: 949px)";

/* CSS FOR TABLET */
@media @tablet {
/* Insert Code for Tablet Below This Line*/

/* Insert Code for Tablet Above This Line */
}

/* CSS FOR MOBILE */
@media @mobile {
/* Insert Code for Mobile Below This Line*/
#collection-id, #collection-id , #collection-id  
.sqs-block-image {
  width: 70%;
  margin: 0 auto;
}
}
/* Insert Code for Mobile Above This Line */
}

 

Link to comment
  • Replies 7
  • Views 663
  • Created
  • Last Reply

Top Posters In This Topic

On 4/29/2021 at 8:46 PM, Aashini said:

I want to have two items/ row on mobile and tab

Add to Design > Custom CSS

/* Product 2 columns mobile */
@media screen and (max-width:767px) {
	.products.collection-content-wrapper .list-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-column-gap: 10px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Also, the site has some small problems. Do you want to fix these?

Site URL – https://www.frillup.ch/

1. (Mobile-Footer) Language overlap search.

frillup.ch-01-min.png

2. (Mobile-Footer) Reduce space between Shop – Privacy Policy

frillup.ch-02-min.png

3. (Tablet-Footer) Change search icon to white color?

frillup.ch-03-min.png

4. (Tablet-Our Story) Increase text wdith?

frillup.ch-04-min.png

5. (Mobile-Shop) Change to 2 items/row?

frillup.ch-05-min.png

6. (Mobile-Products) Add breadcrumb on top of product?

frillup.ch-06-min.png

7. (Mobile-Products) The arrows are small. Want to increase size or add darker background?

frillup.ch-07-min.png

8. (Mobile-Products) Change related products to 2 items/row?

frillup.ch-08-min.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 4/30/2021 at 5:32 PM, tuanphan said:

Also, the site has some small problems. Do you want to fix these?

Site URL – https://www.frillup.ch/

1. (Mobile-Footer) Language overlap search.

frillup.ch-01-min.png

2. (Mobile-Footer) Reduce space between Shop – Privacy Policy

frillup.ch-02-min.png

3. (Tablet-Footer) Change search icon to white color?

frillup.ch-03-min.png

4. (Tablet-Our Story) Increase text wdith?

frillup.ch-04-min.png

5. (Mobile-Shop) Change to 2 items/row?

frillup.ch-05-min.png

6. (Mobile-Products) Add breadcrumb on top of product?

frillup.ch-06-min.png

7. (Mobile-Products) The arrows are small. Want to increase size or add darker background?

frillup.ch-07-min.png

8. (Mobile-Products) Change related products to 2 items/row?

frillup.ch-08-min.png

  • First of all thank you for spotting these errors. And secondly, I would very much want to change it.
  • The code for 2 products in a row worked. I have created several pages using tag filters so that visitors can visit these pages instead of going through all the products. This code for 2 products in a row didn't apply in these pages. Or,

Shop.thumb.jpg.e86ffa0cd637a839c9e4af2b0ae925d9.jpg1515078618_YakwoolwithBamboopage.thumb.jpg.a6d3d66eb2d94c2310d267ef4ab447d0.jpg

  • Is there any way that I can create a filter/sort option in the shop to filter the products according to their types (tags) or price ? I have attached example of Amazon. I don't like the way shop page looks both on mobile or desktop version 1717194029_amazonexample2.JPG.711a544c1bd1fd8a7dd3ebbb8cb0651d.JPG610017730_amazonexample1.thumb.JPG.fcfbb0ca9d5937dada9e446ae638d47f.JPG
  • 2064010764_Pagefilter.thumb.JPG.08b603e85436198b647a94dce2c64aa0.JPG
Link to comment
On 5/2/2021 at 5:06 PM, Aashini said:
  • First of all thank you for spotting these errors. And secondly, I would very much want to change it.
  • The code for 2 products in a row worked. I have created several pages using tag filters so that visitors can visit these pages instead of going through all the products. This code for 2 products in a row didn't apply in these pages. Or,

Shop.thumb.jpg.e86ffa0cd637a839c9e4af2b0ae925d9.jpg1515078618_YakwoolwithBamboopage.thumb.jpg.a6d3d66eb2d94c2310d267ef4ab447d0.jpg

  • Is there any way that I can create a filter/sort option in the shop to filter the products according to their types (tags) or price ? I have attached example of Amazon. I don't like the way shop page looks both on mobile or desktop version
  •  

Can you share link to page where the code didn't work?

To create more filter, you can consider Filter Plugin.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.