• Resolved essaund

    (@essaund)


    Hello,

    I can see that it’s possible to create my custom theme. But my question is, can I build and use a different CSS stylesheet other than the one that comes with the plugin? 19KB file size is really huge.

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

    (@wpjoli)

    Hi,

    The main stylesheet is not meant to be modified as it handles the logics of the plugin.

    However, the stylesheet includes some css icons that could be optimized. I will see what’s possible to do.

    Also, if you want to create your own theme, maybe you could but you would have to keep the logic intact or some feature would behave unexpectedly such as the toggle or the indentation of the TOC.

    The possibility to create your own theme means that the plugin will load an additional stylesheet. It is meant for advanced user that need advanced styling.

    Thread Starter essaund

    (@essaund)

    You can consider breaking down all that code into parts. So, that only whatever a person needs is loaded.

    I have noticed that most plugins/themes have this challenge whereby they’re build to rely on one or two critical assets that carry almost everything the controls the functionality of the plugin/theme.

    Having smaller parts, might be cumbersome to code, but easier to customize and optimize for speed.

    Plugin Author WPJoli

    (@wpjoli)

    Hi,

    Thank you for your suggestions. I am sure some parts could be improved and we’ll keep that in mind for the future updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I use my custom css entirely? (Apart from theme)’ is closed to new replies.