Changing size of header image
-
I want to change the size of the header image (making it smaller). I already changed the functions php to:
add_theme_support( ‘custom-header’, apply_filters( ‘graphy_custom_header_args’, array(
‘default-image’ => ”,
‘width’ => 750,
‘height’ => 230,
‘flex-height’ => false,
‘header-text’ => false,And my style css looks like that:
.header-image {
margin: 36px -15px 0 -15px;
max-height: 350px;
overflow: hidden;
}
.header-image img {
width: 100%;
margin-left: -20%;
max-width: 100%;I really can’t figure out how to change the size, it always stays the same. I want the image to be maximum width and height as above, but it should still be responsive. Can anyone help?
- The topic ‘Changing size of header image’ is closed to new replies.