Jump to content

Mobile : replace breadcrumb by a simple link to last category


floleo46

Recommended Posts

Hello,

I'm on prestashop 1.7.6.4

On mobile, on category page, i'd like to replace the breadcrumb by a simple "back" link that links to the parent category.

Let's say my breadcrumb is : Home - Category A - Category B - Current category


I'd like the link to do :

< Category B

 

In css i already did this when max-width:767px (and the opposit when min-width:768px)

#category .breadcrumb {display:none;}

#category .replacebread{display:block;}

Can you help me ?

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