Tagged: anchor links error
February 25, 2017 at 8:43 am #20661February 27, 2017 at 2:16 am #20682WesModeratorThis reply has been marked as private.February 27, 2017 at 2:56 am #20684Italy Photography ProductionsCustomer
I’m using SEMRUSH page analytics and it suggests me to correct the wrong anchor link (like this #genesis-nav-primary) in the first section at top.
The anchor links I mentioned exist in the code (there is a section containing this)… I would like to know where is this section code in your theme and how can I change or delete it…
Thank youMarch 1, 2017 at 3:13 pm #20722WesModerator
I’m not sure why that would happen. The
#genesis-nav-primarycomes from the menu. It shows up twice in your source code. It first shows up right after the
<ul class="genesis-skip-link"><li><a href="#genesis-nav-primary" class="screen-reader-shortcut"><font><font> Skip to primary navigation</font></font></a></li><li><a href="#genesis-content" class="screen-reader-shortcut"><font><font> Skip to content</font></font></a></li><li><a href="#genesis-footer-widgets" class="screen-reader-shortcut"><font><font> Skip to footer</font></font></a></li></ul>
Next it shows up in the Primary Nav section –
<nav class="nav-primary fadeInUp" itemscope="" itemtype="http://schema.org/SiteNavigationElement" id="genesis-nav-primary" aria-label="Main navigation">
The Genesis Framework itself creates the code for the Nav Menu (not the child theme) so I’m not sure how or why the error shows up.
- You must be logged in to reply to this topic.