Header Image Resizing Question

[ad_1]

Hi all! I just had a pretty quick question…

I uploaded a header image for my blog that is currently using the Daily Dish Pro Theme and I attempted to resize it by adding the following code in the “Additional CSS” section:

.header-image .site-title > a {
height: 180px;
max-width:1000px;
}

While this resizes the header image to the correct size temporarily, when I click publish and refresh the page the image appears the original super small size again.

Anyone know how to fix this issue? Thanks in advance!

[ad_2]
2 Comments
  1. It could be a specificity issue. Try adding !important to increase the specificity.

    .header-image .site-title > a { height: 180px  !important; max-width:1000px; !important}

    If it still doesn’t work, use the Inspector in your browser to check if the declaration appears at all.

    But if it is an image, I would target img/svg instead of a….

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer