Jump to content

changing the layout of the mobile view


qiladah

Recommended Posts

  • 5 years later...

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

  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

  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

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...