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

Style css disappears

Asked by Oliver 1 year ago Last activity 1 year ago

Hello,

I just have a curious problem.
I created a module for PageBuilder and put in 2 buttons.
Redesigned each button with style css separately.
It show beautifully correct on the Main (Home) page.
But on every other page, the background Image disappears...
I have no idea, why.

Can you help?
Thank you.

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
1 year ago · edited

Thanks for the screenshot. In most cases it's a problem with path to the files. Also in that/your case.

Solution #1

Please use a FULL url to image file(s) with the domain name, then it will work on all subpages

info_2826_2025.gif

OR

Solution #2:
use classic trick with two dots

url("../images/startseite/loginbtn.png")

both methods will work OK.


This is becuase for Joomla/WordPress/Drupal subpages have different path than used on homepage. And above methods allows CMS to see correct URL everytime. Subpages are like rooms in your flat/home, they are independed but still connected.

3 more replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us and sorry for your issue. Could you please give me a screenshot of that portion?

-Regards.

Oliver Asked this

Very good - thank you very much.
Works perfect.

Mehtaz Afsana Borsha Staff

You are most welcome and thanks Paul for helping him.

Log in to reply.