Change mobile product view for Brooklyn Theme

Solved
WinstonT
New Member
8 0 0

Hello,

 

New to the shoplift forum. 

 

I'm currently using the Brooklyn theme - I like the overall feel however, I do not particularly find that the mobile version is optimized for mobile viewing experience. I do however, really like how the Debut theme has setup their mobile side to view products (see below):

 

Screen Shot 2019-06-21 at 12.08.15 AM.png

The mobile view for products in the Debut theme is very simple but effective I find. In the Brooklyn theme, in the mobile side it displays the products in a "stacked" view and I find it's not very pleasant. You'd have to scroll all the way down to view every item. 

 

Can anyone please help/advise on how I can code the Debut theme style for product display in the mobile viewing into the Brooklyn theme for mobile? I did go through several of the other posts in the community but was not able to find a solution for my problem.

 

Please let me know if there are any questions or concerns with my inquiry. 

Accepted Solution (1)
Jasoliya
Shopify Expert
4728 616 1184

This is an accepted solution.

Follow this:

1. Go to Online Store->Theme->Edit code
2. Snippet-> collection-template.liquid -> find grid_item_width and add this small--one-half so it look like bellow:

{% assign grid_item_width = 'medium--one-half large--one-third small--one-half' %}
Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here

View solution in original post

Replies 37 (37)
Jasoliya
Shopify Expert
4728 616 1184

This is an accepted solution.

Follow this:

1. Go to Online Store->Theme->Edit code
2. Snippet-> collection-template.liquid -> find grid_item_width and add this small--one-half so it look like bellow:

{% assign grid_item_width = 'medium--one-half large--one-third small--one-half' %}
Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
WinstonT
New Member
8 0 0

Thank-you Jasoliya!

 

Worked like a charm!

Leeha
Tourist
15 0 1

Hi I have the same problem with my brooklyn theme, and the solution didn't work for my store on mobile. Another solution maybe?

Jasoliya
Shopify Expert
4728 616 1184

send your store url

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
Leeha
Tourist
15 0 1
Hi Jasoliya,

My URL site : https://www.natureetbambou.com/collections/decoration-bambou
I think we already worked together on my shop for this problem. And the
first solution you gave me didn't work.

I would like to keep the current products view on desktop, but have the
debut theme mobile side to view products like (see below):

[image: image.png]

Your first solution was : >> Add this css in *Asset->theme.scss* file at
bottom
*@media only screen and (max-width: 767px) { #CollectionSection
.grid-uniform .grid__item{width:} }*
Jasoliya
Shopify Expert
4728 616 1184

HI @Leeha 

If you want to show grid view of product listing then you can do this:

1. Go to theme editor->collection page->select grid from "Grid style" (See image)

collections.png

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
Leeha
Tourist
15 0 1
Hi Jasoliya

I think you forgot to join your image. So can't follow your explications.
Jasoliya
Shopify Expert
4728 616 1184

I can see image amy be at your side cant load proper.

collections.png

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
Leeha
Tourist
15 0 1
Ohhh ok ok now I can see.

This solution didn't works. When I switch to "Grid", only the desktop view
change not the mobile version.
Jasoliya
Shopify Expert
4728 616 1184


1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss Or theme.css-> paste bellow code in bottom of file

@media only screen and (max-width: 767px) {

#CollectionSection .grid-uniform .grid__item{width: 50% !important;}

}

 

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
Tadiwanashe
New Member
1 0 0

Hey can i get help for the same thing? i already tried pasting those codes. Please help! i would appreciate it my store is 

www.afroodrip.com

 

i am trying to put products 2x2 grid (side by side). 

Yamby
Tourist
14 0 1
If I understand correctly this makes you have two products display on the mobile view so you don’t have to scroll down single products? I couldn’t find it in mine, I also use the Brooklyn theme. Please advice.
Jasoliya
Shopify Expert
4728 616 1184

As i can see you have 2 grid don mobile already. 

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
VictoriaGuillem
New Member
5 0 0

