WordPress.org

Forums

Responsive Opt-Out
[resolved] Need help getting body background image to display (4 posts)

  1. andrew55
    Member
    Posted 2 years ago #

    We are using Themeid Responsive Theme. The css calls work great and are simple to implement, such as:

    .fixed-width .top-widget

    The only one I am having problems with is:

    .fixed-width body {
    background-image: url(/custom_bg.png);
    background-repeat: repeat-x;
    background-color: #FFFFFF;
    }

    You can see the issue at the link below. When screen size is reduced and "view Desktop Link" is clicked, the background image does not appear as it does in the normal responsive mode with expanded screen size:

    http://www.lifeleap.org/mastery/

    I've tried several variations, but none seems to get the background style to show in fixed width mode. Any suggestions for the proper syntax for this type of body tag with this plugin? Thank you for any help.

    http://wordpress.org/extend/plugins/responsive-opt-out/

  2. Ulrich
    Member
    Plugin Author

    Posted 2 years ago #

    As the class is in the same body tag then you need to use this css.

    body.fixed-width  {
        background-image: url(/custom_bg.png);
        background-repeat: repeat-x;
        background-color: #FFFFFF;
    }

    Ulrich

  3. andrew55
    Member
    Posted 2 years ago #

    Thank you - works great!

  4. Ulrich
    Member
    Plugin Author

    Posted 2 years ago #

    Nice :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic