Move “Default welcome msg!” from right to left Magento 2magento2 frontend layout extendingChanging the customer/account layout to 2columns-left in Magento 2How to move category title above products column in Magento 2magento2 - I want to move this links from default message area to this area, I use luma themeMagento 2: move the top links in the same container as the logoMove Mini Cart - Magento 2.2.3Magento 2 top.links loads and then disappearsMagento 2 - Change top navigation submenu positionMove Logo from header content to panel header
What are the advantages and disadvantages of running one shots compared to campaigns?
Information to fellow intern about hiring?
If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?
A poker game description that does not feel gimmicky
What is the meaning of "of trouble" in the following sentence?
Unbreakable Formation vs. Cry of the Carnarium
What do the Banks children have against barley water?
Symmetry in quantum mechanics
Extreme, but not acceptable situation and I can't start the work tomorrow morning
Is it wise to focus on putting odd beats on left when playing double bass drums?
Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore
"My colleague's body is amazing"
Ideas for 3rd eye abilities
Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?
What do you call something that goes against the spirit of the law, but is legal when interpreting the law to the letter?
What does "enim et" mean?
Doomsday-clock for my fantasy planet
Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?
Check if two datetimes are between two others
Is Social Media Science Fiction?
Could a US political party gain complete control over the government by removing checks & balances?
Prime joint compound before latex paint?
New order #4: World
Need help identifying/translating a plaque in Tangier, Morocco
Move “Default welcome msg!” from right to left Magento 2
magento2 frontend layout extendingChanging the customer/account layout to 2columns-left in Magento 2How to move category title above products column in Magento 2magento2 - I want to move this links from default message area to this area, I use luma themeMagento 2: move the top links in the same container as the logoMove Mini Cart - Magento 2.2.3Magento 2 top.links loads and then disappearsMagento 2 - Change top navigation submenu positionMove Logo from header content to panel header
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to move the "Default welcome msg!" from the top bar on the right side, where is now, to the left side, so this way I have just the login, account ecc links on the right, and just the message on the left.
I'm using Luma theme, on Magento 2.
magento2 blocks frontend
bumped to the homepage by Community♦ 4 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'm trying to move the "Default welcome msg!" from the top bar on the right side, where is now, to the left side, so this way I have just the login, account ecc links on the right, and just the message on the left.
I'm using Luma theme, on Magento 2.
magento2 blocks frontend
bumped to the homepage by Community♦ 4 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'm trying to move the "Default welcome msg!" from the top bar on the right side, where is now, to the left side, so this way I have just the login, account ecc links on the right, and just the message on the left.
I'm using Luma theme, on Magento 2.
magento2 blocks frontend
I'm trying to move the "Default welcome msg!" from the top bar on the right side, where is now, to the left side, so this way I have just the login, account ecc links on the right, and just the message on the left.
I'm using Luma theme, on Magento 2.
magento2 blocks frontend
magento2 blocks frontend
edited Jun 13 '18 at 8:09
7ochem
5,84493768
5,84493768
asked May 30 '18 at 0:00
alexcralexcr
62262148
62262148
bumped to the homepage by Community♦ 4 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Create default.xml under your theme :
/app/design/frontend/Vendor/YourTheme/Magento_Theme/layout/default.xml
Add below code in XML :
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<move element="authorization-link-login" destination="header.links" after="-"/>
</body>
</page>
Override below file in your theme :
/vendor/magento/theme-frontend-luma/Magento_Theme/web/css/source/module.less
In your theme:
/app/design/frontend/Vendor/YourTheme/Magento_Theme/web/css/source/module.less
Replace below lines:
Line No.: 93 to 119
.header.panel
> .header.links
.lib-list-inline();
font-size: 0;
margin-left: auto;
margin-right: @indent__base;
width: 100%;
> li
font-size: @font-size__base;
margin: 0 0 0 15px;
> a
.lib-link(
@_link-color: @header-panel__text-color,
@_link-text-decoration: none,
@_link-color-visited: @header-panel__text-color,
@_link-text-decoration-visited: none,
@_link-color-hover: @header-panel__text-color,
@_link-text-decoration-hover: underline,
@_link-color-active: @header-panel__text-color,
@_link-text-decoration-active: underline
);
Line No.: 551 to 598
.header
&.panel
> .header.links
.lib-list-inline();
margin-left: auto;
> li
margin: 0;
float: right;
&.welcome,
> a
float: left;
display: inline-block;
line-height: 1.4;
&.welcome
a
.lib-css(color, @color-white);
.lib-css(padding-left, @indent__xs);
> .authorization-link
float: right;
&:after
content: attr(data-label);
display: inline-block;
margin: 0 @indent__xs 0 @indent__xs;
> .customer-welcome + .authorization-link
display: none;
&.content:extend(.abs-add-clearfix-desktop all)
padding: @indent__l @indent__base 0;
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%2f227945%2fmove-default-welcome-msg-from-right-to-left-magento-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Create default.xml under your theme :
/app/design/frontend/Vendor/YourTheme/Magento_Theme/layout/default.xml
Add below code in XML :
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<move element="authorization-link-login" destination="header.links" after="-"/>
</body>
</page>
Override below file in your theme :
/vendor/magento/theme-frontend-luma/Magento_Theme/web/css/source/module.less
In your theme:
/app/design/frontend/Vendor/YourTheme/Magento_Theme/web/css/source/module.less
Replace below lines:
Line No.: 93 to 119
.header.panel
> .header.links
.lib-list-inline();
font-size: 0;
margin-left: auto;
margin-right: @indent__base;
width: 100%;
> li
font-size: @font-size__base;
margin: 0 0 0 15px;
> a
.lib-link(
@_link-color: @header-panel__text-color,
@_link-text-decoration: none,
@_link-color-visited: @header-panel__text-color,
@_link-text-decoration-visited: none,
@_link-color-hover: @header-panel__text-color,
@_link-text-decoration-hover: underline,
@_link-color-active: @header-panel__text-color,
@_link-text-decoration-active: underline
);
Line No.: 551 to 598
.header
&.panel
> .header.links
.lib-list-inline();
margin-left: auto;
> li
margin: 0;
float: right;
&.welcome,
> a
float: left;
display: inline-block;
line-height: 1.4;
&.welcome
a
.lib-css(color, @color-white);
.lib-css(padding-left, @indent__xs);
> .authorization-link
float: right;
&:after
content: attr(data-label);
display: inline-block;
margin: 0 @indent__xs 0 @indent__xs;
> .customer-welcome + .authorization-link
display: none;
&.content:extend(.abs-add-clearfix-desktop all)
padding: @indent__l @indent__base 0;
add a comment |
Create default.xml under your theme :
/app/design/frontend/Vendor/YourTheme/Magento_Theme/layout/default.xml
Add below code in XML :
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<move element="authorization-link-login" destination="header.links" after="-"/>
</body>
</page>
Override below file in your theme :
/vendor/magento/theme-frontend-luma/Magento_Theme/web/css/source/module.less
In your theme:
/app/design/frontend/Vendor/YourTheme/Magento_Theme/web/css/source/module.less
Replace below lines:
Line No.: 93 to 119
.header.panel
> .header.links
.lib-list-inline();
font-size: 0;
margin-left: auto;
margin-right: @indent__base;
width: 100%;
> li
font-size: @font-size__base;
margin: 0 0 0 15px;
> a
.lib-link(
@_link-color: @header-panel__text-color,
@_link-text-decoration: none,
@_link-color-visited: @header-panel__text-color,
@_link-text-decoration-visited: none,
@_link-color-hover: @header-panel__text-color,
@_link-text-decoration-hover: underline,
@_link-color-active: @header-panel__text-color,
@_link-text-decoration-active: underline
);
Line No.: 551 to 598
.header
&.panel
> .header.links
.lib-list-inline();
margin-left: auto;
> li
margin: 0;
float: right;
&.welcome,
> a
float: left;
display: inline-block;
line-height: 1.4;
&.welcome
a
.lib-css(color, @color-white);
.lib-css(padding-left, @indent__xs);
> .authorization-link
float: right;
&:after
content: attr(data-label);
display: inline-block;
margin: 0 @indent__xs 0 @indent__xs;
> .customer-welcome + .authorization-link
display: none;
&.content:extend(.abs-add-clearfix-desktop all)
padding: @indent__l @indent__base 0;
add a comment |
Create default.xml under your theme :
/app/design/frontend/Vendor/YourTheme/Magento_Theme/layout/default.xml
Add below code in XML :
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<move element="authorization-link-login" destination="header.links" after="-"/>
</body>
</page>
Override below file in your theme :
/vendor/magento/theme-frontend-luma/Magento_Theme/web/css/source/module.less
In your theme:
/app/design/frontend/Vendor/YourTheme/Magento_Theme/web/css/source/module.less
Replace below lines:
Line No.: 93 to 119
.header.panel
> .header.links
.lib-list-inline();
font-size: 0;
margin-left: auto;
margin-right: @indent__base;
width: 100%;
> li
font-size: @font-size__base;
margin: 0 0 0 15px;
> a
.lib-link(
@_link-color: @header-panel__text-color,
@_link-text-decoration: none,
@_link-color-visited: @header-panel__text-color,
@_link-text-decoration-visited: none,
@_link-color-hover: @header-panel__text-color,
@_link-text-decoration-hover: underline,
@_link-color-active: @header-panel__text-color,
@_link-text-decoration-active: underline
);
Line No.: 551 to 598
.header
&.panel
> .header.links
.lib-list-inline();
margin-left: auto;
> li
margin: 0;
float: right;
&.welcome,
> a
float: left;
display: inline-block;
line-height: 1.4;
&.welcome
a
.lib-css(color, @color-white);
.lib-css(padding-left, @indent__xs);
> .authorization-link
float: right;
&:after
content: attr(data-label);
display: inline-block;
margin: 0 @indent__xs 0 @indent__xs;
> .customer-welcome + .authorization-link
display: none;
&.content:extend(.abs-add-clearfix-desktop all)
padding: @indent__l @indent__base 0;
Create default.xml under your theme :
/app/design/frontend/Vendor/YourTheme/Magento_Theme/layout/default.xml
Add below code in XML :
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<move element="authorization-link-login" destination="header.links" after="-"/>
</body>
</page>
Override below file in your theme :
/vendor/magento/theme-frontend-luma/Magento_Theme/web/css/source/module.less
In your theme:
/app/design/frontend/Vendor/YourTheme/Magento_Theme/web/css/source/module.less
Replace below lines:
Line No.: 93 to 119
.header.panel
> .header.links
.lib-list-inline();
font-size: 0;
margin-left: auto;
margin-right: @indent__base;
width: 100%;
> li
font-size: @font-size__base;
margin: 0 0 0 15px;
> a
.lib-link(
@_link-color: @header-panel__text-color,
@_link-text-decoration: none,
@_link-color-visited: @header-panel__text-color,
@_link-text-decoration-visited: none,
@_link-color-hover: @header-panel__text-color,
@_link-text-decoration-hover: underline,
@_link-color-active: @header-panel__text-color,
@_link-text-decoration-active: underline
);
Line No.: 551 to 598
.header
&.panel
> .header.links
.lib-list-inline();
margin-left: auto;
> li
margin: 0;
float: right;
&.welcome,
> a
float: left;
display: inline-block;
line-height: 1.4;
&.welcome
a
.lib-css(color, @color-white);
.lib-css(padding-left, @indent__xs);
> .authorization-link
float: right;
&:after
content: attr(data-label);
display: inline-block;
margin: 0 @indent__xs 0 @indent__xs;
> .customer-welcome + .authorization-link
display: none;
&.content:extend(.abs-add-clearfix-desktop all)
padding: @indent__l @indent__base 0;
answered May 31 '18 at 9:52
hweb87hweb87
5972724
5972724
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%2f227945%2fmove-default-welcome-msg-from-right-to-left-magento-2%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