Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 14h 38m 20s
Claim 50% off
Solved SP Page Builder

Popup Builder background image not shown

Asked by Siegfried Strassner 1 year ago Last activity 1 year ago

For first time I want to create a popup with the Popup-Builder. There is no problem, to assign a background color of the popup by the popup-settings. But if I want to insert an image as background, it is not shown in the preview.
When I insert the image insted in an div-container, it appears displayed, but not correctly centered in the popup-area.
Where is the fault?

Accepted answer

Marked as the solution
Mehtaz Afsana Borsha Staff

Glad to know that its solved. You can now close this post by accepting the answer.

Mehtaz Afsana Borsha Staff

Thanks for accepting the answer.

8 more replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us and sorry for your issue. Could you please give me that specific page link and also a screenshot of your issue?

-Regards.

Siegfried Strassner Asked this

hi,
there exists no specific page link, because the popup is not yet published.
you can find the popup named "mitglied_werden_02" in our accout.
The link to the screenshot is in the hidden content (I don't succeed to insert it here)

On the screenshot you can see the issue:
The popup area is this one with the green border. In the menu item "popup settings" I can assign each background color, but If I insert there an background image, it will not be displayed.

The colorful image you can see at the screenshot was inserted as background of an div-area. But although I set all padding and margin values to 0px, the image appears shifted to the right.

Actually I would prefer to assign the background image by the "popup settings". But something does not work.

Mehtaz Afsana Borsha Staff

I cant access your screenshot. I have sent you the access request. Please check.

Siegfried Strassner Asked this

Now you have access.

Mehtaz Afsana Borsha Staff

Could you please give me that specific page link?

Siegfried Strassner Asked this

In hidden content

Siegfried Strassner Asked this

Now I noticed that the background image will be displayed as assigned on specific page, but not in the preview modus of the popup.

Siegfried Strassner Asked this

But now it keeps the problem, that the background image is not displayed in the correct size.
Both, popup and background image have the size 887px x 622px.
If I set the background size on "cover" or "contain", it displayes only a cutout of the background picture. If I set on "inherit", it shows the background picture too small.

Mehtaz Afsana Borsha Staff

Hi

Is this ok now?

Siegfried Strassner Asked this

Hi,
not really. It still shows only a cutout of the background picture, but not the full picture.
This is not the solucion, because both background picture and popup size originally have the same size. (how I descriped in #200487)

Mehtaz Afsana Borsha Staff

Ok got it.

Please use this CSS in your custom.css file

.page-237.sp-pagebuilder-popup .builder-container{
    background-attachment: unset !important;
}
Siegfried Strassner Asked this

In the custom.css it did not work.

But then I use this CSS directly in the CSS of the popup:

.sp-pagebuilder-popup .builder-container{
background-attachment: unset !important;
}
And now the popup looks fine, the background image is displayed correctly. :-)

Log in to reply.