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?
Does using the Inspiration rules for character defects encourage My Guy Syndrome?
Coin Game with infinite paradox
How was Lagrange appointed professor of mathematics so early?
Knights and Knaves question
Can this water damage be explained by lack of gutters and grading issues?
Proving inequality for positive definite matrix
Why isn't everyone flabbergasted about Bran's "gift"?
Married in secret, can marital status in passport be changed at a later date?
Converting a text document with special format to Pandas DataFrame
What came first? Venom as the movie or as the song?
What is the difference between 准时 and 按时?
Why not use the yoke to control yaw, as well as pitch and roll?
Can the van der Waals coefficients be negative in the van der Waals equation for real gases?
Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?
When does Bran Stark remember Jamie pushing him?
Providing direct feedback to a product salesperson
Why aren't these two solutions equivalent? Combinatorics problem
Protagonist's race is hidden - should I reveal it?
Will the Antimagic Field spell cause elementals not summoned by magic to dissipate?
How to ask rejected full-time candidates to apply to teach individual courses?
Compiling and throwing simple dynamic exceptions at runtime for JVM
A journey... into the MIND
Etymology of 見舞い
What were wait-states, and why was it only an issue for PCs?
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 25 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