• kls

    (@katiesutton)


    Hi,
    Apologies if this is buried in the forum but I couldn’t find it and it’s late! Does anyone know how to make the parent breadcrumb link inactive? This theme is set up so that the parent links cannot be clicked when there is a dropdown menu,but in the breadcrumb menu the parent link is clickable, generating an empty page for the visitor. Any idea how to fix this? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try this:

    a.trail-begin {
        color: #5A5A5A;
        pointer-events: none;
        cursor: default;
    }

    Thread Starter kls

    (@katiesutton)

    Thanks – this almost gets me there, except I don’t want to deactivate the first link (Home) I want to deactivate the middle link (top nav menu item). Sorry, should have been clearer in my description above. Is there a way to get at that middle guy? It does not seem to have its own css class — can we create one ? I think a class that applied only to breadcrumb #2 would work but I’m not sure what the best way to do that would be.

    Have you a link to your site? I’ve just checked on one of my test sites and on a 2-level menu I seem to be getting Home>>Level2 rather than Home>>Level1>>Level2 and Level2 isn’t a hyperlink anyway. Didn’t check if I’ve changed something else but will take a look. Better to see your site.

    Theme Author presscustomizr

    (@nikeo)

    Hi @katiesutton, there’s no easy way to do that as of now. It would require to modify the class-content-breadcrumb.php file.

    Thanks for pointing this out, I put it in my to do list for the future releases.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Breadcrumbs to nowhere?’ is closed to new replies.