• Hi, I need help!!
    I am a newbie and have been playing with this for weeks.I would like to put my own header/banner in and change the size. I have the child theme. Don’t know how to add the functions php. and get it to appear in sections under select theme to edit. I see it under 2011 parent them. But what I have been reading you need the function php file in the child theme. so How in the world do I do that. I have been reading so many different things. Confused and frustrated. Also cannot stand that horizontal thick line below the header- is that for the menu , would like to change that look. My site is: donnastampsandsews.com

    Thanks
    Donnarut

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Donnarut

    (@donnarut)

    fuctions.php file is a file that you can use to add custom functions all you need to do is create php file
    and add functions in that file.

    So to change header size use this to create file and upload in your child theme and change 150 height and 1000 width to your header size and upload the header image exactly same size so that wordpress does crop the image.

    <?php
    add_filter('twentyeleven_header_image_height','my_header_height');
    add_filter('twentyeleven_header_image_width','my_header_width');
    function my_header_height($size){
       return 150;
    }
    function my_header_width($size){
       return 1000;
    }
    ?>

    As for bar at bottom of your header is menu bar you can change color of the bar by addin code in child theme css.

    Thread Starter Donnarut

    (@donnarut)

    Thanks for responding so quickly. I got the first part. Just don,t know how to create a php file and add functions in that file. I need a step by step guide. Sorry but I am sooo new to this.

    copy the code I put above and paste in notepad change the size to your image and save the file as functions.php.
    using ftp upload the same file in child theme along with style.css file you have in child theme.
    Upload you image using header in appearance

    Thread Starter Donnarut

    (@donnarut)

    thanks i will give it a try

    Thread Starter Donnarut

    (@donnarut)

    Ok, I am in notepad went to save as , but functions.php. is not listed

    where there is file name enter functions.php and save and remember where you saved the file as you need to upload the file.

    Thread Starter Donnarut

    (@donnarut)

    where the save as type is- what do I put there. Its a drop down box .
    So you are saying in the file name box, I enter functions.php.?

    yes just enter functions.php there and save

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘add a custom banner/header to 2011 child theme’ is closed to new replies.