Is there a way to add a text field under product images in the Product Images Content panel?

Options
Texaz
Texaz Member Posts: 2
edited September 2023 in Ask a Question

I am trying to add a text box so that we can add the word " From".

Tagged:

Best Answer

Answers

  • visioncraft
    visioncraft Member Posts: 151 Learner
    edited September 2023
    Options

    I haven't tried it, but you may be able to do that using custom CSS — by adding a ::before element to the price, or ::after element to the product name, with the content set to "from". I'm just not sure whether Duda allows the use of pseudo-elements like these, or whether it will strip/override them in the site output.

    The before and after pseudo-elements are usually inline, but you can play with display, margin and other attributes to make them display on a line by themselves, and style them to have the look you want.

  • Aj_Cre8
    Aj_Cre8 Member Posts: 665 MVP
    Options

    I don't think you can alter that widget as its a Duda Widget. The best way to do it, would be to build the images using the regular gallery (or image widget) and then add the text blocks yourself with a different widget! Make Sense??? If not, let me know and I will try to explain it better.

  • Texaz
    Texaz Member Posts: 2
    edited September 2023
    Options

    Yes, that makes sense. Thank you for the feedback. I'll see what I can do.