WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Theme: Sampression] Full-sized background image instead of background colour (3 posts)

  1. buchkinder
    Member
    Posted 1 year ago #

    hi there,

    after having used the search-function without success ...
    I was trying to replace the (light grey) background colour of this great theme with a single image, but failed.
    Tried WP-Supersized (plugin) and Simple Full Screen Background Image (plugin) which both lead to an full-sized image in the header section.

    I'm unfortunately rather no child of the code and would appreciate every single bit of help :)

    buchkinder

  2. Chris
    Member
    Posted 1 year ago #

    Had the same problem. Apparently, the Sampression lite theme uses 'content-bg-rpt.gif' - a 4px by 4px repeatable GIF to make up the background. It's not a solid color.

    If you want another background image, rename the file (it's in /sampressions-lite/images), or replace it with another image using the same name. For more flexibility, open your style.css file in Appearance > Editor. Search for:

    /*** Content ***/
    #content-wrapper {
    background:url(images/content-bg-rpt.gif) repeat;
    padding:20px 0;
    min-height:400px;

    Note you can change the URL of the image you want here as well.
    And change to:

    /*** Content ***/
    #content-wrapper {
    background-color:#FFFFFF (or any color you want)
    padding:20px 0;
    min-height:400px;

    Bear in mind the CSS for other elements is designed to look good with the greenish-gray color - white background looks good to me, though!

  3. buchkinder
    Member
    Posted 12 months ago #

    hei there,

    tried it out and worked :)
    Thank you for the quick hint.

    rock on.

    buchkinder

Topic Closed

This topic has been closed to new replies.

About this Topic