- 🇩🇪Germany spuky
Problem I see here is to know if it is a mobile view..
which is not handled by PHP but you could do that in the CSS of your theme@media (max-width: 599px) { // remove the last child ol.breadcrumb > li:last-child { display: none; } // remove the > on the child before ol.breadcrumb > li:nth-last-child(2):after { display: none; } }
your question was almost 5 years ago.. so I think it won't help you but maybe sombody thats googleling for a solution
we could maybe provide different CSS libraries for common use cases so leaving the Feature request open.
First question would be what use cases to cover
- Status changed to Closed: won't fix
9 months ago 2:07pm 27 June 2024 - leymannx Berlin
@spuky is totally right: This can't be fixed in PHP.
I would leave representational subtleties to the themers. Maintaining opinionated CSS should be out of scope for Easy Breadcrumb.