Okay
  Public Ticket #2137276
Widget Builder
Closed

Comments

  • Caro Angermann started the conversation

    Hey Guys,

    I'm creating some widgets for elementor with ur tool and like to say that this is really helpful and amazing :)

    I found a little problem while using it. I've created a widget to display teaser on my website but if i use the widget twice the id's and the variables are the same. That means if i put a background-image in teaser-one it will be removed when i drag teaser-two inside. 

    Would you mind telling me if there is a better solution then creating multiple widgets with the same structure ? 

    Thank you :)

  •  1,194
    Amit replied

    you need to use dynamic id 

    its on the right side ucid

  • Caro Angermann replied

    You mean this settings? sorry for my ignorance

  •  1,194
    Amit replied

    no in the html tab on the right

  • Caro Angermann replied

    Im sorry, but could you might help me again?
    i don't know how i set dynamic ID's. Here is my html / css. It should be completly dynamic because there is no fixed number of teasers i need.
    Hope you can help me, thank you :)

  •  1,194
    Amit replied

    you need to add an id in the html 

    and then you can target the id from within the css 


  • Caro Angermann replied

    but if i use the widget 2 times the id's would be the same as well i guess?

  •  1,194
    Amit replied

    thats why you use dynamic id 

    on the right side of the html 

    https://screencast.com/t/1ynPzl2Gyzbd

  • Caro Angermann replied

    i got it :) Thank you really much !