[Resolved] Fixed background no repeat, size auto

  • Author
    Posts
  • #14945

    NielsUdink
    Participant

    Hi, since the last Theme update (1.6.0) I can’t change the page background. I do have the option to add a background using the premium theme, but I need a fixed, no repeat background.

    Normally use this css in editor:

    #page {
    background-image: url(‘https://www.ninigames.nl/wp-content/uploads/2020/07/105986923_116094960147786_8590785083339207234_o.jpg’);
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-size: auto:}

    #14946

    Andrew Misplon
    Keymaster

    Hi Niels

    Thanks for reaching out. Please, try:

    .site-content {
    	background-image: url(https://www.ninigames.nl/wp-content/uploads/2020/07/105986923_116094960147786_8590785083339207234_o.jpg) !important;
    	background-repeat: no-repeat !important;
    	background-attachment: fixed !important;
    	background-size: auto;
    }
    #14947

    NielsUdink
    Participant

    Thanks, haven’t used the custom CSS, but works fine like this!

    #14952

    Andrew Misplon
    Keymaster

    Thanks for the follow-up. I’m glad to hear you’re making progress. All the best with your site 🙂

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

You must be logged in to reply to this topic.

Scroll to top