Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Change logo and header height in Divi child theme not working WordPress


My logo height is 189px but when I add the code below into the Divi Child Theme: Stylesheet (style.css) it still does not increase the height.

What do I need to do so it works? The site is

Image attached on how i want it to look.

@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */

.et-fixed-header #logo {
max-height: 189px !important;

.et_fixed_nav #logo {
max-height: 189px;
margin-bottom: 18px !important; }

.et-fixed-header {
padding: 18px 0 0 0 !important;
min-height: 189px !important;}

Answers (1)


Rempty answers:

Wrong class and id

.et_header_style_centered #main-header .logo_container {height:auto!important;}
/*auto = max logo height (189px), and use auto for responsive design*/

sddan comments:

Perfect! That worked. Thank you