WordPress.org

Support

Support » Themes and Templates » Header Image / Title Space

Header Image / Title Space

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author nobita

    @nobita

    Raindrops using javascript for detect header image height.

    Please javascript conflict check.

    If you need change header image height without javascript.
    Below code try.

    Add functions.php.

    add_filter( 'raindrops_header_image_elements', 'raindrops_force_header_height' );
    
    function raindrops_force_header_height($content){
    
        $new_image_height= 300;// your image height
    
     return str_replace(
                '<div id="header-image">',
                '<div id="header-image" style="height:'.$new_image_height.'px;">',
                $content);
    }

    Site description position.

    If you need text positon on the header image.

    Please open adminbar/your site name/customizer

    Site Title Tagline click and checked Display Header Text.

    Then the sitedescription will on the header image.

    Sorry poor at english.

    Thank you.

    I’m sorry, but I don’t quite understand what you are suggesting me to do here?

    Theme Author nobita

    @nobita

    I don’t quite understand

    My poor english ?
    or
    Code result issue?

    Hi fixmybrokepc,
    As far as I understand – you should edit the functions.php in your child-theme (or if you haven’t created a child theme in the theme itself) and add the code he presented.
    Have you tried to insert the code?

    Greets

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Header Image / Title Space’ is closed to new replies.