• Resolved torivt65

    (@torivt65)


    Hello,

    Is it possible to remove the skip link from some pages such as landing pages with no navigation?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    There’s nothing built in to do this, but there are a few things you could conceivably do.

    If the pages with no navigation have a unique body class, e.g. ‘landing-page’, or something like that, you could just hide it using CSS on those pages. E.g.

    .landing-page .a11y-toolbar { display: none; }

    Other options are trickier; you’d need to filter the asl_enable option in PHP, to turn it off dynamically. But I’d expect that your landing pages should have a unique class that would allow you to use CSS. Looking at the page you shared, it seems to have the class .e-landing-page-template, and that should be something you can use.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove skip link from some pages’ is closed to new replies.