Questions tagged [header]

Denotes Question related to header part of magento.

Filter by
Sorted by
Tagged with
0
votes
1answer
45 views

How to show the Company Name in Header.phtml?

I want to show the Company Name in Header.phtml but its working as expected. Can anyone please guide me how to display the company name in header section?
0
votes
1answer
15 views

Magento 2.3 Header Skewed

I have modified the header in my Magento2 site and it appears skewed to the right. I have checked the CSS of the div and the subsequent elements - logo, search and cart and cannot find a fix. Attached ...
0
votes
0answers
12 views

Magneto 2.4.1 How can I display my account link in top links?

I am using custom theme. How can I show My account link in header after successfully login.
1
vote
1answer
54 views

Header Tag <title>How can I change Product wise dynamically?

I want to Change my header title tag product wise dynamically.my Magento version is 2.3.4. how can I get SKU title to set header title tag? I want to solve this problem. I want to Dynamically change ...
0
votes
0answers
20 views

Add customer text after customer name in the top header section using plugin in

So next to welcome message I need append customer text. It should display in the front end all the pages using plugin
0
votes
0answers
18 views

M2 - How to avoid element auto hiding after moving element to catalog.topnav section?

I followed the link for customer account links drop down, https://bsscommerce.com/confluence/step-by-step-tutorial-to-customize-layout-illustrations/ After move the element to catalog.topnav During ...
0
votes
1answer
24 views

How to add class for Reference Block Arguments in xml file?

I have created custom in link header, <referenceBlock name="header.links"> <block class="Magento\Framework\view\Element\Html\Link" name="custom-link" before=&...
0
votes
0answers
20 views

Getting footer and header in an external script?

Magento 1.9 I created an external script in my root folder. It contains these lines in order to work: require '../app/Mage.php'; Mage::app(); How can I get the header and footer? Is it possible at ...
0
votes
0answers
6 views

Redirect header from API endpoint

I am trying to setup an API endpoint my mobile app can use to redirect to Google Play or Apple App Store depending on the device making the request. I have php code that was working stand alone and ...
0
votes
0answers
15 views

magento-2.3.5 header logo homepage link

I stuck trying to set homepage link to logo in app/design/frontend/Mgs/claue/Magento_theme/templates/html/header.phtml <?php $logo = $block->getChildHtml('logo'); //Logo ?> ... &...
0
votes
0answers
15 views

Move Search Box to left of logo in header

In Magento2.4 I want to move the search bar to the left of the logo then have the logo center and then have the shopping cart stay where it is on the right side of the header. I edited the code at ...
0
votes
0answers
24 views

Magento 2 to add link with current url as href inside head section

need to add alternative link in head with current URL as Href. example <link rel="aletrnative" href="{current page url}" />
0
votes
0answers
17 views

Magento 1.9: Want to see Menu and search bar in the header of the home page

In the header of the home page, I see the menu, search and account section only when I reduce the browser width of about 700px. How can I make the these three appear all the time? When I see the ...
0
votes
1answer
17 views

How to add product sku beside of product name in header in product edit in admin in magento 2

I want to add the SKU beside the product name in "product edit page" at the admin-side in magneto 2? i have changed in Magento\Catalog\Block\Adminhtml\Product\Edit.php here public function ...
0
votes
0answers
8 views

Add links to the header navigation menu?

I am using Magento 2.3.5 version, I have installed a new theme to the Magento eCommerce platform. now I am unable to change the redirection links to the specific pages from the header navigation menu. ...
0
votes
2answers
78 views

How to Disable welcome message in header file in magento 2?

How to disable Welcome message in magento 2.3
0
votes
1answer
258 views

Magento 2 - get amount of items in cart by using knockout.js

I am creating a new header. It is supposed to look like this: I need to get the number of items in the cart and write it to a certain place in the header, where the minicart is showing. So I added ...
0
votes
0answers
21 views

How to change the categories at the top of the front page to look like this?

Magento 1.9.4.0 Porto theme We have the Porto theme running on Magento 1.9. It displays the category drop-downs (when you hover over) in a certain way - mostly vertical. We would like to change it to ...
1
vote
0answers
21 views

Show wishlist counter on header when it doesnt have items

I need to display cart and wishlist counters on my own header block. For the first one i've just modified the CSS to display block. But I can't find how the wish list counter works, so it will show 0 ...
0
votes
0answers
44 views

Magento 2 an extension to filter Multi stores by zip-code or address

Is there is a Magento 2 extension to show address and/or zipcode field on homepage header and ask the user for their location then purpose local store view for selected zip code? I cant find any ...
0
votes
0answers
27 views

My Account and Shopping cart link not getting loaded in header for some pages in magento 2

There are few pages on my website where MyAccount and Shopping cart links are not getting loaded in my header. Check header on this page https://wazoodle01.wsisites.net/index.php/knowledge-base/...
0
votes
1answer
33 views

I want to remove header for particular catagory and I need to add custom header

I want to remove header for particular catagory and I need to add custom header <reference name="root"> <remove name="header"/> </reference> </reference name="root"> <...
0
votes
2answers
183 views

Add links inside My Account in header Magento 2

How can i add links inside Myaccount in header of magento 2 See https://prnt.sc/ren9h3
1
vote
2answers
1k views

Magento 2 - Login form in user account header

I want to load the login form into the account dropdown in the header. Therefore I duplicate the default customer login form and loaded it into the dropdown phtml template file using the following; &...
0
votes
2answers
26 views

Add sign-in and Create Account link in custom header

