• Resolved trollytownstudio

    (@trollytownstudio)


    Hi, awesome plugin but is there a way to hide the almost 700 lines of CSS in the source code? For example turn it into a link rel=’stylesheet’?

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

    (@takanakui)

    Hi @trollytownstudio,

    I understand your concern, that css is build dynamically with a php file and it’s based on the Mobile Menu options and at the moment is being built in the front end so it can’t be linked as an external file.

    What I was thinking to do is to move that dynamic generation to the backend when you hit the save button on the WP Mobile Menu settings, so at that moment it would recreate the content of a css file that can be displayed.

    Not sure if I can sort this for the next update that will be released in a few weeks but I will do my best.

    Plugin Author Rui Guerreiro

    (@takanakui)

    @trollytownstudio
    I had been looking at the code and I’m confident that this will be improved in the next version. It would be definitely a performance increase in all aspects.

    Thread Starter trollytownstudio

    (@trollytownstudio)

    Thanks for the quick respons. Looking forward to the next version!

    Plugin Author Rui Guerreiro

    (@takanakui)

    @trollytownstudio

    If you want try this modification before the update that will take a few weeks you can send me an email to [support AT wpmobilemenu DOT com]

    If not then just wait for the update.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘css in source code’ is closed to new replies.