• Resolved WWP

    (@iulianba)


    Hello,

    I am creating a new widget and need to add inline styling on the output.

    I stored all the inline-css in a variable named $inline_css.

    I have used wp_add_inline_style(‘name’, $inline_css) to include the styling.

    On frontend (when viewing the page) everything seems great.

    The only problem I have is that when I am editing the page with elementor, no “live” changes made on the widget that are using the inline are displayed.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Inline style in widget’ is closed to new replies.