Active Link Color on Single page Site in Divi - eCommerce Thesis

Active Link Color on Single page Site in Divi

In today’s tutorial I am going to show you how to style your vertical navigation links so that as a visitor scrolls down the page, the menu link corresponding to the section they’re in will highlight. It’s a nice little effect that adds a bit of interactivity between your web design and the user’s behaviour.

First, you need to add the below code to <head> section of the integration tab

<script type="text/javascript"> 
$(document).ready(function() {
$('#top-menu li.current-menu-item').first().addClass('current-item');
$('#top-menu li').removeClass('current-menu-item'); 
$('#top-menu li a').click(function() {
$('#top-menu li').removeClass('current-item');

Then add this to the custom CSS section of theme options

#top-menu-nav #top-menu li.current-item a { color: #YourPreferedLinkColorHere !important; }

This should give you the desired result.

Feel free to comment below for any questions.

#top-menu-nav #top-menu li.current-item a { color: #YourPreferedLinkColorHere !important; }

If you like the video don’t forget to:
👍 Give It A Thumbs Up
🎯 Hit The Subscribe Button
👉 Don’t Forget To Share

📌 Subscribe:…
📌 Follow me on Facebook:…
📌 Follow me Linkedin:…
📌 Follow me Twitter:
📌 Visit my website:
📌 Visit my blog: https://foysalahmedwebdesigner.blogsp…
📌 Google My Business:
📌 Ask me quora:…

💻 My Services: 🚀

🔸 WordPress live support instantly

🔸 Professional eye-catching website design with elementor pro page builder on WordPress

🔸 eCommerce Business website design with WooCommerce, Shopify

🔸 Design a WordPress website with Divi elegant theme

🔸 Convert PSD to WordPress

🔸 WordPress SEO with Yoast and On-Page Optimization

🔸 Design SEO friendly website from scratch

🎤🎤 You can also check out the below playlist: 👇

🛑 HTML Bangla Tutorial:

🛑 CSS Bangla Tutorial:

🛑 Elementor Page Builder Tutorial:

🛑 Digital Marketplace using Mayosis Theme:

🛑 ওয়ার্ডপ্রেস থিম কাস্টমাইজেশন :

🛑 ফটোশপ বাংলা টিউটোরিয়াল :

🛑 Make Money on YouTube 2020:

🛑 Shopify Tutorial:

🛑 ওয়ার্ডপ্রেস থিম ডেভেলপমেন্ট :

🛑 ই কমার্স বিজনেস / ব্যবসা বাংলাদেশ :

➡️ Disclaimer:

This Channel Does Not Promote Any illegal content, all contents provided by This Channel is meant for educational purpose only. Don’t Download Or Copy Video, Thumbnail, Music, Nothing From This Channel. It’s a Cyber Crime. All Videos of this Channel are Copyrighted by Foysal Ahmed!

Thank You 🙃🙃

#foysalahmed #webdesigner#wordpressdeveloper #shopifyexpert #shopifydeveloper

Leave a Reply