• Resolved Tunn

    (@iuriem)


    With the Firefox Inspect Element tool I can see that the “site-branding” class <div> tag has an inline style=”margin-bottom: 36px;”. I can suppress it with a “margin-bottom: 0 !important;” in my child theme, but why is it inserted in this way (as an inline style)? And how is it added there? I don’t see it in the site-branding.php template.

Viewing 1 replies (of 1 total)
  • Thread Starter Tunn

    (@iuriem)

    The inline style magicaly migrated to the “custom-header” class <div> tag after I changed a padding of the “site-branding” class in my child theme. I don’t understand why Firefox is thinking that this is an inline style, but I think that this is related to the CSS style file of the parent theme, because in my child theme I don’t have styles for the “custom-header” class.

    This is not resolved, but is not a problem for me anymore.

Viewing 1 replies (of 1 total)
  • The topic ‘“site-branding” class inline style’ is closed to new replies.