PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, August 22, 2022

[FIXED] How to create custom header in magento 2.3.3

 August 22, 2022     magento-2.3, magento2, php     No comments   

Issue

I am creating a store in Magento 2.3.3.I have created a custom header but its not showing in frontend.

I have done the following steps for creating the custom header:

  1. Created a file named customheader.phtml in magento_theme folder inside my theme folder i-e myvendor/mytheme/Magento_Theme/html/customheader.phtml

  2. I have added the following code in my dafault.xml file

After Adding the above code I have executed the following commands;

php bin/magento setup:upgrade && php bin/magento setup:static-content:deploy -f && php bin/magento cache:flush

I have searched the web but no luck.


Solution

I think you already do great implement but just forgot to clear everything in root/generated/code folder



Answered By - ThuanDoan
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing