• Resolved 2ysub2ysur

    (@2ysub2ysur)


    Hi there, I need to use an image for the background rather than just a solid hex code. When I try to add it in via custom CSS, using the .wpoi-hustle .wpoi-optin selector, it doesn’t work. In fact, it ‘breaks’ the rest of the code and causes all my other CSS changes to not appear. I’ve tried the following and both don’t work:

        .wpoi-hustle .wpoi-optin {
        background-image:url("URLHERE"); 
        }

    and

        .wpoi-hustle .wpoi-optin {
        background: url(URLHERE); 
        }

    Any advice?

Viewing 1 replies (of 1 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hey @2ysub2ysur,

    Hope you’re well.

    There is known bug about that, it will be fixed at one of the future releases. Until that time I can add URL like this, maybe this works for you too;

    .wpoi-hustle .wpoi-optin {
        background:url('/wp-content/uploads/2017/10/imagename.jpg');
    }

    Cheers,
    Oguz

Viewing 1 replies (of 1 total)
  • The topic ‘Use image as background rather than solid color’ is closed to new replies.