Remove nofollow from certain tags
-
Hello,
I am having trouble removing the nofollow attribute on specific links on the mobile view of the website.
FIRST EXAMPLE – this is from the header mobile menu icon
<div class=”whb-column whb-mobile-left whb-column_mobile2 whb-hidden-lg”>
<div class=”wd-tools-element wd-header-mobile-nav wd-style-icon wd-design-1 whb-g1k0m1tib7raxrwkm1t3″>
<span class=”wd-tools-icon”></span>
<span class=”wd-tools-text”>Meniu</span>
</div>
</div>
SECOND EXAMPLE – this is the off-canvas button for filters
<div class=”wd-off-canvas-btn wd-action-btn wd-style-text wd-burger-icon”>
Vezi filtrele
</div>
Please let me know if there’s a universal solution to control those nofollow attributes.
Some are crucial for SEO-wise crawling and we need to control it.
Please be aware that the actual code I have inserted was converted into the post content as links, so it’s not the full code example.
Screenshots:
https://monosnap.com/file/AmaqaxDCCFp4CgGTFMELt0VFPFta5s
https://monosnap.com/file/dt4oLyfMjKRFMCaaJSO6V880IiNAv8
Hello,
For the mobile menu, you can override the structure via the child theme by copying this header-elements/burger.php
file and then you can change that attribute.
As for the Off-canvas, it’s not possible to override, unfortunately.
In general, these buttons do not carry any essence so that nofollow attribute should not cause any issues.
Kind Regards