• Resolved bradley408

    (@bradley408)


    Hi, thanks for this theme. I’ve been trying to modify the height of the header image but not having any luck.

    The inspector is saying there is an inline height property and somehow it’s making a css element
    element {
    background: transparent url(“https://path/image”) repeat scroll 0% 0%;
    height: 862px;
    }

    (when i change the 862px in the inspector it is in fact changing the height but can’t find where to do it for permanent).

    in the code of header.php i only see:

    header id=”masthead” class=”site-header” role=”banner” style=”background: url(<?php header_image(); ?>) 50% 50% / cover no-repeat;

    I thought maybe it was related to the actual size of the image but even modifying the image height is not working. Can you please help?

    • This topic was modified 7 years, 4 months ago by bradley408.
    • This topic was modified 7 years, 4 months ago by bradley408.
    • This topic was modified 7 years, 4 months ago by bradley408.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author CrestaProject

    (@crestaproject)

    Hi @bradley408
    the height is dynamic (via Javascript) and is 100% of the screen.
    If you want to overwrite it you can try a CSS code like this:

    
    .site-header {
    	height: 300px !important;
    }
    

    Best Regards,
    CrestaProject

    Thread Starter bradley408

    (@bradley408)

    thanks … and this theme is very nice, much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header image height change’ is closed to new replies.