Title: Set or modify css var
Last modified: March 8, 2023

---

# Set or modify css var

 *  Resolved [francofurto](https://wordpress.org/support/users/francofurto/)
 * (@francofurto)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/set-or-modify-css-var/)
 * Hi, in the assets folder I can’t find the :root with all the css variables.

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

 *  Theme Author [Blockify](https://wordpress.org/support/users/blockify/)
 * (@blockify)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/set-or-modify-css-var/#post-16539851)
 * Hi [@francofurto](https://wordpress.org/support/users/francofurto/)
 * Thank you for getting in touch.
 * These variables are dynamically generated by WordPress and your current site 
   settings. It is possible to override them with custom CSS in a child theme.
 * Are there any specific changes you would like to make that I can help with?
 *  Thread Starter [francofurto](https://wordpress.org/support/users/francofurto/)
 * (@francofurto)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/set-or-modify-css-var/#post-16539921)
 * I’m still not used to block themes, theme.json etc. Basically I’ve added another
   folder to the svg rep in order to choose other icons and modified the php. But
   the -webkit-mask-size hides part of the icon (it’s not square shaped but takes
   more width).
 *  Theme Author [Blockify](https://wordpress.org/support/users/blockify/)
 * (@blockify)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/set-or-modify-css-var/#post-16539960)
 * Ok I see, please note that changes made to the theme directly will be lost during
   an update. If you have added those changes to a custom child theme then all good⌊
   👍⌉
 * Blockify provides a filter to add custom icon sets from a child theme (or plugin)–
   [https://github.com/blockifywp/theme/blob/main/includes/utility/icon.php#L56](https://github.com/blockifywp/theme/blob/main/includes/utility/icon.php#L56)
   
   The reason the icons use the webkit mask is to allow gradient colors to work,
   without a mask they can’t use gradients. You could try adding some padding to
   the block, or setting a fixed height.
 * Is it possible to share the URL so I can take a look for you? It should be possible
   to share it privately in this support thread.
    -  This reply was modified 3 years, 3 months ago by [Blockify](https://wordpress.org/support/users/blockify/).
 *  Thread Starter [francofurto](https://wordpress.org/support/users/francofurto/)
 * (@francofurto)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/set-or-modify-css-var/#post-16540047)
 * Ok, shared it. I’ve used the support section inside your blockifywp website.

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

The topic ‘Set or modify css var’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blockify/1.4.10/screenshot.png)
 * Blockify
 * [Support Threads](https://wordpress.org/support/theme/blockify/)
 * [Active Topics](https://wordpress.org/support/theme/blockify/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blockify/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blockify/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 4 replies
 * 2 participants
 * Last reply from: [francofurto](https://wordpress.org/support/users/francofurto/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/set-or-modify-css-var/#post-16540047)
 * Status: resolved