문제

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

enter image description here

Waiting for the reply!

도움이 되었습니까?

해결책

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

<referenceBlock name="store.settings" remove="true" />

다른 팁

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; }

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%;}
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top