Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter marcmoss

    (@marcmoss)

    stvwlf, you’ve been most helpful. Thank you for your time.

    Turns out WP was resizing the image when I upped it. I never looked @ image properties once I upped it to WP, but after reading your post, I figured, “why not?” and had a look.

    The 538px image that I uploaded had been resized by \wp to 248 (I think) or something like that.

    I uploaded the image to a different hosting site and used *that* one, and, voila, things display as I’d intended.

    For reference, the code that worked with the correctly sized image (538px) is below.

    Thanks again, stvwvlf.

    .maincol{
    
    	float: left;
    
    	width: 538px;
    
    	text-align: left;
    
    	vertical-align: top;
    
    background-color: #f6fbe5;
    
    background-image: url(http://farm4.static.flickr.com/3315/3544403847_7e7e3f0537_o.jpg);
    
    background-repeat: y;
    
    text-align:left;
    
    background-attachment: fixed;
    
    background-position: 40% 0%;
    
    }
    Thread Starter marcmoss

    (@marcmoss)

    update: figured out why the navbar was moving. I was replacing the entire contents of the maincol class with the code I currently have in post.

    Still trying to tweak the settings on getting the image to display correctly, though, and any feedback is welcomed.

    Thread Starter marcmoss

    (@marcmoss)

    Thanks, stvwlf.

    I tried what you suggested, commenting out the code in post and post_alt, then putting it into maincol.

    The result was that the image spread across most of the page, encompassing the area where the navbar should be & kicking the navbar down to below the last post.

    Played with percentages, too, instead of center; center, played with the repeat setting, with no satisfactory results.

    I can definitely see, now that you point it out, I cannot have the same code in this case, in two classes, and I think you’re right, it should go into the maincol class. I’m just unsure of what settings to tweak there so that the image displays only once and the navbar stays where it should.

    Wish I could find an example of how this is being used successfully somewhere, so that I could look at the CSS there. So far, no luck on that.

    Can anyone else offer any suggestions?

    Thanks.

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