Questions tagged [header]

Denotes Question related to header part of magento.

Filter by
Sorted by
Tagged with
2
votes
2answers
3k views

magento2: add static block to header menu

My Categories are displayed in my Header Main menu. Now I want to add another link( called 'about us') after the last category in my header. I plan to create a static cms block -> in it's content put ...
2
votes
3answers
1k views

How to change /blog url to some other url in Magento 1.9.2

How to change /blog url to some other url in Magento 1.9.2 I want to redirect request at http://www.xxxx.com/modular to http://www.xxxx.com/blog/modular
2
votes
1answer
1k views

Wrapping search and cart in element Magento 2

I understand that in mage2 the header is generated through xml and knockout js, so all the blocks can be controlled with xml and the node - move My question is i have the mini cart and search block ...
2
votes
1answer
5k views

how to change email:- owner@example.com in home page in my localhost.?

how to change this in email address in file header_left_links.php .:- <?php $general_email = Mage::getStoreConfig('trans_email/ident_general/email'); ?> <ul class="list-inline"> <...
2
votes
1answer
4k views

Can't enable Magento Frontend to run in frame

I'm having problems trying to display a Magento website on an iframe in another domain. Through the Admin Panel, I've already enabled the 'Allow Magento Frontend to run in frame'. But when I try to ...
2
votes
3answers
4k views

Magento 2 : How to Add Custom Header

I am trying to add a custom header in Magento 2. I am creating my custom theme and add custom header page customeheader.phtml but header is not show.
2
votes
1answer
8k views

Magento 2 how to make sticky header for frontend? [duplicate]

I am using Magento 2.1.5 and I need to make header sticky for the frontend. how can I make header sticky? When user scroll page then header should be sticky at the top, how we can do this? this code ...
2
votes
2answers
2k views

Render header and footer in custom controller

I'm creating a custom controller that uses the same header and footer as the rest of the site, but will be using custom code to serve content, but I also need to exclude them based on query parameters ...
2
votes
2answers
2k views

How to Hide Header(Primary) Menu before login (for Visitors)?

Magento 2 Version - Magento 2.1.4 CE I am trying to create Custom Module for Compulsory login. When user hits the website url it must needs to redirect on login screen and after logged in user can ...
2
votes
1answer
906 views

Custom header link not showing in magento 2

I am trying to add custom header link, but it is not showing. For this I am written below code. Block <?php namespace Test\FLinks\Block; class Header extends \Magento\Framework\View\Element\...
2
votes
2answers
12k views

Editing header links in Magento 2

I'm on Magento 2.1, the header links are rendered with this structure: <ul class="header links"> <li>...</li> <li>...</li> ... </ul> I need to remove the ...
2
votes
2answers
3k views

retrieving http header info

I use Vladimir Popov(?)'s very nice Webforms extension to enable user submitted custom forms. I want to capture all the http header information from the user who is submitting the form. Vladimir has ...
2
votes
3answers
2k views

PInterest - How To Verify Your Website

Pinterest wants me to Verify my Website so it can be recognized as a business Pinterest page. Where in Magento do I find the html.index file to add the meta tag?
2
votes
2answers
3k views

Move Cart to Header In Magento 1.8.1

TOPIC: Looking to move Shopping Cart to Header-Right in Magento 1.8.1 ATTEMPTS + OTHER POSTS: How to add a Cart Icon to header? Move Cart to Header in Magento 1.7 Any contribution is greatly ...
2
votes
2answers
526 views

Move Cart to Header in Magento 1.7

I’m having trouble in moving the mini cart from sidebar to header. I’ve tried all the tutorials available in the internet but it doesn’t work. I also tried adding this in the header block of layout\...
2
votes
3answers
912 views

Empty header after clearing cache in Magento 1.7.0.2

I have been puzzled for more then a week and I really hope someone can help. Situation is that we have nm online store that works great wine online store So far so good after testing all and going ...
2
votes
1answer
133 views

How add top-header above main menu?

How can I add top-header above main menu? I need top-header with text above main menu
2
votes
3answers
1k views

Magento 2: header links missing from checkout pages

In Magento 2, the "header links" element (top.links) is missing on checkout pages. I'm using a custom theme with Magento/blank as the parent. I have added custom links to my theme at app/design/...
2
votes
1answer
415 views

Move cart icon to after login/account

I have been trying to move the cart within the top header, though its appearing in the incorrect sequence. I would like this to appear after Create Account <move element="minicart" destination="...
2
votes
2answers
793 views

Magento 2 adding navigation bar in checkoutpage

I am developing a custom theme in magento 2.1.7. Everything goes fine till I reached checkout page. There were no header and footer found in checkout page. It seems like magento 2's default behavior. ...
2
votes
1answer
2k views

Remove sections of header

I am creating my custom theme and want to remove some default blocks from site. I have tried this code <referenceBlock name="navigation.sections" remove="true"/> But it is not working for me....
2
votes
1answer
708 views

Magento uses <h1> for the logo on EVERY page - Duplicate h1 tags

I used onpage.org for an SEO analysis and it told me I have a lot of pages with double h1 tags on my Magento shop. I checked this and it seems my logo is h1 on every page, probably due to the theme, ...
2
votes
1answer
771 views

How to show popup on all pages

I am working on magento 2.1 extension in which i have to show popup on all pages. I have write a code for popup which is showing on only one page but i want to apply that code on all pages.
2
votes
1answer
416 views

How to get Magento Currency Selector as a pop-up window

The Currency Selector is already there in header. But I would like to have it as a pop-up window, where customers can choose their desired currency. Is it possible?
2
votes
1answer
191 views

