• Resolved streamworksaudio

    (@streamworksaudio)


    Hi,

    Just wondering if it is possible to de-register the styles used by the plugin so custom styles can be used?

    I would like to make tweaks to the stylesheet that comes with the plugin, so I would like to de-register the default the default one and then queue our custom stylesheet. Possible?

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @streamworksaudio

    There are many stylesheets that are queued in many places of Dokan according to their necessity. We do not suggest dequeuing or de-register the basic style of Dokan because this may break the pages badly.

    I would rather suggest enqueueing your own custom scripts with a higher priority so that your custom stylesheet loads before the default one of a plugin. As a reference, you can have a look at this code reference’s note section.

    I hope it helps.

    Thread Starter streamworksaudio

    (@streamworksaudio)

    Thanks Jahidul,

    I was in fact just doing some testing on this. I have to check the priorities, but I was unable to load mine before Dokan’s.

    However I was able to Elementor’s Custom Code to enter custom CSS that overrode Dokan’s. So I might have to do it that way, but I would prefer to have them in my own CSS file.

    I will try again with the priorities.

    Cheers

    Thread Starter streamworksaudio

    (@streamworksaudio)

    I gave it another shot and double checked my priorities and it is now working.

    Thanks!

    Hi @streamworksaudio,

    Glad to know you’ve achieved your requirement. So, I’m going to mark this topic as resolved. If you’ve any further queries, feel free to create a new thread.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘De-Register Styles’ is closed to new replies.