Title: Additional CSS class(es) doesnt work
Last modified: March 12, 2025

---

# Additional CSS class(es) doesnt work

 *  Resolved [Daniel](https://wordpress.org/support/users/damen02/)
 * (@damen02)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/additional-css-classes-doesnt-work/)
 * Hi, I think this is a bug report.
 * I’m trying to get a fixed positioned block.
 * I added a CSS class in a Spectra Lottie Animation block, using the “Advanced 
   > Additional CSS class(es)” field. Then created a CSS rule on “Spectra > Custom
   CSS” field, in the page where the block is used.
 * Here is the rule:
 * `.myfixed {
    position: fixed; bottom: 0;}
 * In the editor, CSS rules produce a strange behavior on the block, and in the 
   front-end the CSS class even not appear.
 * I tried the same procedure in a Spectra Post Carousel with same results
 * I tried the same procedure in a standard WP heading block, and guess what… it
   works as expected!

Viewing 1 replies (of 1 total)

 *  [Mohsin Ghouri](https://wordpress.org/support/users/mohsinbsf/)
 * (@mohsinbsf)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/additional-css-classes-doesnt-work/#post-18366979)
 * Hi [@damen02](https://wordpress.org/support/users/damen02/),
 * Sorry for the inconvenience caused to you.
 * I have checked on my installation and the custom class is showing fine on the
   frontend, here is the reference video: [https://d.pr/v/oqyGDL](https://d.pr/v/oqyGDL)
 * Can you please check by turning off all the third party plugins and clearing 
   all the caches including the server-side cache.
 * Please try and let me know how it goes.
 * Have a nice day!

Viewing 1 replies (of 1 total)

The topic ‘Additional CSS class(es) doesnt work’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-addons-for-gutenberg/assets/icon-256x256.gif?rev
   =3240412)
 * [Spectra Gutenberg Blocks – Website Builder for the Block Editor](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mohsin Ghouri](https://wordpress.org/support/users/mohsinbsf/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/additional-css-classes-doesnt-work/#post-18366979)
 * Status: resolved