• I want to increase the height of the header section/header image. I changed the default value of 221 in the theme functions.php to 350, but after uploading and cropping image (which now says 350) the header stays still height of 221px. Can′t find the 221 px anywhere else in the theme (not in style.css, not in header.php). I am using the newest version of wordpress and baskerville theme.

    Would be great if someone could help me.

    • This topic was modified 7 years, 8 months ago by Promaetheus.
Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve been trying to figure out how to do this all afternoon and while looking at the same question on some other themes, figured it out!

    If you go into the Stylesheet (style.css) and head down to #3 Header you can alter the padding which is default 70. I changed mine to 220 for the result I wanted. I honestly wasn’t expecting the padding to be related to the header height lol

     3. Header
     * ----------------------------------------------------------------------------
     *
     * Styles for the theme header
     */
    
    .header {
    	padding: 70px 0;
    }
    • This reply was modified 7 years, 7 months ago by lotroguides.
    Thread Starter Promaetheus

    (@promaetheus)

    Thank you very much for this tipp! It works. But it is still strange. The changing of the padding also changes the width of the image. If i change the padding, the image is zoomed also in the width.

    And it is very strange how this padding correlates with the setting in the functions.php (section/header image) with the default value of 221px.

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