I need assistance with adjusting the position of the bootstrap navigation menu bar parent menu icon, in mobile view.
Currently, the menu header displays a right-arrow-down icon at the end of the header name as shown below.
https://i.sstatic.net/kv4T2.png
My goal is to change the highlighted right-arrow-down icon to a left-arrow icon, move the icon to the beginning of the parent header menu text, and also change the background color (gray) of the parent menu item on mouse hover as depicted below.
https://i.sstatic.net/6sWGt.png
Below is the HTML code for the navigation menu bar:
<div class="collapse navbar-collapse" id="navbar">
<ul class="nav navbar-nav">
<li class="nav-item" style="background-color: #f5f5f5; height:33px; padding-top:8px;">
<label class="label d-md-block d-lg-none">Welcome, abc</label>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">ACCOUNTS</a>
<div class="dropdown-menu">
<a class="dropdown-item"><span class="k-icon k-i-plus"></span>New Prospect</a>
<a class="dropdown-item">Accounts</a>
<a class="dropdown-item">Prospects</a>
<a class="dropdown-item">Account Reports</a>
<a class="dropdown-item">My Account Reports</a>
<a class="dropdown-item"><span class="k-icon k-i-star"></span> Favorites</a>
</div>
</li>
... (remaining code)
</ul>
</div>
To achieve this, it may be necessary to override the existing bootstrap classes, but I am uncertain which class to use. I have searched online for solutions using Bootstrap CSS but have not found an example that aligns with my requirements. Your assistance is appreciated.
Update: Here is a mockup dropdown of the modules when the hamburger button is pressed in mobile view -
https://i.sstatic.net/tMTj4.png
This would be the layout once one of the modules is selected (Opportunities is the module in this example) -
https://i.sstatic.net/ns2EI.png
Desktop View: