WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] border around page (5 posts)

  1. silentkv
    Member
    Posted 8 years ago #

    Hi, is there a way to put a border around the page? My theme is a modified kubrick. I changed it to match my regular pages but there's a gray border that I want on the right and bottom of the page. I added a "border: 5px solid #000;" around the #page thing (I'm new to CSS) but nothing appears.

    My blog page is "http://www.kennyvelez.com/blog"

  2. neetij
    Member
    Posted 8 years ago #

    Check that it's not being overwritten somewhere else. It does appear to be defined twice in the stylesheet. The second declaration will take precedence. Also, in the header file, there is a declaration for #page dealing with the background images. An option is to place the border style in the header (but not in the PHP if statement - place it after the #footer styling), and you should see the border around the #page.

    Unfortunately I've got more problems for you. In IE6 Win, the columns are shifted to the right.

  3. silentkv
    Member
    Posted 8 years ago #

    I've tried placing it in the header, but then the border just comes out in the header. I've place the style in every "#page" in the css file and the header.php (one at a time), and nothing seems to work. Like I said, I'm new to CSS so maybe I just didn't understand what you said.

  4. silentkv
    Member
    Posted 8 years ago #

    nevermind I think I got it. In header.php the background images hava a border:none, so I'm changing that and it seems to be working. Edit: Scratch that. regular border seems to work, but one-sided borders spread way beyond the pixels I determined. I'll keep messing with it, but if anyone could help out I'll appreciate it.

  5. silentkv
    Member
    Posted 8 years ago #

    I don't know why the border was spreading before, but it seems to be okay now.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags