Jump to content

Can i Change Cart Position Depends upon mobile and desktop device


Recommended Posts

hi friends i am developing my new shop with default bootstrap theme.

 

i have to display cart block in right column and product category in left column in desktop view.

 

and i need to display cart block followed by logo and category block after that in mobile site view... 

 

its possible...

Link to comment
Share on other sites

Yes

 

but these is more a css and html problem than a Pretashop in fact you can change using different ways

 

1) You can detect if you are on mobil and do the changes on the template

 

2) You can change the css base on you size view

 

3) You can use jquery to change the html if you are on mobil

Link to comment
Share on other sites

To prevent duplicate content in your template, I suggest you to do all the checking on the server side.

Just check if its mobile or desktop on the category module display hook.

About the logo you just hide it with css based on screen width like jgamio suggested.

Link to comment
Share on other sites

  • 2 weeks later...

I use a theme in my shop with three blocks, one left, one right and center block .
I would like to define block positions by myself in the mobile view (responsive) because this view only has only one column to define the positions of the blocks.

 

Anyone can explain me how to do this?

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