Style Css Disappears - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Style Css Disappears

O

Oliver

SP Page Builder 5 months 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.

0
5 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 5 months ago #192234

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.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 5 months ago #192031

Hi

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

-Regards.

0
O
Oliver
Accepted Answer
5 months ago #192032

Hui, you are fast today :-)

Here it is. https://prnt.sc/lNb67dUUWDGS https://prnt.sc/Sx93E658SCPX

0
O
Oliver
Accepted Answer
5 months ago #192239

Very good - thank you very much. Works perfect.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 5 months ago #192253

You are most welcome and thanks Paul for helping him.

0