Product List: How to change price color in mobile view

  • Hochwimmer
    Gefragt am 2. April 2024 um 14:12

    Sehr geehrte Damen und Herren,


    während der Preis überall schwarz ist, ist er in der vertikalen Mobile Version blau. Wie kann ich das auch auf schwarz adaptieren?

  • Aravir Jotform Support
    Geantwortet am 2. April 2024 um 16:38

    Hi Johannes,

    Thanks for reaching out to Jotform Support. Unfortunately, our German Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in German, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. Please inject the CSS code below to change the color of the price in mobile view:

    @media only screen and (max-device-width: 1028px) {
     .form-line[data-payment="true"] div[data-wrapper-react="true"] .form-product-item.new_ui .form-product-details {
    color:black !important;
    }

    Here's how to inject the CSS code into your form:

    1. From your Form Builder, click the paint roller icon on the upper right.
    2. Under the Styles tab, scroll down to the Inject Customer CSS section and paste the CSS code.

    Product List: How to change price color in mobile view Image 1 Screenshot 30

    Checkout the screencast below to see my result:

    Product List: How to change price color in mobile view Image 2 Screenshot 41

    That's it. Let us know if you have any other questions.