fbpx

Stay Home & Grab 20% Discount COVID19Grab Now

Welcome, Guest
Username: Password: Remember me

TOPIC: How to add "Skip to main content" in the template file

How to add "Skip to main content" in the template file 1 week 15 hours ago #22321

  • DaoHang
  • DaoHang's Avatar
  • Offline
  • New Member
  • Posts: 12
  • Karma: 0
Hello,
I want to add "Skip to main content" on the top left of the template file for accessibility, so site visitors who prefer to use keyboard can jump to the content without tapping through navigation menus.

In the template configuration > custom code, I did not see the box to add a piece of code for After <body>, so I do not know where is the best place to add an link below and how.
<a class="skip-main" href="#main">Skip to main content</a>
Thank you,
D
Last Edit: 1 week 15 hours ago by DaoHang.
The administrator has disabled public write access.

How to add "Skip to main content" in the template file 1 week 9 hours ago #22323

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3704
  • Thank you received: 543
  • Karma: 96
You can add it to a module and publish the module to the very first position after header.

Thank you,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.265 seconds