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

    (@launchinteractive)

    It all has to do with the order of the enqueued styles. The font awesome include is spliting two files that could be merged together. Are you able to re-order your enqueued styles so its first or last?

    You also have a ie conditional stylesheet that splitting two files.. Are you able to adjust its order too?

    MMR does its best to re-order but sometimes needs a bit of help.

    Thread Starter nashtu3000

    (@nashtu3000)

    I am using a theme i bought from themeforrest, called FlexMag and i lack the technical ability to reorder them, i only know a small bit of programming myself.

    Do you have any kind of guide that explains how to do this?

    Plugin Author launchinteractive

    (@launchinteractive)

    ahh ok, I’ll see if I can explain what you need to look for:

    1. have a look in functions.php in your theme and see if there are any wp_enqueue_style function calls. If you can’t find any than the developer has done this in another file so your going to have to try and find which file. If you can’t find where the files are being enqueued do a search through the plugin files for “wp_enqueue_style” or for the filename of the stylesheet you want to re-order.

    2. Once you find the the enqueue functions see if you can re-order them without breaking anything.

    3. If you still can’t work it out and your happy for me to have a look send me the wordpress details and I’ll see if I can sort it out for you.

    Thread Starter nashtu3000

    (@nashtu3000)

    I found this great plugin: https://github.com/NateWr/asset-queue-manager

    I am going to dequeue all the css and then manually queue them myself via the specific wordpress function wp_enqueue_style in the order that i wish. Let’s see if this will work..

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Merge CSS files’ is closed to new replies.