Custom CSS with animation does not work - Forum | JoomShaper
Solved SP Page Builder

Custom CSS with animation does not work

Asked by H 1 year ago Last activity 1 year ago

I made a simple text ticker with a raw html addon (see https://test.deijsmannetjes.nl/)

But I found out that to make it work, I was forced to include the animation CSS in a <style>-tag in the html content. When I moved the same css to the Custom CSS, the animation stopped working; the non-animation CSS functioned like it should. See e.g. this page: https://test.deijsmannetjes.nl/ijstaarten

Is this a bug? Or did I miss something?

Accepted answer

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

Hoi,

probably 2nd answer, missed something. Right now browser don't see whole needed CSS.

Paste your CSS code here: Page Settings > Page CSS > Custom CSS area. Without <style> </style> (!)

info_3238_2025.gif

H Asked this

Hello Frank,

This worked! But why does it not work at the addon-level?

Btw: good that you pointed me to the page level custom css. I have another pge with nearly idential custom css in the addins. And now I could move it to the page level.

2 more replies

Paul Frankowski Senior Staff
1 year ago · edited

BTW
Probably you missed to paste/use that part

 @keyframes scroll {
            0% {transform: translateX(100%);}
            100% {transform: translateX(-100%);}
        }

I also used probably the same HTML & CSS code and worked fine

info_3239_2025.gif

info_3240_2025.gif

you're welcome

Paul Frankowski Senior Staff

@keyframes

is specyfic tag, and may not work in addon Custom CSS. But the whole rest should.


It's better to keep all Custom CSS in one place, to be able to find it later, in the next weeks or months.

H Asked this

The rest did work.

But now I put it on the page css.

I tried templates/shape_helixultimate/css/custom.css, but that did not work.

Log in to reply.