WordPress.org

Ready to get started?Download WordPress

Forums

kubrick template modified background post color (4 posts)

  1. elpelonloco
    Member
    Posted 3 years ago #

    Hi, i´ve been looking a lot, around the web how to change the background of the post section in the kubrick v1.5 template, i´ve changed the header, background, but i cannot get to change the white box in the post.....can anyone tell me how to do it....please i´m pretty desperate.
    i leave you the link to my page for you can see what i´m talking about. i want everything on the post black boxed. http://www.pablolizardi.com
    Thanks in advanced.

  2. datasoftict
    Member
    Posted 3 years ago #

    A quick check doesn't show much information except I can see the style has been changed to black. I would check in the images directory and see if there are any white gif or jpg files as backgrounds. If so create new black ones and upload them.

  3. elpelonloco
    Member
    Posted 3 years ago #

    Thanks for the quick check, but i scan the code for any gif or jpg, and i couldn´t find that code part to remove the white box.........What can it be???. Thanks Anyway datasoftict...........

  4. alchymyth
    Forum Moderator
    Posted 3 years ago #

    that is the #page background,
    ( /default/images/kubrickbg-ltr.jpg );

    which gets defined in an embedded style in header.php:

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

    you can remove the whole code;

    you then need to add
    #page { border: none; }
    to style.css;

    otherwise you get a thin grey border on both sides of your page.

Topic Closed

This topic has been closed to new replies.

About this Topic