• 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?

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

    Thread Starter stitch15

    (@stitch15)

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

    A link to your site would help.

    Thread Starter stitch15

    (@stitch15)

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

    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.

    Thread Starter stitch15

    (@stitch15)

    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?

    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.

    Thread Starter stitch15

    (@stitch15)

    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…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to remove the gray “border”in standard theme?’ is closed to new replies.