Customer Portal

Get Involved. Join the Conversation.

Topic

    Janusz Jasinski
    Extending ProductCategoryInput widget has changed designAnswered
    Topic posted May 16, 2019 by Janusz JasinskiBronze Crown: 15,000+ Points 
    36 Views, 2 Comments
    Title:
    Extending ProductCategoryInput widget has changed design
    Content:

    Hi,

    I have extended the ProductCategoryInput widget with just a logic.js file and the design has totally changed and inheriting all sorts of other CSS

    Please see attached

    Image:
    Document:
    01.PNG (4KB)
    Document:
    02.PNG (3KB)

    Best Comment

    Janusz Jasinski

    No extra HTML - tried using inspector tool but the amount of bloat OSvC adds, it wasn't worth my time

    It worked when I named the custom widget the same as the one I extended it from so happy now :)

    Comment

     

    • Sebastiaan Draaisma

      It may be that you have used divs in your custom widget with a different id which would then receive a different CSS style. Another reason could be that there is no CSS or different CSS file specified for your custom widget.

      You can use the inspector tool in your browser to see which CSS is used.

    • Janusz Jasinski

      No extra HTML - tried using inspector tool but the amount of bloat OSvC adds, it wasn't worth my time

      It worked when I named the custom widget the same as the one I extended it from so happy now :)