WordPress.org

Ready to get started?Download WordPress

Forums

How to remove the gray "border"in standard theme? (9 posts)

  1. Stitch15
    Member
    Posted 4 years ago #

    I've managed to hide the standard header so I can use WP in my own site layout. But now there's a grey "border" around the page. I want the background to be white?
    How do I remove/change this?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    It's a background image. Edit style.css and look for:

    body {
    	font-size: 62.5%; /* Resets 1em to 10px */
    	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
    	background: #d5d6d7 url('images/kubrickbgcolor.jpg');
    	color: #333;
    	text-align: center;
    	}'
    
    Remove <code>url('images/kubrickbgcolor.jpg')</code>
    
    Then look for:
    #footer {
    background: #e7e7e7 url('images/kubrickfooter.jpg') no-repeat top;
    border: none;
    }`

    Remove url('images/kubrickfooter.jpg') no-repeat top

  3. Stitch15
    Member
    Posted 4 years ago #

    Thanks for the reply. I followed your instructions, but the grey borders are still there?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    A link to your site would help.

  5. Stitch15
    Member
    Posted 4 years ago #

    Here it is: http://www.sorgedrager.nl/weblogwp
    In the navigator click "weblogWP"
    Do you know by any chance how to make the lay-out wider?
    Thanks!

  6. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Darn - forgot Kubrick adds style to the header. Edit header.php. Look for:

    <style type="text/css" media="screen">
    
    <?php
    // Checks to see whether it needs a sidebar or not
    if ( empty($withcomments) && !is_single() ) {
    ?>
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
    <?php } ?>
    
    </style>

    Delete the whole block.

    As to making the layout wider, there's so many iframes in there that it's hard to see what frame/div is responsible for what block.

  7. Stitch15
    Member
    Posted 4 years ago #

    Thanks for the reply, but....
    still the gray borders...
    Could it be something with Joomla or are there still "links" to the Kubrick background image?

  8. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Can't tell. I'm finding the multiple nested divs really hard to unravel. It may well be that this is being pulled in from Joomla as I can't find anything in the WP CSS.

  9. Stitch15
    Member
    Posted 4 years ago #

    Things are sort of solved...I used software (Artisteer) to design the template for my Joomla site. Now I've used this same software to design my WordPress template, with reasonable succes. The grey borders are gone..;-) but now I have the "problem" that some parts of WordPress are in English instead of Dutch.
    Something new to figure out...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.