qiladah Posted October 19, 2018 Share Posted October 19, 2018 Hello, I created my shop on prestashop as it looks cool. my only concern is how can I change the home page layout in mobile view only ( displaying 2 products in on row instead of one) Link to comment Share on other sites More sharing options...
heloooo Posted June 11, 2024 Share Posted June 11, 2024 On 10/19/2018 at 1:32 PM, qiladah said: Hello, I created my shop on prestashop as it looks cool. my only concern is how can I change the home page layout in mobile view only ( displaying 2 products in on row instead of one) Expand Any one help in this matter plz Link to comment Share on other sites More sharing options...
Marz12 Posted June 11, 2024 Share Posted June 11, 2024 Hello, if you want to change the home page layout in mobile view only, you can - create a child theme on the basis of your current theme, - edit [yourtheme]/assets/css/custom.css and setup your layout for any screen width. For instance: @media (max-width:767px){.links .row .col-md-6 {width: 100%;}} @media (max-width:640px){#index #carousel{display:none;}} Good luck. Link to comment Share on other sites More sharing options...
heloooo Posted June 11, 2024 Share Posted June 11, 2024 On 6/11/2024 at 9:04 AM, Marz12 said: Hello, if you want to change the home page layout in mobile view only, you can - create a child theme on the basis of your current theme, - edit [yourtheme]/assets/css/custom.css and setup your layout for any screen width. For instance: @media (max-width:767px){.links .row .col-md-6 {width: 100%;}} @media (max-width:640px){#index #carousel{display:none;}} Good luck. Expand Thanks 👍 Link to comment Share on other sites More sharing options...
heloooo Posted June 11, 2024 Share Posted June 11, 2024 On 6/11/2024 at 9:04 AM, Marz12 said: Hello, if you want to change the home page layout in mobile view only, you can - create a child theme on the basis of your current theme, - edit [yourtheme]/assets/css/custom.css and setup your layout for any screen width. For instance: @media (max-width:767px){.links .row .col-md-6 {width: 100%;}} @media (max-width:640px){#index #carousel{display:none;}} Good luck. Expand Bro please explain some more Because i just downloaded the prestashop Link to comment Share on other sites More sharing options...
heloooo Posted June 12, 2024 Share Posted June 12, 2024 On 10/19/2018 at 1:32 PM, qiladah said: Hello, I created my shop on prestashop as it looks cool. my only concern is how can I change the home page layout in mobile view only ( displaying 2 products in on row instead of one) Expand Anyone help please.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now