• Grunk

    (@fixmybrokepc)


    I noticed a while ago that if I edit the title image, my secondary text is shown *ON* my image. This behavior is preferred for aesthetics. Instead, the image has been cut in half and the secondary text is displayed in the upper right corner of the theme. How can this be fixed?

    An example can be seen here, https://www.xaerolimit.net / http://www.xaerolimit.net

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.

    Thread Starter Grunk

    (@fixmybrokepc)

    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.