Hide the leading sections of the breadcrumb

bhockensmithbhockensmith Registered Users Posts: 265 Major grins
edited August 3, 2016 in SmugMug Customization
How do I go about removing the first few sections of a breadcrumb. I'm not talking about just collapsing it with the DISPLAY FULL BREADCRUMB set to OFF either. I don't want people to be able to navigate back so far. There was customization code previous used to hide the leading sections.

Comments

  • TomRoperTomRoper Registered Users Posts: 48 Big grins
    edited August 10, 2013
    I don't believe we have a way to do what you are asking. Under the old system it was done with javascript and there is no access to place scripts on your site under the new system.
  • JWatsonJWatson Registered Users Posts: 55 Big grins
    edited August 3, 2016
    Sorry, my reply is a few years late, but it may be able to help someone looking for the same thing. You can hide each section leading up to the current page with the following:

    /* Hide all but last section of breadcrumb */
    .sm-breadcrumb+.sm-breadcrumb::before,
    .sm-breadcrumb a,
    .sm-fonticon-Home:before {
    display: none;
    }
Sign In or Register to comment.