How to move Navigation Menu inside the header in Genesis

There are many ways to add Navigation Menu into the Header area in genesis Child Themes. We will discuss couple of them in this article.
Widget Menu:
Widgets made life easier for newbies. Here’s how to add Navigation Menu via Widget.
1-) Login to your WordPress dashboard
2-) Go to Widgets under Appearance
3-) Drag “Custom Menu” Widget into the Header sidebar.
4-) Select your Desired Menu into the drop down and hit Save, you’re done
Code Snippet
Sometimes you need to move the Menu from it’s place to a custom location. In my case, I had to do that before the Header (title/logos, widget etc).
Here’s my code snippet for that:
<?php /* Do NOT include the opening php tag Reposition the primary navigation menu */ remove_action( 'genesis_after_header', 'genesis_do_nav' ); add_action( 'genesis_before_header', 'genesis_do_nav' );
Here’s the explanation of above code:
The first line: remove_action(….); unhook the Primary Menu from Genesis After Header Hook while the second line code add it into the before header.
You can add the Primary Menu anywhere you want by changing the Hook name into the above add_action(..) function.
Sign Up To Get The Latest Digital Trends
Get free Consultation on Development
Related Posts
What Business Opportunities Can 5G Open Up Across Sectors?
In the recent years, the conspicuous rate at which new technologies are being developed has been nothing short of spectacular, and thus its introduction of the 5G has lit up the atmosphere’. 5G or the fifth generation of wireless technology carries the promise of a revolutionary experience to different industries and sectors in the way…
Develop These 25 Habits to Become an Effective Manager
In the active field of management, ‘effectiveness’ can be not only a specific characteristic but also a set of behaviors that would enable leaders to face various complexities and encourage their subordinates and achieve incredible results. The establishment of these habits turns a manager into a leader. Below 25 of such habits that are central…
Creating a Landing Page Template in Genesis
Today we will learn how to create a landing page template in Genesis framework. In my example I will remove the headers, navigation and sidebars.
The Importance of Testing Your Web Design Before Launch
The Reasons Why You Should Conduct Some Form of Testing Before Launching Your Web Design The only thing which one can be keen on as far as creating a new website is concerned is the design of the site and of course layout and the content. Indeed, what will you gain if you only spend…
7 Ways to Build and Scale a Remote Engineering Team
The nature of work has changed drastically over the decades, and with the help of technology the new norm has become working from home. In the realm of engineering, the model of remote engineering team has emerged, which opened up a great potential for business that are seeking a global talent pool while at the…
Python for Data Scraping and Data Wrangling
In the modern world, data is the new gold, which drives choices, creations and solutions in the business world. Data handling skills, particularly, the skills of data cleaning and data transformation are considered beneficial. This is a literature review focusing on an emerging area of Python application, namely ‘Python for Data Scraping and Data Wrangling’,…
Simple jQuery FAQs
In this post we will learn how to make simple and clean frequently asked questions section using jQuery. Please add this jQuery anywhere before closing tag on your web page. jQuery: (function($) { var allFaqs = $(‘.piefaqs > dd’).hide(); $(‘.piefaqs > dt > a’).click(function() { $(this).parent().next().toggle(); return false; }); })(jQuery); HTML: Nice Question 1 Sed…
12 Best Node.js Frameworks for 2023
Node. js has taken the web application development to another level due to the faster and more scalable runtime environment. As it will be shown, to unlock the full capability of the created programs and systems, developers resort to using frameworks that enable them to effectively address the development process and improve efficiency. Hence, the…
7 Fastest-Growing Apps in 2022
The apps in the field of technology are known to change and grow in the market amazingly fast. As for 2022, some applications are distinguished from others and recognized by millions of people all over the world. This paper aims to look at the seven apps that grew most in the year 2022 and understanding…
Top 21 SQL Interview Questions and Answers for 2023
Nowadays, the market for specialists in SQL is growing due to the focus on technology entrepreneurs and different business fields. Experience or no experience in practicing database admin or in SQL, it is rather compulsory to clear the interview. Below are 21 of the most commonly asked SQL interview questions that you could face in…
Selenium 4.7 Automation with Python
Are you ready to walk into the amazing world of Selenium Automation with the support of Python? This is a detailed guide on Selenium 4, or at least that will be the aim of this post. 7; automation and how you can take advantage of automation to manage your testing. Welcome to this automation trip…
7 Ways for Maintaining Good Mental Health as a Software Engineer
IT professionals the like of a software engineer provide gratifying work, although the job challenges can significantly affect mental health. Deadlines which push one into working for longer hours; lack of physical movement; and the ever changing and learning environments put a person under a lot of stress, anxiety and eventually, burn out. But there…
How to fix “Invalid Form Key. Please refresh the page.” error on Magento Backend
So you’re also having this “Invalid Form Key. Please refresh the page.” error and not able to login to your newly installed Magento Backend interface? No worries in this short article we will learn how to fix it. There are number of reasons behind this and different solution works for different people so lets closely…
How to Create and Edit Stunning Instagram Reels
Since its introduction, Instagram Reels has become a sensational commodity that affords humans high creativity and versatility. It may be used for having fun, sharing new knowledge, or advertisement If you want to know how to produce attractive Reels and adjust the main features, you can do it and become unique. Welcome to the Essentials!…
Master Public Speaking with These 10 Easy Tutorials
It is one of the most precious skills that one should equip himself or herself depending on the type of career, social events like giving a speech during wedding ,etc. But let’s face reality—it is also one of the creepiest. Don’t worry! With these 10 easy tutorials, you’ll go from shaking to shining on stage….
Best Practices for Writing Clean Code
In concerns to the coding, the term such as “Clean code” does not just refer to a trend but rather the guideline that every programmer should live by. At this point, you may be wondering, ‘Okay, clean code then, just what on earth does this mean?’ Alright, it means writing code that is clearly written,…
Boost Productivity with Notion: A Beginner’s Guide
On the job, day by day or in everyday life keeping track of everything is quite challenging due to the present fast pace life. Be it work responsibilities, assignments, or even basic day planning, the choice of tool greatly can impact the system. Meet Notion – an app that will help you get your work…
Top Online Learning Platforms: Where to Find the Best Tutorials
Introduction Recently Online learning became a real breakthrough in the education system as it allows persons to continue education at home. When there are so many options available, the option that brings the best results for a business can be almost impossible to find. Fear not though, here’s a list to help you out: Here…
How to Analyze Data Using Python and R
Introduction When it comes to data analytics both Python and R are two major programming languages that are frequently used. Both possess characteristics that makes them enticing to different group of the data science fraternity. For a professional data scientist or someone who is new to this field, grasp the concept of how to analyze…
Building a Community Around Your Online Tutorials
Introduction: The following are some of the questions that one may ask when developing a community: If one is to consider that MOOCs for tutorials are about creating communities, then it is all the more than a plus, but a strong advantage. In their minds, learners’ experience go beyond one who only receives information, but…
Creating a Landing Page Template in Genesis
Today we will learn how to create a landing page template in Genesis framework. In my example I will remove the headers, navigation and sidebars.
Simple jQuery FAQs
In this post we will learn how to make simple and clean frequently asked questions section using jQuery. Please add this jQuery anywhere before closing tag on your web page. jQuery: (function($) { var allFaqs = $(‘.piefaqs > dd’).hide(); $(‘.piefaqs > dt > a’).click(function() { $(this).parent().next().toggle(); return false; }); })(jQuery); HTML: Nice Question 1 Sed…
Essential Tools Every Freelancer Needs
You are just starting your freelancing journey! A company where people weren’t managing you and telling you what to do, when to do it and which job to do. Sounds like a dream, right? It can be, but it does not have to be that way if you are armed with the right tools for…
What is SSM: A Comprehensive Guide
SSM is one of the most effective promotional strategies used by business organizations upon the desire to have an influential internet presence as well as reach out to the intended clients. Here in this complete guide, you will learn about the basics up to the more detailed and sophisticated system of SSM to enable you…





















