How can I hide the store switcher Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Magento 2 Remove language switcherHow to move store swicther after header links in magento 2Magento 2 - Remove Currency SwitcherHow do I replace the standard language switcher with flags? Magento 2.1.0Magento 2 : Store Switcher In admin not workingMagento 2: How to move currency switcherHow can I add fields on the registration form?how to add currency switcher dropdown in magento2 custom headerMagento 2 store switcher - store cookie not changing because of full page cacheMagento 2 How can I hide the price and total from cart and checkout summary?
Coin Game with infinite paradox
What is the ongoing value of the Kanban board to the developers as opposed to management
2 sample t test for sample sizes - 30,000 and 150,000
Why did Israel vote against lifting the American embargo on Cuba?
A German immigrant ancestor has a "Registration Affidavit of Alien Enemy" on file. What does that mean exactly?
Marquee sign letters
Lights are flickering on and off after accidentally bumping into light switch
How to mute a string and play another at the same time
Is there a verb for listening stealthily?
Married in secret, can marital status in passport be changed at a later date?
If gravity precedes the formation of a solar system, where did the mass come from that caused the gravity?
Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?
Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?
Can a Wizard take the Magic Initiate feat and select spells from the Wizard list?
Converting a text document with special format to Pandas DataFrame
Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?
Can I ask an author to send me his ebook?
Knights and Knaves question
Why aren't road bike wheels tiny?
Has a Nobel Peace laureate ever been accused of war crimes?
When speaking, how do you change your mind mid-sentence?
How to break 信じようとしていただけかも知れない into separate parts?
How to create a command for the "strange m" symbol in latex?
Why is one lightbulb in a string illuminated?
How can I hide the store switcher
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Magento 2 Remove language switcherHow to move store swicther after header links in magento 2Magento 2 - Remove Currency SwitcherHow do I replace the standard language switcher with flags? Magento 2.1.0Magento 2 : Store Switcher In admin not workingMagento 2: How to move currency switcherHow can I add fields on the registration form?how to add currency switcher dropdown in magento2 custom headerMagento 2 store switcher - store cookie not changing because of full page cacheMagento 2 How can I hide the price and total from cart and checkout summary?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I want to hide the store switcher of the top of my page.
I'm using Magento 2.1.9
How can I do this?
magento2
add a comment |
I want to hide the store switcher of the top of my page.
I'm using Magento 2.1.9
How can I do this?
magento2
1
Are you talking about default theme or any purchased template
– Aman Alam
Dec 13 '17 at 16:47
I updated the post. I'm using a purchased template called "Everything". So I guess I have to ask the template creator?
– Núria
Dec 13 '17 at 16:49
1
You can use this solution add this line<referenceBlock name="store_language" remove="true"/>
in/app/design/frontend/YourPackage/YourTheme/Magento_Theme/layout/default.xml
– Aman Alam
Dec 13 '17 at 16:53
add a comment |
I want to hide the store switcher of the top of my page.
I'm using Magento 2.1.9
How can I do this?
magento2
I want to hide the store switcher of the top of my page.
I'm using Magento 2.1.9
How can I do this?
magento2
magento2
edited Dec 13 '17 at 16:49
Núria
asked Dec 13 '17 at 16:34
NúriaNúria
68113
68113
1
Are you talking about default theme or any purchased template
– Aman Alam
Dec 13 '17 at 16:47
I updated the post. I'm using a purchased template called "Everything". So I guess I have to ask the template creator?
– Núria
Dec 13 '17 at 16:49
1
You can use this solution add this line<referenceBlock name="store_language" remove="true"/>
in/app/design/frontend/YourPackage/YourTheme/Magento_Theme/layout/default.xml
– Aman Alam
Dec 13 '17 at 16:53
add a comment |
1
Are you talking about default theme or any purchased template
– Aman Alam
Dec 13 '17 at 16:47
I updated the post. I'm using a purchased template called "Everything". So I guess I have to ask the template creator?
– Núria
Dec 13 '17 at 16:49
1
You can use this solution add this line<referenceBlock name="store_language" remove="true"/>
in/app/design/frontend/YourPackage/YourTheme/Magento_Theme/layout/default.xml
– Aman Alam
Dec 13 '17 at 16:53
1
1
Are you talking about default theme or any purchased template
– Aman Alam
Dec 13 '17 at 16:47
Are you talking about default theme or any purchased template
– Aman Alam
Dec 13 '17 at 16:47
I updated the post. I'm using a purchased template called "Everything". So I guess I have to ask the template creator?
– Núria
Dec 13 '17 at 16:49
I updated the post. I'm using a purchased template called "Everything". So I guess I have to ask the template creator?
– Núria
Dec 13 '17 at 16:49
1
1
You can use this solution add this line
<referenceBlock name="store_language" remove="true"/>
in /app/design/frontend/YourPackage/YourTheme/Magento_Theme/layout/default.xml
– Aman Alam
Dec 13 '17 at 16:53
You can use this solution add this line
<referenceBlock name="store_language" remove="true"/>
in /app/design/frontend/YourPackage/YourTheme/Magento_Theme/layout/default.xml
– Aman Alam
Dec 13 '17 at 16:53
add a comment |
2 Answers
2
active
oldest
votes
Under
/public_html/app/design/frontend/vendor/theme/Magento_Theme/web/css/source
you create a file called:_extend.less
add this code in it:
.switcher select
display:none
Clear your cache afterwards and it should works.
If it doesn't, maybe the CSS Selector is wrong, so you have to find the correct one.
The effect of this addition is that the Language switcher will not be rendered, it will still get loaded by your Magento.
Easiest tweak ! Good
– Manoj Deswal
Dec 14 '17 at 5:06
add a comment |
For Magento 2 you can disable it via your customer theme folder. In your file app/design/frontend///Magento_Theme/layout/default.xml you can add the line between the tag
...
<body>
<referenceBlock name="store_switcher" remove="true"/>
...
Flush the cache afterwards.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f205694%2fhow-can-i-hide-the-store-switcher%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Under
/public_html/app/design/frontend/vendor/theme/Magento_Theme/web/css/source
you create a file called:_extend.less
add this code in it:
.switcher select
display:none
Clear your cache afterwards and it should works.
If it doesn't, maybe the CSS Selector is wrong, so you have to find the correct one.
The effect of this addition is that the Language switcher will not be rendered, it will still get loaded by your Magento.
Easiest tweak ! Good
– Manoj Deswal
Dec 14 '17 at 5:06
add a comment |
Under
/public_html/app/design/frontend/vendor/theme/Magento_Theme/web/css/source
you create a file called:_extend.less
add this code in it:
.switcher select
display:none
Clear your cache afterwards and it should works.
If it doesn't, maybe the CSS Selector is wrong, so you have to find the correct one.
The effect of this addition is that the Language switcher will not be rendered, it will still get loaded by your Magento.
Easiest tweak ! Good
– Manoj Deswal
Dec 14 '17 at 5:06
add a comment |
Under
/public_html/app/design/frontend/vendor/theme/Magento_Theme/web/css/source
you create a file called:_extend.less
add this code in it:
.switcher select
display:none
Clear your cache afterwards and it should works.
If it doesn't, maybe the CSS Selector is wrong, so you have to find the correct one.
The effect of this addition is that the Language switcher will not be rendered, it will still get loaded by your Magento.
Under
/public_html/app/design/frontend/vendor/theme/Magento_Theme/web/css/source
you create a file called:_extend.less
add this code in it:
.switcher select
display:none
Clear your cache afterwards and it should works.
If it doesn't, maybe the CSS Selector is wrong, so you have to find the correct one.
The effect of this addition is that the Language switcher will not be rendered, it will still get loaded by your Magento.
answered Dec 13 '17 at 16:55
Thomas MeierThomas Meier
334110
334110
Easiest tweak ! Good
– Manoj Deswal
Dec 14 '17 at 5:06
add a comment |
Easiest tweak ! Good
– Manoj Deswal
Dec 14 '17 at 5:06
Easiest tweak ! Good
– Manoj Deswal
Dec 14 '17 at 5:06
Easiest tweak ! Good
– Manoj Deswal
Dec 14 '17 at 5:06
add a comment |
For Magento 2 you can disable it via your customer theme folder. In your file app/design/frontend///Magento_Theme/layout/default.xml you can add the line between the tag
...
<body>
<referenceBlock name="store_switcher" remove="true"/>
...
Flush the cache afterwards.
add a comment |
For Magento 2 you can disable it via your customer theme folder. In your file app/design/frontend///Magento_Theme/layout/default.xml you can add the line between the tag
...
<body>
<referenceBlock name="store_switcher" remove="true"/>
...
Flush the cache afterwards.
add a comment |
For Magento 2 you can disable it via your customer theme folder. In your file app/design/frontend///Magento_Theme/layout/default.xml you can add the line between the tag
...
<body>
<referenceBlock name="store_switcher" remove="true"/>
...
Flush the cache afterwards.
For Magento 2 you can disable it via your customer theme folder. In your file app/design/frontend///Magento_Theme/layout/default.xml you can add the line between the tag
...
<body>
<referenceBlock name="store_switcher" remove="true"/>
...
Flush the cache afterwards.
answered 10 mins ago
medinamedina
30229
30229
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f205694%2fhow-can-i-hide-the-store-switcher%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Are you talking about default theme or any purchased template
– Aman Alam
Dec 13 '17 at 16:47
I updated the post. I'm using a purchased template called "Everything". So I guess I have to ask the template creator?
– Núria
Dec 13 '17 at 16:49
1
You can use this solution add this line
<referenceBlock name="store_language" remove="true"/>
in/app/design/frontend/YourPackage/YourTheme/Magento_Theme/layout/default.xml
– Aman Alam
Dec 13 '17 at 16:53