Adding sidebar border

  • Author
    Posts
  • #33172
    Erica

    Hi, I’m attempting to add a simple 1px line to separate my sidebar from my main content. Can anyone please help? Thanks.

    #33299
    Zed
    Cryout Creations mastermind
    #primary, #secondary {
        border-color: red;
        border-style: solid;
        border-width: 0;
    }
    #primary { border-width: 0 1px 0 0; }
    #secondary { border-width: 0 0 0 1px; }

    However note that the sidebar(s) and the content area will not always have the same height.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Adding sidebar border’ is closed to new replies.