Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Custom CSS classes removed when animations added

Featured Lock Resolved Bug
It looks like when I add animation options to a row (not sure if affects other elements too but definitely seems to affect a row) then it removes any custom classes I have added for this row.

So I create a new row, click on the ROW OPTIONS link, then add a class name in the "CSS Class" box on the General Tab. This is added to the row as expected at this point.

If I then, however, go to the Animation tab of that same row and enable some animations, it looks like the extra classes being added into the row's class list replaces rather than appends any custom classes.

4 Answers

Shibbir - Staff

More than a month ago #Permalink
Hello there,

Go to components/com_sppagebuilder/layouts/row/start.php page.

and then find this line :


$custom_class = 'sppb-wow ' . $options->animation;


and then replace with this line :


$custom_class .= ' sppb-wow ' . $options->animation;


Let me know is it working for you.

Thanks.

Simon Logan

More than a month ago #Permalink
Perfect, that's fixed it, thanks Shibbir. Will keep an eye out in case any other areas are similarly affected (or maybe this line of script will fix it in multiple places?)

Thanks for this, and hopefully this fix will be in the next release to fix the issue globally.

Shibbir - Staff

More than a month ago #Permalink
Perfect, that's fixed it, thanks Shibbir. Will keep an eye out in case any other areas are similarly affected (or maybe this line of script will fix it in multiple places?)

Thanks for this, and hopefully this fix will be in the next release to fix the issue globally.


Happy to hear that its solved and off course we will update it on our next version. Thanks :)


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 143
Toufiq

Toufiq

Total Accepted Answers: 51
Shibbir

Shibbir

Total Accepted Answers: 28
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 4
Rodrigo Corbata

Rodrigo Corbata

Total Accepted Answers: 3

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam