2 items per row

Phoca Cart - complex e-commerce extension
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 262
Joined: 07 Nov 2018, 14:55

2 items per row

Post by Nidzo »

How can I display 2 items per row in category view on mobile phone?
Thanks!
s4evision
Phoca Member
Phoca Member
Posts: 36
Joined: 07 Jan 2021, 15:41

Re: 2 items per row

Post by s4evision »

Good Day Nidzo,

Please follow this link to where Jan helped me solve my problem in mobile view. i believe this will help you too:

viewtopic.php?f=44&t=62725

Have a nice day.

Ps: Thanks again Jan.

Image
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 262
Joined: 07 Nov 2018, 14:55

Re: 2 items per row

Post by Nidzo »

Thanks s4evision !
I made override but still struggling with this problem. Can you share your override files and image sizes?
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 262
Joined: 07 Nov 2018, 14:55

Re: 2 items per row

Post by Nidzo »

This thread didn't help either :x
viewtopic.php?f=35&t=61766
s4evision
Phoca Member
Phoca Member
Posts: 36
Joined: 07 Jan 2021, 15:41

Re: 2 items per row

Post by s4evision »

Hi Nidzo,

Go to:
public_html/administrator/components/com_phocacart/libraries/phocacart/render/style.php

on line 67

$s['c']['col.xs12.sm3.md3'] = 'col-xs-12 col-sm-3 col-md-3';

Change it to:

$s['c']['col.xs12.sm3.md3'] = 'col-xs-6 col-sm-3 col-md-3';

this will give you the desired effect.

Ps: Sorry it took me so long had a bit of an emergency to take care of.

let me know if it works.
Eugene
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 262
Joined: 07 Nov 2018, 14:55

Re: 2 items per row

Post by Nidzo »

Unforunately it didn't help. Tried all possible combinations, another templates but nothing worked. :cry:

This is the url: https://www.unaserbica.org/knjige-za-humanost
s4evision
Phoca Member
Phoca Member
Posts: 36
Joined: 07 Jan 2021, 15:41

Re: 2 items per row

Post by s4evision »

Hi Nidzo,

Private message me please i have a way to help you.

thanks.
Post Reply