i have this problem too !!! please help me

Jasoliya
Shopify Expert
4728 616 1184

Hi @VictoriaGuillem 

Send your store url.

Best regard 

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
VictoriaGuillem
New Member
5 0 0

24723F62-2955-47A9-88BD-1D8917AD9EAD.png

www.oholybijoux.com 

 

thanks .

 

the problem is on the deskop in my collection page I have 2 grids of images but on the mobile version I only have 1 ... yet on the "product recommendation" page it shows me 2 products in small size and this this is how i want

0AEB620F-8518-44F9-AF22-FA237B6C0905.png

 

Jasoliya
Shopify Expert
4728 616 1184

1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file

@media only screen and (max-width: 576px) {
    .grid-uniform .grid-product {width:50%;}
    .grid-uniform .grid-product:nth-child(2n+1) {clear: both;} 
}

 

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
VictoriaGuillem
New Member
5 0 0

its dosent work.... 😞 im so sad ...

Jasoliya
Shopify Expert
4728 616 1184

I cant see may give code you have added ?

You have timber.scss file so add in this file

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
VictoriaGuillem
New Member
5 0 0

thanks you are amazing !!!!!!!!! its work !!!! thanks very much !!!!!!!! you made my day you are my savior !!!!!

humanity
New Member
1 0 0

This didn't work for me 😞 could you please help me??

ayellowgiraffe
Excursionist
29 0 47

Perfect!

malk
Tourist
12 0 1

Can you please help me out? I really want to show more than one product at a time on mobile. My website is www.shopmalk.com. Thank you! 

Jasoliya
Shopify Expert
4728 616 1184

Hi @malk 

1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file

 @media only screen and (max-width: 767px) {
.grid-uniform .grid__item.grid-product{    width: 50%;}        
    }
Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
malk
Tourist
12 0 1
Thank you so much!! That did work but now I get random blank spaces next to some items. I’m attaching a screen shot. Can you please take a look? Thank you!!

malk
Tourist
12 0 1

Thank you so very much! Can you please let me know how to get rid of random blank spaces that I get next to some products? IMG_8658.PNGIMG_8657.PNG

Jasoliya
Shopify Expert
4728 616 1184

Add this code:

@media only screen and (max-width: 767px) {
.grid-uniform .grid__item.grid-product:nth-child(2n+1) {
    clear: both;
}}

 

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
malk
Tourist
12 0 1

Awesome, that worked! Thank you so so much!!! 

THCLLC
New Member
2 0 0

@Jasoliya Hello, I have the minimal theme and I'm also just trying to have the featured products on a grid view instead of stacked. On desktop its grid view but changes to stacked on mobile can you help my URL is thehustlersculture.com

Jasoliya
Shopify Expert
4728 616 1184

I can see you have already grid view on home page for feature product section.

Best regard 

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
THCLLC
New Member
2 0 0
Yea I just kept trying different sequences and finally got it right.
Adam_McLoughlin
Tourist
12 0 3

@Jasoliya This worked great for my product page on mobile!!

I was wondering if there was a similar code update that could be done in order to also make the 'frontpage' collection images half size on mobile? Currently my Popular Products collection which is featured on the homepage, still has full size images on mobile so only one product per width of the screen.

Thanks!

Jasoliya
Shopify Expert
4728 616 1184

send me store url

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
Adam_McLoughlin
Tourist
12 0 3
Adam_McLoughlin
Tourist
12 0 3

@Jasoliya any luck? Thanks!

Jasoliya
Shopify Expert
4728 616 1184

so you want to make 2 product per row in mobile for feature collection section ?

Want custom changes? hire me.
3 months of Shopify are available for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles.
Want to get Free review and advice for sale on store ?? just text me here
Adam_McLoughlin
Tourist
12 0 3

Yeah that’s correct…if possible? I have 6 products in the ‘popular products’ section and thought it may look better on mobile if there were 2 side by side rather than currently it’s a large single product that you have to scroll down through. 
if not possible, no worries!