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
"listening to me about as much as you're listening to this pole here"
Does a dangling wire really electrocute me if I'm standing in water?
Is there any use for defining additional entity types in a SOQL FROM clause?
Can I find out the caloric content of bread by dehydrating it?
When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?
Is every set a filtered colimit of finite sets?
Is there a way to make member function NOT callable from constructor?
Doomsday-clock for my fantasy planet
What does "enim et" mean?
Copycat chess is back
If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?
What do the Banks children have against barley water?
What is the meaning of "of trouble" in the following sentence?
What happens when a metallic dragon and a chromatic dragon mate?
How to deal with fear of taking dependencies
Where to refill my bottle in India?
How can I plot a Farey diagram?
Why was the "bread communication" in the arena of Catching Fire left out in the movie?
What is the command to reset a PC without deleting any files
What is GPS' 19 year rollover and does it present a cybersecurity issue?
extract characters between two commas?
Symmetry in quantum mechanics
New order #4: World
Why do UK politicians seemingly ignore opinion polls on Brexit?
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♦ 6 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♦ 6 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♦ 6 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♦ 6 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