WordPress.org

Ready to get started?Download WordPress

Forums

Left and right border in sidebar (Twenty Twelve Theme) (8 posts)

  1. patrickpankalla
    Member
    Posted 6 months ago #

    Hello guys,

    I'm looking for the CSS code to make left and right sidebar border.

    I want it to go all the way down on all pages.

    Just like this blog: http://www.bypankalla.blogspot.com

    Can anyone help me? Thank you.

  2. vtxyzzy
    Member
    Posted 5 months ago #

    You should create a Child theme to make your changes. If you do not, all of your changes will be lost if you update your theme.

    Try adding this to the end of your child theme's style.css:

    #main {
       border-right: 1px solid #000000;
    }
    #primary {
       border-right: 1px solid #000000;
       padding-right: 10px;
       margin-top: 0;
    }
  3. patrickpankalla
    Member
    Posted 5 months ago #

    I have created a child theme.

    THANK YOU!

    But as you can see on the picture below the border on the left side of the sidebar doesn't go all the way down. It works perfect on the front page, but not in posts and pages.

    (The left border ends where the content of the page/post ends)

    Do you have a resolution?

    Screenshot: http://www.flickr.com/photos/76109074@N08/12914381333/

  4. vtxyzzy
    Member
    Posted 5 months ago #

    Sorry, don't know how to do that without modifying the template that displays the page.

  5. kleinananas
    Member
    Posted 5 months ago #

    my question is similar- the sidebar-background stopps, but the text is longer

    Screenshot:

  6. kleinananas
    Member
    Posted 5 months ago #

  7. julienne
    Member
    Posted 5 months ago #

    It works but leaves a huge emptimess after the last article. for me thats after any RSS or another text widget.

    Be like falling into Lowes Gully...(Google that its Interesting.)

    J

  8. kleinananas
    Member
    Posted 5 months ago #

    but you don't have an idea- or is there a solution?

Reply

You must log in to post.

About this Topic