Community Forums › Forums › General Genesis Framework Discussions › How can i change Genesis menu position
- This topic has 27 replies, 19 voices, and was last updated 4 days, 23 hours ago by
chrisredfield.
-
AuthorPosts
-
July 6, 2022 at 5:07 am #505517
chetan
ParticipantHello everyone,
I have used the Genesis default theme
In my child theme, I want to change the position of the default menu
so how can I change the menu (<nav>) position?I want to move the menu from the top to the header part.
Please check this link for detail. https://snipboard.io/CevLuD.jpg
Thanks
web devloper
July 6, 2022 at 7:22 am #505518Brad Dalton
ParticipantTry the code snippets for the navigation menu https://my.studiopress.com/documentation/snippets/
July 6, 2022 at 10:56 pm #505531chetan
ParticipantThanks for reply Brad Dalton
web devloper
July 6, 2022 at 11:32 pm #505532chetan
ParticipantSorry Brad Dalton
I am not clear about your reference
can you please provide me one example for this
web devloper
July 6, 2022 at 11:39 pm #505533Brad Dalton
ParticipantJuly 27, 2022 at 1:11 am #505605JordenVarys
ParticipantYou could want to use a menu instead of the Genesis theme's header widget. We made use of the Genesis framework's Metro Pro theme. It already has a widget space in the header by default. You can maintain the header if you wish to put an advertisement there. If not, it is best to replace the Genesis theme header widget with a menu that is directly beneath the title or logo of your website.
If you don't want to spend the time or money on these kinds of little things, you can hire a skilled WordPress developer from one of the top freelance marketplaces, such as Fiverr or Freelancer. You'll gain a lot of time by doing that. Continue reading if you don't want to spend money.
I also face this problem in this website but now it become ok.July 28, 2022 at 3:42 am #505608zenia lazuka
ParticipantTo move your header into a different location, such as before the title, content, or header. Use these codes when you can:<?php
//* Don't include the opening php tag that shown obove.
//* Reposition the primary navigation menu
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before_header', 'genesis_do_nav' );The next line of code
Save after that (in code, we changed the primary menu position after header to before header).
I also face this problem in 5-reasons-why website but after applying followings settings the problem is solvedSeptember 1, 2022 at 7:13 am #505744Michaelmati
ParticipantInstead of Genesis' header widget, you may want to use a menu. We used the Metro Pro theme from the Genesis framework. In the header, there is already a widget space. An advertisement can be placed in the header if you wish. It would be best to place a menu beneath your website's title or logo if the Genesis theme header widget cannot be removed.
You can hire a skilled WordPress developer from a top freelance marketplace such as Fiverr or Freelancer if you aren't interested in spending the time or money on these kinds of little things. Doing so will save you a lot of time.
The problem was also present on APK related website, however, it has now been resolved.September 12, 2022 at 3:22 pm #505788marshray
ParticipantTo move your header into a different location, such as before the title, content, or header. Use these codes when you can:<?php
//* Don't include the opening php tag that shown obove.
//* Reposition the primary navigation menu
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before_header', 'genesis_do_nav' );Faced the same problem in the Mini Militia site but used the same strategy and it helped me a lot.
Try yourself as well.
It'll help you for sure as well.
September 13, 2022 at 3:17 am #505789Markluis
Participantwant to make civil engineering assignment help done by experts, so need to worry at all we are here to help you with experts who provide you best content done at on best time with best market price rate.
January 29, 2023 at 12:56 am #506651frlegendsapk
ParticipantI faced similar problem and here is how solved this,
To move your header into a different location, such as before the title, content, or header. Use these codes when you can:<?php
//* Don't include the opening php tag that shown obove.
//* Reposition the primary navigation menu
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before_header', 'genesis_do_nav' );I was facing it in Mod FR.
Try yourself as well.It'll help you for sure as well.
February 9, 2023 at 12:00 am #506733wsoslot
Participanti try to use this, but cant understand how to please check my website here : https://magicxpa.com/
February 16, 2023 at 6:20 am #506790albertcostello39
ParticipantThe Lebron James Tiffany And Co Nike Jacket is so chic and cosy. I am ecstatic with this purchase because it is so versatile and allows me to dress it up for a night out or wear it casually during the day.
February 16, 2023 at 2:45 pm #506792AsadMuhammad
ParticipantYou should use coding for changing the menu position.
web seriesFebruary 18, 2023 at 6:23 am #506800Sophia Emme
ParticipantI have used the Genesis default theme. How can I modify the position of the menu (nav>) in my child theme such that the default menu appears in a different location than it now does? I'd want to relocate the menu to the header section rather than the top of the page.
Please check this link for detail. https://oreed.org/en
Thanks
February 18, 2023 at 6:27 am #506801Sophia Emme
ParticipantGenesis is the default theme I used. Is there a way to modify the position of the menu (nav>) in my child theme so that it appears in a different position than it does now? I'd want to relocate the menu to the header section rather than the top of the page.
For more information, click here. https://www.stockstelegraph.com/
My sincere thanks
February 25, 2023 at 4:37 am #506838AsadMuhammad
ParticipantYou can use plugin for this purpose. I also use plugin for my site(sri lakshmi lottery result). You should use it and achieve good results.
February 27, 2023 at 2:35 am #506839Keveinp56
ParticipantIf you're using the Genesis framework on your WordPress website, changing the position of the menu can be a useful customization to make your site stand out or improve user experience. The good news is that Genesis makes it relatively straightforward to change the menu position, even if you don't have a lot of coding experience.
March 15, 2023 at 1:47 am #506963Sophia Emme
ParticipantTo change the position of the Genesis menu in WordPress, you can use the genesis_register_nav_menu() function in your theme's functions.php file.
Here's an example of how to change the position of the Genesis menu to the right-hand side of the header:
Open the functions.php file in your Genesis child theme.
Find the code that registers the menu. It should look something like this:
python
Copy code
add_action( 'genesis_after_header', 'genesis_do_nav' );
Change the hook to genesis_before_header to move the menu to the right-hand side of the header. It should now look like this:python
Copy code
add_action( 'genesis_before_header', 'genesis_do_nav' );
Save the changes to functions.php and refresh your site to see the new menu position.Note that you may need to Improve organisation efficiency through website then adjust the CSS styling of your theme to ensure the menu displays correctly in the new position.
March 15, 2023 at 2:00 am #506964Sophia Emme
ParticipantChoose a location that is easy to find and use: Your menu should be prominently displayed and easy to access. Most websites, such as Bonvia, place their menu above or below the header. Consider how your visitors will interact with your site and select a location that makes sense for your content.
Use a responsive design: Make sure your menu looks good and functions properly on all devices, including desktops, laptops, tablets, and smartphones. A responsive design will adjust the menu position and layout based on the screen size and orientation of the device.
-
AuthorPosts
- You must be logged in to reply to this topic.