Questions tagged [header]

Denotes Question related to header part of magento.

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

Copy Search Bar from Header to footer

I need to copy the Search Bar from Header to Footer. Search Bar should be at both the places i.e. Header as well as Footer. So how should I do this? Is it through the Admin panel or from code? Any ...
user avatar
0 votes
1 answer
35 views

Move navigations into header part and do not disturb the responsive mobile screen

My original theme screen is like this But I want in this way But due to these changes, my responsive view gets distorted like this. I wrote this line of code in the default.xml file <move element=&...
user avatar
0 votes
0 answers
22 views

Magento 2: Scripts and Style Sheets alternative

Is there an alternative for Scripts and Style Sheets? I want to add URL links and Facebook pixel code into the head tag. Any help would be appreciated.
user avatar
0 votes
1 answer
15 views

how can change the header address?

how can i change the address, where is the setting? Also, the footer how can change the phone no and email?
user avatar
1 vote
1 answer
121 views

Varnish - Error 503 Backend fetch failed (Header too long)

Getting following error while using Nginx. Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 32771 Varnish cache server Following error logged in varnish log. BogoHeader ...
user avatar
0 votes
1 answer
24 views

insert an infotext for an online action in header

I want offer an online action and want insert a informationtext in the header of my website https://agoshop.at like in this picture: Hope someone can help me how I can solve this. kindly regards for ...
user avatar
0 votes
1 answer
16 views

How to Show Only Few Categories in Header in Porto Theme in Magento 2.4.3

I have a lot of categories on my store. I want to show just few categories in header here so that the header looks shorter. You can see in the screenshot the header has occupied 60% of the page space. ...
user avatar
0 votes
0 answers
44 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 ...
user avatar
  • 1,427
0 votes
2 answers
59 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 ...
user avatar
  • 1
0 votes
0 answers
9 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 ...
user avatar
0 votes
1 answer
463 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 ...
user avatar
0 votes
2 answers
84 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 ...
user avatar
  • 13
0 votes
1 answer
50 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=&...
user avatar
0 votes
1 answer
32 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-...
user avatar
0 votes
1 answer
243 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
user avatar
  • 3
0 votes
0 answers
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
user avatar
0 votes
1 answer
374 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
user avatar
0 votes
1 answer
84 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/...
user avatar
  • 129
0 votes
1 answer
110 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.
user avatar
  • 3,187
0 votes
2 answers
291 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 ...
user avatar
  • 19
0 votes
1 answer
17 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 ...
user avatar
0 votes
2 answers
258 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 ...
user avatar
0 votes
1 answer
364 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 = $...
user avatar
  • 367
0 votes
0 answers
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.
user avatar
  • 1
0 votes
1 answer
28 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 ...
user avatar
0 votes
2 answers
33 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: <?...
user avatar
0 votes
1 answer
196 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?
user avatar
  • 480
0 votes
1 answer
18 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 ...
user avatar
  • 47
1 vote
1 answer
86 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 ...
user avatar
0 votes
1 answer
238 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=&...
user avatar
  • 95
0 votes
0 answers
33 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 ...
user avatar
  • 255
0 votes
1 answer
132 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}" />
user avatar
0 votes
1 answer
76 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 ...
user avatar
0 votes
2 answers
405 views

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

How to disable Welcome message in magento 2.3
user avatar
  • 309
0 votes
1 answer
646 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 ...
user avatar
  • 2,441
1 vote
0 answers
62 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 ...
user avatar
0 votes
0 answers
36 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/...
user avatar
  • 700
0 votes
1 answer
37 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"> <...
user avatar
0 votes
2 answers
528 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
user avatar
  • 700
1 vote
2 answers
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; &...
user avatar
  • 1,474
0 votes
2 answers
164 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?
user avatar
  • 700
0 votes
1 answer
544 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 ...
user avatar
  • 541
1 vote
1 answer
27 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 ...
user avatar
0 votes
1 answer
269 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 ...
user avatar
0 votes
1 answer
120 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 ...
user avatar
0 votes
3 answers
621 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
user avatar
  • 700
0 votes
3 answers
82 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 ...
user avatar
0 votes
1 answer
711 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,...
user avatar
1 vote
1 answer
662 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.
user avatar
  • 2,398
1 vote
3 answers
1k 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?
user avatar

1
2 3 4 5
8