2 items per row

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

2 items per row

Post by Nidzo » 13 Jan 2022, 21:27

How can I display 2 items per row in category view on mobile phone?
Thanks!

s4evision
Phoca Member
Phoca Member
Posts: 33
Joined: 07 Jan 2021, 15:41

Re: 2 items per row

Post by s4evision » 17 Jan 2022, 15:20

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 Enthusiast
Phoca Enthusiast
Posts: 55
Joined: 07 Nov 2018, 14:55

Re: 2 items per row

Post by Nidzo » 19 Jan 2022, 23:38

Thanks s4evision !
I made override but still struggling with this problem. Can you share your override files and image sizes?

User avatar
Nidzo
Phoca Enthusiast
Phoca Enthusiast
Posts: 55
Joined: 07 Nov 2018, 14:55

Re: 2 items per row

Post by Nidzo » 23 Jan 2022, 22:52

This thread didn't help either :x
viewtopic.php?f=35&t=61766

s4evision
Phoca Member
Phoca Member
Posts: 33
Joined: 07 Jan 2021, 15:41

Re: 2 items per row

Post by s4evision » 24 Jan 2022, 11:32

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 Enthusiast
Phoca Enthusiast
Posts: 55
Joined: 07 Nov 2018, 14:55

Re: 2 items per row

Post by Nidzo » 27 Jan 2022, 21:36

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

Post Reply