Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    It’s possible to add a background colour to the sidebar using some custom CSS. ??

    To add custom CSS, firstly set up a child theme or activate a custom CSS plugin. If you have Jetpack then you can enable its custom CSS module.

    Enter the following snippet in either the editor for your CSS plugin or the style.css file of your child theme:

    #secondary {
        background: #fff;
    }

    I noticed that the text was really close to the side of your sidebar after changing the colour, so you may also wish to add a little padding:

    #secondary {
        padding: 0 20px;
    }

    Let me know how that goes or if you have any further questions.

    Thread Starter hazyd

    (@hazyd)

    Perfect! Just what I was looking for – thanks!

    You’re welcome! I’m glad I could help. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Background to sidebar’ is closed to new replies.