Supporto » Varie ed eventuali » Add images to the widget title

  • Hello I would like to add an image to the title of the widget, I have entered this code
    .widget_block :: before {
    content: url (“yourimage”);
    }

    only that the images come out of each widget how can I get it out only to the widget that interests me ???

    the widget is a contact form created with contact form 7

    Thanks

    • Questo topic è stato modificato 2 anni, 5 mesi fa da pacc.
Stai visualizzando 2 risposte - dal 1 al 2 (di 2 totali)
  • Ciao @pacc ,

    penso che puoi aggiungere una classe ulteriore al widget che ti interessa. Esempio “myPersonalClass”.

    I think you can add an extra class to the widget you are interested in. Example “myPersonalClass”.

    https://wordpress.org/support/article/block-based-widgets-editor/
    […]
    2. After adding the block, select the three dot ellipsis menu and choose the top option of “Show more settings”.
    3. From there, you’ll see more options to customize your block to your liking.

    Allora hai:
    And now:

    .widget_block.myPersonalClass :: before {
    content: url (“yourimage”);
    }

    Bye!

    Chi ha creato la discussione pacc

    (@pacc)

    Grazie Luca ora cerco di capire un po, avevo scritto in inglese credendo di essere sul forum inglese.

Stai visualizzando 2 risposte - dal 1 al 2 (di 2 totali)
  • Il topic ‘Add images to the widget title’ è chiuso a nuove risposte.