I have created a custom header.phtml file to make my custom header. See https://prnt.sc/r7dtnu Now I want to add Sign in and Create an Account link in this. How can I add here?
0
votes
1answer
269 views

Customer login is missing in Magento 2 Luma header

I have a custom Luma theme I use for my store, for whatever reason sign in link is missing but I do have Create an Account on the header - where should I start looking to resolve this issue. I see ...
1
vote
1answer
25 views

Where is the HTML file relating to the line of options below the search bar?

I am trying to add/remove a few links from this line in the header. However, the code is not a block, and so is not available through the backend. Each part is its own block, and though I found the ...
0
votes
1answer
132 views

Magento2.3: Welcome message is not displaying correctly

The welcome message is not displaying once the customer logged in to the website and its only displaying after 20 sec, sometimes it's taking even 5 min to display. Is that because of performance ...
0
votes
1answer
66 views

How can I build this header?

I'm trying to get the header to look a little like this: I'm having a hard time with the search and mini cart buttons, it seems they're nested within header-wrapper by default and I can't seem to ...
0
votes
3answers
277 views

How to get Email address in my phtml file in magento 2

I want to display email address stored in backend into my header part. How can i get email address into my header.phtml file in magento2
0
votes
3answers
48 views

How to move existing links and add new custom links in top header?

I already check many answers regarding the move header.links to header-wrapper its working but the problem is that it also move my custom links to header content. I am trying to create a new ...
0
votes
1answer
326 views

Add custom link near search box in Magento 2?

I already check many answers regarding move header.links to page.top its working but the problem is that its also move my custom links to header content. that's why I remove greeting message, Sign in,...
1
vote
1answer
242 views

Magento 2 : How to move register-link next to minicart?

I want to move the Create An Account button, near the mini cart in the header section.
1
vote
3answers
578 views

Product View Page Header and Footer part is not Showing In Magento 2

On the website, home page header and footer showing but product page not showing header and footer part. How to fix it?
0
votes
3answers
95 views

Magento2.3: How to set the border bottom for whole header?

I have a megamenu in header and want to set the border bottom for the whole header and it should be aligned with the megamenu border but its not working as expected. I have tried that into the ...
5
votes
4answers
864 views

Header Links showing twice under the Account Links in Mobile Menu Magento 2

I am getting Header Links twice under the Account Links in Mobile Menu. I have attched screenshot of that. You can see in the image there is twice header links under account tab. I'm using porto theme ...
1
vote
1answer
476 views

Magento 2.3.3 - Changing default header size for an image

First of all, I'm fairly new to Magento. And my question is how do I change the default header size for an image? The site I'm working on is upgrading from Magento version 2.3.2 to 2.3.3. And in ...
1
vote
1answer
698 views

Not able to move “Porto” theme top links under header content (After search) in Magento 2.3.2

I am using Porto theme (header Type 1) with Magento 2.3.2 setup. I want to move Top Links section elements i.e : Sign in, Currency etc under the header content after the mini search bar. Here is the ...
0
votes
1answer
63 views

How to show My Account link in frontend after succesfully logged in?

How can I show the My Account in header after the welcome message after successfully logged in my website? I have got help in displaying them on customer menu but now I want to show it in header ...
0
votes
0answers
31 views

Magento 2 match header search layout for mobile and desktop

I'm wondering if there is a way to replace the desktop header search element (search input box) with the way it is implemented in mobile (show only a search icon, and when you click it the search ...
0
votes
1answer
38 views

Add custom header link in custom theme

I am trying to add custom header link, but it is not showing.
0
votes
2answers
148 views

How to reate two different headers for desktop and mobile using xml?

I want to create two headers one for desktop and other for mobile. How can I achieve this, do i need to edit default.xml or need to add some conditions to meet the requirements ?
1
vote
1answer
1k views

magento 2.3 add store view switcher in custom header template

I have two store views for two languages english and spanish in magento 2.3 EE. The english store is default one and I want to add store view switcher drop down in my custom header template. How to ...
1
vote
1answer
19 views

Finding and changing text under logo 1.9 ce

I have existing text under my logo in magento im having trouble finding where to edit this, under the source code its showing the text is under div class="header_content". I tried looking in the ...
1
vote
1answer
64 views

Custom email not creating with default Header and footer in Magento 2

I visited and tried all related solutions available on stack exchange so decided to add my question too as issue is not resolved. Function is: public function sendEmail() { $email="...
0
votes
1answer
610 views

Magento 2 : Script from Javascript is load but doesn't execute

Sorry I have kind of strange problem with Magento 2 I am not use to Magento I made a script which should be executed in the Ulimo template in the header of my website, on the network console the ...
0
votes
0answers
36 views

Display a message regarding cart discount in header of all the pages in Magento 2

I am showing one message regarding cart discount in the header of all the pages, but on some pages, the discount is not showing as if the cart is empty. How to fix this issue.
0
votes
0answers
54 views

Compare() link to be placed in dropdown menu in magento 2.3

I want to place the Compare link inside the dropdown below Wishlist in header links as shown here OR https://prnt.sc/os1u0o. Can any one tell me how to do that ?
0
votes
2answers
90 views

Mgento2 curl can't set headers

/** * 创建购物车 * @param $source * @param $token * @param string $view * @return mixed * @throws Exception * @internal param $data */ public function createCart($source, $token, $view = 'default') ...
0
votes
1answer
371 views

How to add logout on header links in Magento 2.3.X

Can anyone tell me how to add 'sign out' option after the user is logged in on header links in Magento 2.3.X https://prnt.sc/oqe2ue

1
2 3 4 5
7