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

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

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: 219
Sifat

Sifat

Total Accepted Answers: 132
Toufiq

Toufiq

Total Accepted Answers: 45
Archange Consulting

Archange Consulting

Total Accepted Answers: 2
RM

Rod Martin

Total Accepted Answers: 1

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

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us