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
Enterprise Agile Transformation: From Traditional to Agile
Given the fact that today’s environment is ever changing and highly competitive, organizational leaders are always in the lookout for strategies in order to ensure the sustainability of their business. This implies that the old top-down power coalitions and the apotheosis of the sequential task implementation methodologies have began to wane. This has created the…
Creating an Effective Portfolio Website for Your Business
Portfolio website is not a luxury in the age when everything is digital, but it’s necessity when it comes to being a working artist. For a freelancer or a creative professional or even for a business person an online portfolio is one’s online shop, the first interface where one makes an introduction and presents ones…
The Ethical Considerations in Web Design
Today web design is not only aesthetic and efficient creation of web sites but also ethical point of view. In many instances; as web designers, we have the ability to shape how the user perceives and further interacts with the site. Alright, let me give a brief look at all the ethical concerns that go…
Source Code Management, Tools, and Best Practices in 2023
Source Code Management SCM is one of the essential components of software development and project management in the currently rapidly evolving digital environment. Due to the diverse developers who are in the different projects handling complex codes, an effective version control and collaboration has become more essential than ever. In this article, we will take…
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.
How to Conduct a Website Audit to Improve User Experience and SEO
Introduction Can you ever maybe ask yourself why your websites is not as successful as you wanted them to be? Or why some of the users spend no more than a handful of seconds on your site? Yes, I think that general website audit can be that game changer which you were looking for into…
What Is Software Quality Assurance, and Why Is It Important?
As software development has advanced at a faster and more unpredictable pace, it has become crucial to ensure that the software that reaches the customers, meets all the qualities of a good and efficient software. This is where Software Quality Assurance (SQA) comes in for aid throughout the process of software development. SQA is the…
16 Great Websites to Test Code Online in 2023
1. CodePen CodePen is one of the most frequently used playgrounds for front-end developers where they are able to create and test HTML/ CSS/JavaScript snippets. 2. Replit Replit offers an interface for collaborative coding with multiple language options so it’s perfect for when you have to pair with someone for coding. 3. JSFiddle JSFiddle is…
What are Microservices? Understanding Architecture, Examples, and Best Practices for 2023
Looking at the ever-changing market of software development, the term Microservices became a groundbreaking architectural approach that changes the way applications are constructed and delivered. Here, we will provide detailed information regarding microservices including their design style, advantages, and disadvantages, and real-world applications in the current and future timeline, i.e., up to the year 2023….
Building New AI Solutions for Intelligent Enterprises and Developers
With the complexity of the current organizational world and the dynamics of the modern business climate in regards to technology, the use of artificial intelligence is one of the important strategies that organizations can embrace in their effort to make the immeasurable strides in the current market. Since various types of enterprises established the power…
Introduction to Microservices Data Management Patterns
Originally, microservices are considered one of the modern trends in the constantly evolving world of software development characterized by flexibility and, therefore, constant changes. Microservices allow building applications as a set of interrelated services, meaning that the application is comprised of multiple small services it is easily maintainable, deployable and can be scaled only if…
International Programmers Day Special: 7 Ways to Recover from Programmer Burnout
Programming is a science that opens the future of the modern world, and International Programmers Day is dedicated to its representatives annually. It’s a day on which people recognize the importance of the programmer and the part they have to play in the development of technology. But behind rows of Brackets and the ever astonishing…
How to Create a Tutorial Website That Attracts Visitors
It is good news if you are considering to develop a tutorial website! But let’s be real; it’s not just about creating some content and then posting it and hoping it works. What you want is a strategy that brings those visitors to sight and keeps them coming back for more. In this article we…
Implementing CRUD Operations in Web Development: A Tutorial
Introduction Are you fire up to move forward to getting familiar with the basics to web development? But when there is discussion of CRUD then it is time to get down to business. If it’s your first week or your 100th day, it’s crucial to know about CRUD operations. CRUD (Create, Read, Update, Delete) is…
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…
Cybersecurity Best Practices for Small Businesses
Introduction Cyber security has not become a word in today’s technological world but a necessity to conduct a proper business organization. Due to the small budget, poor financial position, and limited control over technology and innovation Small businesses need to protect themselves against Cyber threats that can harm them so implementing strong cybersecurity measures is…
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…
Understanding Big Data: What Every Business Should Know
Introduction Data is perhaps one of the most valuable commodities in today’s technological world given that its importance is coupled with its accessibility. authorization The term Big Data has established itself in the business environment as a key concept for management and organizations to attain new levels of competitiveness and increase their business performance. But…
How to Stay Motivated While Creating Your Tutorials
This paper focuses on motivation in creative work and how it can be understood. Producing tutorials itself can be quite rewarding but at times maintaining that motivation is quite tricky- let’s be real here. Therefore, what motivates one to be creative and maintain that motivation comprehensible and tangible? What Drives Us to Create? Most of…
Best Practices for HTML and CSS Coding
Introduction Despite the constant emergence of new technologies in the field of the web development, HTML & CSS are still the key base technologies for development of websites. These technologies are basics; however, one can differentiate between good and better practices while coding them to boost the website performance, make updates more manageable, and to…
The Role of Engagement Metrics in Tutorial Development
Developing a tutorial is one thing and encouraging people to work through it is quite another. This is why engagement metrics come into play! Knowledge of how users use your tutorials can be beneficial, and allow the creation of more accessible tutorial content. Okay, let’s explore the kingdom of engagement metrics and find out how…
Debugging 101: Tips for Finding and Fixing Errors in Code
Debugging is another probably the most important process that every programmer has to know. If you’re a software developer or a programmer at any level, it is as certain as night following day that you are going to stumble across errors. But fear not! Debugging doesn’t have to be complicated or completely overwhelming. Now, in…
Make Your Own Music Beats with GarageBand
Do you sometimes wish to get into beat making – to write your own beats but have no idea where to begin? My music production partner is GarageBand! This free and flexible music composing application will then be a valuable addition to the arsenal of any novice or professional composer. In this post let’s dive…
How to Use Figma for Website Prototyping and Design
Introduction If you use or plan to use website design and prototyping, welcome to Figma! It is not just a tool where you get to design but also a full blown comprehensive environment that makes your ideas real. But how can it be utilized to design modern and intuitive websites? Now let’s see how it…
























