Forum Discussion

omygoodness's avatar
8 years ago

How to edit default widgets?

Hi,

I am trying to find a way to edit default lithium widget called "users.widget.contact-me".  

  • Hi omygoodness

     

    default widget cannot be edited (at least, not the backend / frontend code). You can of course:

    • Style them via CSS / SASS
    • Wrap them with extra custom logic using the @override directive.

    Hope this helps,

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)

    Hi omygoodness

     

    default widget cannot be edited (at least, not the backend / frontend code). You can of course:

    • Style them via CSS / SASS
    • Wrap them with extra custom logic using the @override directive.

    Hope this helps,

      • VarunGrazitti's avatar
        VarunGrazitti
        Boss
        omygoodness - Yes, you can either develop a custom widget or simply override a default one as Paolo mentioned. Also, if your requirement is just some cosmetic changes, you can use some CSS to change its UI.