4

How Can We Remove “Settings” Tab in Mobile Menu ?

enter image description here

Waiting for the reply!

3
  • 2
    what is "settings"? that's not defualt magento Apr 30, 2019 at 8:15
  • Yes correct @PhilippSander I am also thinking that one Apr 30, 2019 at 8:18
  • 1
    DIrty hack You can hide it using CSS.
    – anonymous
    Apr 30, 2019 at 8:21

3 Answers 3

4

Try to put this line into your theme directory Magento_Theme\layout\default.xml file:

<referenceBlock name="store.settings" remove="true" />
1
  • i want to update account to some other name..Then how to do this Mar 18, 2020 at 7:20
3

If you are using Porto Theme, you can remove it in your admin panel. Through your custom CSS settings
Porto → Setting panel → Customization Setting.

Just add this code:

.switcher.language, [aria-controls*="store.settings"] { display: none !important; }
3
  • 2
    Haha +1 too fast ;) But be careful if you are using multistore then it will remove your store switcher too.
    – anonymous
    Apr 30, 2019 at 8:22
  • Thanks for the update,Yes,I'm using Porto Theme...it works for me...but "settings" space is also there...it shoudn't be. Apr 30, 2019 at 8:45
  • i want to update account to some other name..Then how to do this – Maruti_magento2 just now Mar 18, 2020 at 7:21
3

Try this using CSS:

@media screen and (max-width:767px){
    .switcher.language, [aria-controls*="store.settings"] { display: none !important; }
}

To Fix rest of 2 menu's width set width to 50% using below:

@media screen and (max-width:767px){
    .nav-sections-item-title{width: 50%;}
}
1
  • i want to update account to some other name..Then how to do this – Maruti_magento2 just now Mar 18, 2020 at 7:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.