Dear support!
I am using demo8 HTML theme. In the aside user section, in Sign Out menu item, I need to use button element instead of anchor. How to do that maintaining the same style of anchor. The code I am talking about is:
<!--begin::Menu item-->
<div class="menu-item px-5">
<a href="../../demo8/dist/authentication/layouts/corporate/sign-in.html" class="menu-link px-5">Sign Out</a>
</div>
<!--end::Menu item-->
<div class="menu-item px-5">
<form asp-area="Identity" asp-page="/Account/Logout" asp-route-returnurl="@Url.Action(" index new area="">
<button type="submit" class="????????">Sign Out</button>
</form>
</div>
Hi,
You can use the below markup to put a button tag as the menu link:
<button type="submit" class="menu-link btn w-100 py-3 px-5">
Sign Out
</button>
<!--begin::Menu item-->
<div class="menu-item px-5 my-1">
<a href="#" class="menu-link py-3 px-5">
Account Settings
</a>
</div>
<!--end::Menu item-->