how to make sidebar?

How do i make a sidebar background color?

  • With the 20-11 theme i would like to make the sidebar one long color. I have no idea how long my page are and i need the sidebar height to be the same as the post height. Right now when i do #secondary { background-color: green; } the green is only as long as it needs to be so it is extremely short. How do i get it all the way down?

  • Answer:

    The simplest way to create the solid color side bar is with this CSS: #branding { background-color: #ffffff; } #page { background: #ffffff url(path_to_image) repeat-y; } Replace #ffffff with the appropriate color used in your template (if they are different). The "path_to_image" would need to be pointed to an image file that is 1000px wide and 1px high. The image itself would contain the sidebar color starting about 800px from the left.

acidzombie24 at WordPress Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.