- This topic has 5 replies, 2 voices, and was last updated 7 years, 1 month ago by Mahesh.
-
AuthorPosts
-
March 19, 2017 at 7:23 pm #112315francesca78Participant
Sorry guys, I see that you are very helpful, my questions are really dumb for you I know, I’m a beginner… my site is gruppoentomologicotoscano.it
is there any way I can show the header image above the menus and not under it?thank you really
March 20, 2017 at 1:22 am #112370MaheshKeymaster@francesca78: Simply, you can use Secondary Menu instead of primary one. Secondary menu will be displayed below header image. Please check.
But if you do need to display header image before primary menu, I can provide you the code, you’ll need to create child theme for this. And header image will be displayed before logo.
Let me know further.Regards,
MaheshMarch 20, 2017 at 4:03 am #112382francesca78Participantthank you Mahesh, I have tried to create a secondary menu but child pages seem not to appear as before and I don’t like in all appearance… is there a simple way to solve this? Maybe the second option you gave me is the right one, how can I create a child theme?
thanks!
March 20, 2017 at 5:05 am #112385MaheshKeymaster@francesca78: You can find more details on creating child theme HERE. Then in your child theme’s
functions.php
add the following codes:add_action('init', 'adventurous_child_header_image_on_top'); function adventurous_child_header_image_on_top(){ remove_action( 'adventurous_before_main', 'adventurous_featured_overall_image', 5 ); add_action( 'adventurous_before_header', 'adventurous_featured_overall_image', 10 ); }
Regards,
MaheshMarch 20, 2017 at 6:04 am #112390francesca78Participantok, I downloaded and installed the child theme of adventurous in the page you gave me. now the change of the funtions.php page was to make before installing? if yes… which app s to use? if it’s to do after the installation… where must i go to insert the code?
thank you
March 21, 2017 at 12:34 am #112455MaheshKeymaster@francesca78: You can either put the code before activating the theme or after activation. You can directly put the code from the dashboard. Go to Dashboard=> Appearance=> Editor then select Theme Functions (
functions.php
) on the right side. Then add up the above code at the end offunctions.php
file.
Alternatively you can either use cpanel or FTP for that. Hope you understand. Let me know if any problem.Note: If you have any error on the code in
functions.php
your site will be down. So be careful with the code. If any error occurs, it can only be corrected through CpanelRegards,
Mahesh -
AuthorPosts
- The topic ‘header image and menu’ is closed to new replies.