How to Replace Genesis Theme Header Widget with Menu using Functions PHP file

Published: 30 October 2020
on channel: BlogVwant - A Vlog for Bloggers
326
1

This method involves a little bit of manual coding in a function.php file of your WordPress website. If you hate coding or face difficulty in this method, you can another easy method here: https://www.blogvwant.com/replace-gen...

Go to Appearance - Editor. Click on functions.php on the right side. And,
Copy this code to the end of the function.php file.

//* To Remove header widget
unregister_sidebar( 'header-right' );
//* Change position of primary navigation menu
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_header_right', 'genesis_do_nav' );

00:42 Step 1: Open WordPress Dashboard
00:45 Step 2: Navigate to the Appearance menu and then click on the theme editor
00:55 Step 3: Now click on the function.php file
01:01 Step 4: Paste these few lines of code at the bottom of the function PHP file
01:30 Step 5: Click on the update file button
01:37 Step 6: Reload or refresh your website page.
01:51 Step 7: Navigate to the appearance & then open the customize tab
02:04 Step 8: Click on additional CSS and insert the CSS code
02:26 Step 9: Click on the publish button to save changes. Now your header and menu are looking nice.


Watch video How to Replace Genesis Theme Header Widget with Menu using Functions PHP file online, duration hours minute second in high quality that is uploaded to the channel BlogVwant - A Vlog for Bloggers 30 October 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 326 times and liked it 1 visitors.