• Resolved hardonhorsepoweradmin

    (@hardonhorsepoweradmin)


    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 to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rui Guerreiro

    (@takanakui)

    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

    (@hardonhorsepoweradmin)

    Okay, thank you very much!

    Plugin Author Rui Guerreiro

    (@takanakui)

    No problem.

    Since you’re enjoying WP Mobile Menu and if you have a couple minutes, rate and review the plugin to spread the word!

    Thanks

    [ Signature moderated ]

    • This reply was modified 8 years, 7 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)

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