Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter lostsock

    (@lostsock)

    Thanks Kassad for working with me on this and all the advice.

    Also thanks for you kind comment about my site! ??

    Thread Starter lostsock

    (@lostsock)

    This is where I thought the background color was (lines 13-21):

    body {
    margin: 0;
    padding: 0;
    font-size: 62.5%; /* Resets 1em to 10px */
    font-family: Georgia, Verdana, Arial, Sans-Serif;
    background-color: #045A01;
    color: #999999;
    text-align: center;
    }

    The above is found here:
    https://jerryshamblin.com/wp-content/themes/mx4_theme/style.css

    And the header.php that deals with the background image reads (lines 16-23):

    <style type=”text/css” media=”screen”>
    body { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgcolor.jpg”) repeat-x top; }
    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page())) { ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg.gif”) repeat-y top; border-left: 3px solid #000000; border-right: 3px solid #000000;} <?php } else { // No sidebar ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.gif”) repeat-y top; border-left: 3px solid #000000; border-right: 3px solid #000000;} <?php } ?>
    #header { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickheader.jpg”) no-repeat bottom center; }
    #footer { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickfooter.jpg”) no-repeat bottom; border: none;}
    </style>

    And this is found here:
    https://jerryshamblin.com/wp-content/themes/mx4_theme/header.php

    Thread Starter lostsock

    (@lostsock)

    I know that the background image is in the header. I was hoping the the background color was in the style.css. Does this mean that this theme doesn’t use a background-color? Doesn’t sound right. Maybe I’m still thinking of terms of HTML.

    I understand that you can only apply one background to an element, but does that mean if you set that background to repeat-x across the top- the rest that is not covered by the background is by default white?

    Thanks Kassad for responding to my message. I’m still learning as I go.

    I’m sure Mark left it off by mistake. It looks like he was hard at work on the site. I’m sure he’ll remember to add it soon. Nice design, Mark!

    Best wishes!

Viewing 4 replies - 1 through 4 (of 4 total)