Title: Remove inline style
Last modified: April 12, 2019

---

# Remove inline style

 *  Resolved [tottello](https://wordpress.org/support/users/tottello/)
 * (@tottello)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-inline-style-3/)
 * Hello, when I add component I got a lot of inline style like this:
 * `#uagb-infobox-e0238ed0-59ea-410e-bddd-cf0a8a78d7c9 .uagb-ifb-icon svg`
 * I want to be able to make styling for this element through my theme css, but 
   with this inline thing is very difficult.
    How can I disable this?
 * I am using latest 1.12.5 version

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

 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-inline-style-3/#post-11428057)
 * Hello [@tottello](https://wordpress.org/support/users/tottello/),
 * All the stylings from UAG are added as an inline style. So it is not possible
   to remove the inline style.
 * I hope this clarifies your query.
 * Regards,
    Balachandar Karuparthy
 *  Thread Starter [tottello](https://wordpress.org/support/users/tottello/)
 * (@tottello)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-inline-style-3/#post-11429193)
 * Thank you for your answer.
 * Probably it would be good idea to have option to prestyle components by theme
   css.
 * IMO adding component with no changes in editor (colors, font size etc) should
   leave component easy to style by theme CSS which is not possible now because 
   I have to use !important which makes a lot of problems later.
 * What do you think about it?
 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-inline-style-3/#post-11432430)
 * Hello [@tottello](https://wordpress.org/support/users/tottello/),
 * Until and unless you have selected an option or the block’s options have default
   values the CSS won’t be applied on the frontend. You can clear the values from
   the backend editor and then the CSS won’t be applied on the frontend and you 
   can override it from your theme’s CSS.
 * Also, In the case of default values, Gutenberg doesn’t allow to clear the default
   so their CSS would always be added and you would need to increase the class weight
   or use !important in order to override the CSS.
 * Regards,
    Balachandar Karuparthy
 *  Thread Starter [tottello](https://wordpress.org/support/users/tottello/)
 * (@tottello)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-inline-style-3/#post-11433056)
 * Thank you for your fast reply.
 * I thought this should work that way but reseting value in gutenberg and saving
   doesnt work. After saving I still have values.
 * [https://testug.serwereo24.pl/?page_id=2](https://testug.serwereo24.pl/?page_id=2)
 * There are 2 infoboxes, first standard with no changes, second where I tried to
   reset values of icon color and size.
 * So this is bug or something wrong with my config but this is just test, basic
   WP with your plugin only.
 * Second thing, it would be better to have some hooks (?) to overwrite default 
   values in editor (because even when I make styling in theme css I have to reset
   everything, everytime which is not very handy).
 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/remove-inline-style-3/#post-11438750)
 * Hello [@tottello](https://wordpress.org/support/users/tottello/),
 * The values that are visible to you are because we have given those as the default
   values and Gutenberg doesn’t clear the default values. So even though you clear
   them they would still be applied on the frontend. For now, you need to override
   them by either increasing the class weight or using the !important.
 * I have added your request to add a filter to change the default values to our
   to-do list and would be fixing it in our future updates.
 * Your patience is highly appreciated.
 * Regards,
    Balachandar Karuparthy

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

The topic ‘Remove inline style’ 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/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/remove-inline-style-3/#post-11438750)
 * Status: resolved