Title: Inline CSS (HTML Source Code)
Last modified: September 11, 2017

---

# Inline CSS (HTML Source Code)

 *  Resolved [hardonhorsepoweradmin](https://wordpress.org/support/users/hardonhorsepoweradmin/)
 * (@hardonhorsepoweradmin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/inline-css-html-source-code/)
 * Hello,
 * Firstly I would like to thank you for the creation of this plugin, the lite version
   has worked quite well to suit our needs and we are considering purchasing the
   PRO version if it is determined to be within budget!
 * I just have one question, based on the following situation: I’m seeing some inline
   CSS placed in the page source code/header on page load, while this is not “problematic”
   I am currently trying to move ALL plugin css to one “plugins.css” file, as well
   as remove as much inline script from header as possible for cleanliness-sake.
   I’ve manually dequeued all styles and scripts related to this plugin on a minimal
   test page, however the source code for this page (or any other) is generated 
   with inline CSS from this plugin, specifically what appears to be a media query
   that handles menu visibility over a certain screen width.
 * Is this behaving as intended? If so, is there a way to discourage the inline 
   css so I can simply copy/paste to my plugins.css?
 * Thank you very much for your time and efforts!
    Michael Porubek Hard On Horsepower
   845-744-4889
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finline-css-html-source-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/inline-css-html-source-code/#post-9487679)
 * Hi,
 * Yes, it’s behaving like intended because that inline css is the result of changes
   that are done in the WP Mobile Menu options. Since the options can change it 
   needs to rendered dynamically using a php file.
 * There are other ways of doing this using SASS or less, but that is another discussion.
 * In this specific case there is no way to include it in a static css file.
 * Let me know if have any further doubt.
 * -Rui
 *  Thread Starter [hardonhorsepoweradmin](https://wordpress.org/support/users/hardonhorsepoweradmin/)
 * (@hardonhorsepoweradmin)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/inline-css-html-source-code/#post-9489970)
 * Okay, thank you very much!
 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/inline-css-html-source-code/#post-9490047)
 * No problem.
 * Since you’re enjoying WP Mobile Menu and if you have a couple minutes, [rate and review the plugin](https://wordpress.org/support/plugin/mobile-menu/reviews/?filter=5)
   to spread the word!
 * Thanks
 * _[ [Signature moderated](https://make.wordpress.org/support/handbook/forum-welcome/#avoid-signatures)]_
    -  This reply was modified 8 years, 8 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

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

The topic ‘Inline CSS (HTML Source Code)’ is closed to new replies.

 * ![](https://ps.w.org/mobile-menu/assets/icon-128x128.png?rev=1890426)
 * [WP Mobile Menu - The Mobile-Friendly Responsive Menu](https://wordpress.org/plugins/mobile-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobile-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobile-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/mobile-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobile-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobile-menu/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/inline-css-html-source-code/#post-9490047)
 * Status: resolved