Search code examples
wordpressheader

How to add a background to the site identity logo


How can i change the background for my site identity? I have the logo in the middle with just the regular white color background. I want to add some background to it. How do i fix that?

homepage

Tried to add some CSS classes but had no results


Solution

  • CSS rule that sets a logo link background (color copied from .navbar):

    #wrapper-header .custom-logo-link {
      background: #343a40;
    }
    

    eigenwijs-bg-logo




    To expand it to .container:

    #wrapper-header .container {
      background: #343a40;
    }
    

    eigenwijs-bg-container




    Or to apply the background to a whole #wrapper-header:

    #wrapper-header {
      background: #343a40;
    }
    

    eigenwijs-bg-header