Jump to content

changing the layout of the mobile view


qiladah

Recommended Posts

  • 5 years later...
On 10/19/2018 at 6: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) 

 

IMG_4175.jpg

Any one help in this matter plz 

 

Link to comment
Share on other sites

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

4 minutes ago, 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.

 

Thanks 👍 

Link to comment
Share on other sites

3 hours ago, 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.

 

Bro please explain some more

Because i just downloaded the prestashop 

 

Link to comment
Share on other sites

On 10/19/2018 at 6: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) 

 

IMG_4175.jpg

Anyone help please....

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...