• Resolved silentkv

    (@silentkv)


    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 “https://www.kennyvelez.com/blog”

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Thread Starter silentkv

    (@silentkv)

    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.

    Thread Starter silentkv

    (@silentkv)

    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.

    Thread Starter silentkv

    (@silentkv)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘border around page’ is closed to new replies.