Questions tagged [header]

Denotes Question related to header part of magento.

Filter by
Sorted by
Tagged with
0
votes
0answers
33 views

Magento 2.3.0 to 2.4.2 update error

I have updated my Magento 2.3.0 to 2.4.3, all through putty. All went fine, updated, upgraded, compiled, reindexed, cleared cache and everything. The problem is that on front end and backend is not ...
0
votes
2answers
30 views

Header of my website get disappeared

I am working on a magento2 website using a smartwave Porto theme, suddenly I noticed that the cart icon and search bar disappeared and my menu get disorganized and unclickable. I have run the ...
0
votes
0answers
8 views

Add hyper link to header

I want a link next to the login button on the right top corner of the main page. I want the link to be directed to another webpage as the main page is a b2b and this link is sending them to the b2c ...
0
votes
1answer
21 views

How to add custom js script on the <head> tag in magento2

Hi here am trying to add a js script to the <head> tag, methods used Content => Design => Configuration, Now click on the edit link of the current theme and Go to the HTML Head tab and ...
0
votes
2answers
21 views

Header links Magento 2

In my header links, right now I have "Create account" and "Sign in" and before those I want to add a title "My account" with a certain class, but I don't know how I can ...
0
votes
1answer
20 views

Show empty price-label (£0.00) in minicart when empty

I want to show the price next to the minicart icon even if it is zero/empty. I have added this code to Magento_Checkout/templates/cart/minicart.phtml <span class="price-label" data-bind=&...
0
votes
1answer
23 views

Change minisearch bar input width on hover

I am trying to change the search bar input width when it expands on hover. <div class="search-wrapper"> <div class="search-content block block-search" id="search-...
0
votes
1answer
33 views

Get config value in XML layout

I create config value in system.xml that contain src of a script taghow can i call this value in view\frontend\layout\default.xml file in head tag
0
votes
0answers
14 views

After translating to Spanish magento 2 the header disappeared and the footer appears some bugs

I made a language change in magento, but after doing it, I changed the theme completely, the header disappeared, the reporting bugs appeared in the footer and the responsibe tab disappeared Footer
0
votes
1answer
204 views

How can I move logo to centre and top-search to left side of screen in Magento 2?

I want to move header logo to centre and top. Search bar to the left side of screen as per show in screen shoot how can I do this using default.xml file
0
votes
1answer
50 views

How to add inline css to the Transaction Emails

I need to update existing email header. There for I have to modify some styles.but doesn't define in specific style in app/design/frontend/{themename}/{namespace}/Magento_Email/email/header.html app/...
0
votes
1answer
79 views

Magento 2.4 Header and footer not showing in Email template

I have create one custom module and in this module I have created send email functionality. But In Email header and footer is not send. So Please help me. THANKS.
0
votes
2answers
159 views

Magento2 - Changing the position of header content

I want to make the Free Shipping content at the top center of the site but it is in right corner. How to change the css for doing it? Created a block on the admin panel and applied this code on ...
0
votes
1answer
14 views

How to use bootstrap in my back-end module?

I'm trying to build my first backend module and I was wondering if it is possible to use the bootstrap in the Magento Backend, or if it is only with html tags? I tried to use the bootstrap added in ...
0
votes
2answers
155 views

Magento 2 Grid Column Header Alignment

How do you set the alignment for a grid header (th) element when implementing ui-component? We can set the "fieldClass" config option to center the column contents (td), but there's nothing ...
0
votes
1answer
112 views

Magento 2 : How to get data from headers?

I am passing "id" in headers & trying to get its value in custom script. using below code $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $response = $...
0
votes
0answers
24 views

Add customer service number at the left of the header

I want to add customer service number on the left side of the header. How can I do it? There is no option in the back-end to add number.
0
votes
0answers
16 views

Critical CSS file position

Is there a way to include inline styles after the <title> tag as shown on this image: If I edit the file default_head_blocks.xml I can only get this to show after the merged css file which ...
0
votes
1answer
24 views

Theme Luma issues

For my online store I want use Luma theme and in priciple all good, but I need modify little structure, I need below menu add custom links list (which will be displayed on all pages) - I have .phtm ...
0
votes
2answers
29 views

Magento2 Add header and footer in checkout page in enterprise edition

Can anyone let me know how to add header and footer in checkout page in magento2? i have Magento Enterprise edition, i tried with below code in theme/checkout_index_index.xml but its not working: <?...
0
votes
1answer
103 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
16 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
23 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
76 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
1answer
76 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
28 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
1answer
56 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
1answer
25 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
2answers
268 views

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

How to disable Welcome message in magento 2.3
0
votes
1answer
533 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 ...
1
vote
0answers
34 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
33 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
415 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
2k 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
78 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
475 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
26 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
216 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
82 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
487 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
65 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
608 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
526 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
895 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
159 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
1k 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
813 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
1k 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
84 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 ...

1
2 3 4 5
7