First thing to do is to hide the '
header-links-wrapper' in mobile. You must add the following styles in '~nopCommerce_3.6\Presentation\Nop.Web\Themes\Nitro\Content\css\mobile-only.css' file.
.header-links-wrapper.open {
display: none;
}
Next thing is to change the '_Root.cshtml' view ('~Presentation\Nop.Web\Themes\Nitro\Views\Shared\
_Root.cshtml'). Here you need to change the content of the following element:
<div class="personal-button" id="header-links-opener">
<span>@T("SevenSpikes.Themes.Common.Personal")</span>
</div>
This code must be replaced with the one that takes you to the 'Shopping cart page' (look below for the new code).
<div class="personal-button" id="header-links-opener">
<a href="@Url.RouteUrl("ShoppingCart")" class="ico-cart"></a>
@Html.Action("FlyoutShoppingCart", "ShoppingCart")
</div>
After this change when you press the 'header-links-opener' button it takes you to the 'Shopping cart page' which the purpose is. Finally this button icon must be changed, so this is what you need to do:
First find this styles in the 'mobile-only.css' file:
.responsive-nav-wrapper .personal-button {
background-image: url("../img/mobile-btn-links.png");
display: inline-block;}
Here we need just to change the background image with the
one for 'shopping cart'.
The lines bellow is how new background image should be looks like:
.responsive-nav-wrapper .personal-button {
background-image: url("../img/icon-cart.png");
display: inline-block;}
And now just add this line: "vertical-align: top;" in the brackets of this code '.responsive-nav-wrapper > div'. This is to set all the buttons in one line.
Last step it to show all the icons we hide on first place in desktop resolution:
.header-links-wrapper {
display: block;
float: right;
margin: 0;
}
Here you must add only the bold line in case the icons are hidden in desktop resolution. This must happen in '980.css' file.
I believe this is what you want to do with the shopping cart button in mobile.
For the second question(for the menu in the mobile) I'm not sure what you want to achieve, so please give me accurate information and I will help you once I understand the issue.