Title: astra-theme-css-inline-css
Last modified: January 25, 2019

---

# astra-theme-css-inline-css

 *  [Matt Scheidler](https://wordpress.org/support/users/matt6303/)
 * (@matt6303)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/)
 * There is a lot of inline CSS being added to my site. Maybe I’m overlooking it,
   but is there a place in the site options/customizer where some of these values
   can be adjusted? I know I can add my own CSS but if there’s a place to modify
   these values from within WordPress so that the generated inline CSS represents
   the desired styles that would be super.

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

 *  Thread Starter [Matt Scheidler](https://wordpress.org/support/users/matt6303/)
 * (@matt6303)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/#post-11132246)
 * Upon further investigation I have found that the inc/class-astra-dynamic-css.
   php file includes a combination of variables from the Customizer and hard-coded
   values. Particularly I was seeking to alter the astra_parse_css breakpoint from
   768/769, but those values are hard-coded throughout the file. Might that become
   a variable in the customizer also?
 *  [deepakl](https://wordpress.org/support/users/deepakl/)
 * (@deepakl)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/#post-11142697)
 * Hi [@matt6303](https://wordpress.org/support/users/matt6303/) ,
 * Would you mind letting me know what exactly you wish to have when you have Astra
   theme installed on your site?
 * Are you bit worried about the CSS that is been loaded in your site header? If
   yes then you can use Autoptimize plugin in order to have static CSS file.
 * Further, if you need any help regarding the breakpoints alteration then please
   open a ticket in our [support center](https://wpastra.com/support/submit-a-ticket/).
 *  [keepact](https://wordpress.org/support/users/keepact/)
 * (@keepact)
 * [7 years ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/#post-11526542)
 * Is it possible to disable Dynamic css by a function in my child theme?
 *  [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [7 years ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/#post-11530272)
 * Hi [@keepact](https://wordpress.org/support/users/keepact/),
 * Kindly refer an article [here](https://wpastra.com/docs/remove-inline-css-from-astra/).
   Hope this will help!
 * Regards,
    Anjali
 *  [keepact](https://wordpress.org/support/users/keepact/)
 * (@keepact)
 * [7 years ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/#post-11530590)
 * Thank you!!!
 * Best support ever
 *  [keepact](https://wordpress.org/support/users/keepact/)
 * (@keepact)
 * [7 years ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/#post-11531329)
 * Hello, just returning to say that with the provided link filter works but when
   I copy the inline css to an external file and link in the <head> tag not all 
   styles come back.
 * I was able to make it work with this code:
 * function wpse_remove_inline_style( $dynamic_css )
    { wp_style_is( $dynamic_css,‘
   enqueued’ ) && wp_style_add_data( ‘astra-theme-css’, ‘after’, ” ); } add_action(‘
   wp_print_styles’, function() { // Remove previous inline style wpse_remove_inline_style(‘
   astra-theme-css’ );
 * } );
 * Regards
 *  [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [7 years ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/#post-11532835)
 * Hi [@keepact](https://wordpress.org/support/users/keepact/) ,
 * Glad you figured it out. 🙂
 * Alternative solution for your request without coding is that you can use [autoptimize](https://wordpress.org/plugins/autoptimize/)
   plugin.
 * Here is the [screenshot](http://bit.ly/2Vt5Udz) for that option.
 * I hope this is an easy way to get what you wanted.
 * Regards,
    Deepak
 *  [keepact](https://wordpress.org/support/users/keepact/)
 * (@keepact)
 * [7 years ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/#post-11534603)
 * Thanks for the tip.
 *  [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [7 years ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/#post-11537093)
 * Hi [@keepact](https://wordpress.org/support/users/keepact/) ,
 * You are welcome! 🙂
 * Regards,
    Deepak

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

The topic ‘astra-theme-css-inline-css’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/astra/4.13.4/screenshot.jpg)
 * Astra
 * [Support Threads](https://wordpress.org/support/theme/astra/)
 * [Active Topics](https://wordpress.org/support/theme/astra/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/astra/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/astra/reviews/)

## Tags

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

 * 9 replies
 * 4 participants
 * Last reply from: [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/astra-theme-css-inline-css/#post-11537093)
 * Status: not resolved