Title: CSS Variables some wrong
Last modified: June 13, 2025

---

# CSS Variables some wrong

 *  Resolved [candell](https://wordpress.org/support/users/candell/)
 * (@candell)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/css-variables-some-wrong/)
 * Hi
 * Firstly, thank you for an amazing slider plugin. I only found you today so came
   in at V2 which is super simple to use with great customisation.
 * I think I found a little niggle, the css variables don’t all work (thanks for
   making this customisation so simple BTW, saves hunting around for classes etc).
   For example,
 * –wp–custom–carousel-block–pagination-bullet-horizontal-gap
 * is actually referenced in the css as
 * –swiper-pagination-bullet-horizontal-gap
 * Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [miller2287](https://wordpress.org/support/users/miller2287/)
 * (@miller2287)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/css-variables-some-wrong/#post-18514986)
 * I noticed that `--wp--custom--carousel-block--navigation-**fullwidth**-color`
   is actually `--wp--custom--carousel-block--navigation-**alignfull**-color` . 
   Can this be corrected in the documentation?
 *  Plugin Author [Virgildia](https://wordpress.org/support/users/virgildia/)
 * (@virgildia)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/css-variables-some-wrong/#post-18554482)
 * [@candell](https://wordpress.org/support/users/candell/) I’m really glad you’re
   enjoying the plugin!
 * `--swiper-pagination-bullet-horizontal-gap` is from Swiper’s default CSS variables
   which are definitely usable if you want to style things directly. On top of that
   the plugin also provides custom `--wp--custom--carousel-block--...` CSS variables
   intended for use in `theme.json` or custom styles. I recommend using these where
   possible for cleaner integration with WordPress theming.
 * As for the specific variable `--wp--custom--carousel-block--pagination-bullet-
   horizontal-gap`, it wasn’t actually included in the CSS. I’ve just added it so
   it should now work as expected.
 * [@miller2287](https://wordpress.org/support/users/miller2287/) thanks you for
   reporting that! I corrected the docs.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CSS Variables some wrong’ is closed to new replies.

 * ![](https://ps.w.org/carousel-block/assets/icon.svg?rev=2024115)
 * [Carousel Slider Block for Gutenberg](https://wordpress.org/plugins/carousel-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/carousel-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/carousel-block/)
 * [Active Topics](https://wordpress.org/support/plugin/carousel-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/carousel-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/carousel-block/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Virgildia](https://wordpress.org/support/users/virgildia/)
 * Last activity: [10 months, 3 weeks ago](https://wordpress.org/support/topic/css-variables-some-wrong/#post-18554482)
 * Status: resolved