I have a slight issue with a coupe of viewport sizes.
The image below is from 768x1024 and as you can see it is a bit squished.
Does anyone know what to change to alter the breakpoint so that it is not all squished up?
Slight Layout Issue
- tessthepup
- Certified Developer
- Posts: 382
- Joined: Mon Mar 01, 2021 5:55 pm
- Phoenix Version:
- Has thanked: 47 times
- Been thanked: 62 times
Slight Layout Issue
You do not have the required permissions to view the files attached to this post.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Slight Layout Issue
You are not clear what element you consider 'squished'.tessthepup wrote: ↑Sat Mar 05, 2022 4:48 pm The image below is from 768x1024 and as you can see it is a bit squished.
Does anyone know what to change to alter the breakpoint so that it is not all squished up?
Guessing you mean 'Featured Products' elements?
That is an addon so don't know where that is configured. It could be in the addon files or taken from https://phoenixcart.org/phoenixcartwiki ... ct_Listing Products Per Row
Your browser Dev Tools should allow you to play with changes and 768x1024 is around the sm to md breakpoint so play with that.
- tessthepup
- Certified Developer
- Posts: 382
- Joined: Mon Mar 01, 2021 5:55 pm
- Phoenix Version:
- Has thanked: 47 times
- Been thanked: 62 times
Re: Slight Layout Issue
Thank you for your reply.heatherbell wrote: ↑Sun Mar 06, 2022 6:19 amYou are not clear what element you consider 'squished'.tessthepup wrote: ↑Sat Mar 05, 2022 4:48 pm The image below is from 768x1024 and as you can see it is a bit squished.
Does anyone know what to change to alter the breakpoint so that it is not all squished up?
Guessing you mean 'Featured Products' elements?
That is an addon so don't know where that is configured. It could be in the addon files or taken from https://phoenixcart.org/phoenixcartwiki ... ct_Listing
Your browser Dev Tools should allow you to play with changes and 768x1024 is around the sm to md breakpoint so play with that.
Basically everything is 'squished' Featured Products, New Products, Related Products and Product Listing.
I need the layout to switch from 5 products across to a maximum of 3 or 4.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: Slight Layout Issue
So, I can still only guess, only you can see the code in the files you are using but you can confirm the breakpoint classes on the elements with your browser Dev Tools.tessthepup wrote: ↑Sun Mar 06, 2022 9:18 am Basically everything is 'squished' Featured Products, New Products, Related Products and Product Listing.
- tessthepup
- Certified Developer
- Posts: 382
- Joined: Mon Mar 01, 2021 5:55 pm
- Phoenix Version:
- Has thanked: 47 times
- Been thanked: 62 times
Re: Slight Layout Issue
I have managed to sort my issues by changing each of the template files (in override of course) fromheatherbell wrote: ↑Sun Mar 06, 2022 9:48 amSo, I can still only guess, only you can see the code in the files you are using but you can confirm the breakpoint classes on the elements with your browser Dev Tools.tessthepup wrote: ↑Sun Mar 06, 2022 9:18 am Basically everything is 'squished' Featured Products, New Products, Related Products and Product Listing.
Code: Select all
<div class="col mb-2">Code: Select all
<div class="col col-md-4 col-sm-4 mb-2">-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Slight Layout Issue
Note for others who may be reading this: the recommended process is to change the product listing layout as described at https://phoenixcart.org/phoenixcartwiki ... ct_Listing under "Products Per Row".
Doing things that way avoids having to override the template files and changes all of them at once.
Doing things that way avoids having to override the template files and changes all of them at once.