How do I convert this code to dynamic WordPress navbar without losing the CSS styles? Here is the sample code:

Question

<ul>
    <li><a href="#">Home </a></li>
    <li class="menu-dropdown"><a href="#">Supplies <i class="ion-ios-arrow-down"></i></a>
        <ul class="sub-menu">
            <li><a href="#">Chemicals</a></li>
            <li><a href="#">Food</a></li>
            <li><a href="#">Apex</a></li>
        </ul>
    </li>
    <li class="menu-dropdown"><a href="#">More <i class="ion-ios-arrow-down"></i></a>
        <ul class="sub-menu">
            <li class="menu-dropdown position-static"><a href="#">Supplies <i class="ion-ios-arrow-down"></i></a>
                <ul class="sub-menu sub-menu-2">
                    <li><a href="#">All</a></li>
                    <li><a href="#">Chemicals</a></li>
                    <li><a href="#">Food</a></li>
                    <li><a href="#">Apex</a></li>
                </ul>
            </li>
            <li><a href="#">About Us</a> </li>
            <li><a href="#">Blogs </a></li>
            <li><a href="#">Contact Us </a></li>
        </ul>
    </li>
</ul>
0
Pappu Chaudhary 4 weeks 2021-07-05T15:13:44-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse