Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #112315
    francesca78
    Participant

    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

    #112370
    Mahesh
    Participant

    @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,
    Mahesh

    #112382
    francesca78
    Participant

    thank 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!

    #112385
    Mahesh
    Participant

    @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,
    Mahesh

    #112390
    francesca78
    Participant

    ok, 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

    #112455
    Mahesh
    Participant

    @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 of functions.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 Cpanel

    Regards,
    Mahesh

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘header image and menu’ is closed to new replies.