Black Background Mobile View

  • Author
    Posts
  • #156859

    nosinga
    Member
    Original poster

    Hi there,

    I was hoping you could help me with removing the black background that is behind my logo at the top of my page on a mobile view? If that could be changed to white, that would be great.

    Thank you very much!

    Nicole

    The blog I need help with is: nicoleosinga.com

    #156874

    tarasdashkevych
    Theme Author

    Hello Nicole,

    By default, the site header has a black background in smaller screens but it’s possible to change this color using a custom CSS:

    
    /* Change background color of the site header in smaller screens. */
    @media (max-width: 768px) {
      .site-header {
        background-color: #ffffff;
      }
    }
    
    /* Change background color of the toggle sidebar (mobile menu). */
    .toggle-sidebar {
      background-color: #eeeeee;
    }
    

    Here is a quick guide on how to add a custom CSS at WordPress.com: https://wordpress.com/support/custom-design/editing-css/

    Please let me know if you have any additional questions.

    Kind regards,
    Taras

    #156887

    nosinga
    Member
    Original poster

    Thank you so much! That worked perfectly.

    #156899

    tarasdashkevych
    Theme Author

    Nicole,

    You are very welcome!

    Kind regards,
    Taras

The topic ‘Black Background Mobile View’ is closed to new replies.