Category Header Widget

I hope this is the right category and someone can help point me in the right direction. I created an instance of a widget and have a static block associated to it. I have it placed to appear in the ...
2
votes
1answer
466 views

Calling a function within header.phtml

Is it possible to call a function within the header.phtml file? I have created essentially an on/off switch that will either enable or disable a button that I created on the front end. This button ...
2
votes
1answer
482 views

How to create two store views with different designs?

I would like to create two store views. One store view that has no header and footer (I want to use this one for my mobile apps). Another store view that has header and footer (I want to use this ...
2
votes
3answers
393 views

How to add a background image to header content?

It's been last 42 hours i am trying to get a background image to header content on luma! [magento 2] but nothing getting accurately!! how do i add a background image to header content on magento luma!...
2
votes
0answers
60 views

Magento 2 :Header section modifications

I'm trying to understand how the entire header section is put together, and wanted to move some things around just to try to understand how Magento is putting everything together. How could I ...
2
votes
1answer
169 views

Magento 2.1.6 - How to setup email templates header and footer

I am new in Magento 2x. I just want to setup email header and footer globally. I can't locate either header.html / footer.html files in my Magento file systems as well. Also in "Marketing/Email ...
2
votes
0answers
7k views

How to customise header template in magento 2

Here is what i have already done. Installed Magento 2 Created custom theme in magento 2 Applied that theme Created "templates directories" to override template files I have copied header.phtml from ...
2
votes
0answers
90 views

Removing links from header [closed]

<div class="page-wrapper"><header class="page-header"><div class="panel wrapper"><div class="panel header"><ul class="header links"> <li class="greet welcome" ...
2
votes
0answers
101 views

Magento 2 Page Header Add Image, Change Color

I am in my Magento_Theme Folder playing around with the _module.less file and have been trying to get it to change my background color of the header but I can't see any changes. I've cleared my cache. ...
2
votes
0answers
170 views

Can't create soap header

we're trying to send a soap request to the purolator shipping API. We are stuck at the header portion. This is what we are sending the shipping API: // Probleme ICI try { //Define the ...
2
votes
1answer
748 views

How to call cms block of block type into custom header

I've made code of most viewed products which I'm trying to call under custom header. This is what I've done so far. Posted the block code under cms block by name 'most_viewed'. {{block type="...
2
votes
1answer
1k views

Moving header account dropdown - CE 1.9.1

I'm working on some fairly minor changes to the default rwd 1.9.1 theme. I've created my own package and theme, and modified header.phtml by copy and pasting in order to move Search, Account and ...
1
vote
2answers
438 views

how to remove header links class with ul tag in magento 2?

I'm on Magento 2.1.6. The header links are rendered with this structure: <ul class="header links"> <li>...</li> <li>...</li> ... </ul> My HTML structure is ...
1
vote
1answer
3k views

How to set my custom phtml to header?

I want to set my custom phtml to header in magento 2? i want to display my phtml in all pages so i want to add my phtml in header. i am trying to search in core files but i can't get it. In layout ...
1
vote
2answers
3k views

How to get Customer Login and Logout outside Magento

Hereby, I working to integrating Header/Footer section outside Magento using this sample code: $mageFilename = 'app/Mage.php'; echo $mageFilename; require_once $mageFilename; #Mage::...
1
vote
2answers
297 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; &...
1
vote
1answer
2k views

Login link add as dropdown into my account magento 2.1.x

I want to show My account menu as drop-down and add Login/Logout link in it. Currently it shows as separate menu link in top.links >> header.links here is my default.xml <page xmlns:xsi=&...
1
vote
2answers
2k views

Moving the position of header top links

I am trying to change the position of top links. I want to move top.menu before top.links. In my page.xml following code is given: <block type="page/html_header" name="header" as="...
1
vote
1answer
5k views

Cannot customize header block by custom module

First, I can easily change header template by <reference name="header"> <action method="setTemplate"><template>customizer/header.phtml</template></action> </...
1
vote
2answers
84 views

Is there a native way to redirect a user to a page including a status code within an event observer?

I need to redirect a user to another page with a status code of 503 within an event observer. While I am able to redirect the user with Mage::app()->getFrontController()->getResponse()->...
1
vote
2answers
2k views

is it possible to add a single child category to multiple parent categories?

I am working on Magento 1.9 and stuck on some problem my problem is that I want to add single category to multiple parent categories like the example parent-category1 sub category1 parent-...
1
vote
1answer
162 views

Changing the Header cart item totals image background css when quantity is added

I have a background image for the cart items totals on the homepage in the header and the quatity is display as a number in the middle of this image. It is an image of a bag in a gold color. I am ...
1
vote
1answer
3k views

Magento 2.2.2 - Remove default welcome message and show username post login

I need to remove default welcome message from header but display username after successful login. Tried below to hide welcome message but it also removes username after login <referenceBlock name="...
1
vote
1answer
364 views

change magento categories header color

i am using a magento theme and want to change the categories header color. is there any custom css code or method to change the same ? ( image attached )
1
vote
2answers
12k views

Magento 2 : How to Create Custom Header and Footer

I am creating new header.phtml and footer.phtml and store into app/design/frontend/<vendor_theme>/mytheme_name/theme_layout/template/html. so how to add new header and footer in magento/blank ...
1
vote
1answer
52 views

Top Links editing

Ok, I give up. I've created a child theme based on Luma. At the very top of the page I see these links "Compare Products 0 items My Account Create an Account Sign In" and then a detached word "or". ...

1
2
3 4 5
7