CSS for Product List element

  • farsheed
    Asked on December 1, 2022 at 12:51 PM

    Hi

    I've made the following CSS to my Product list element increasing the font sizes of certain classes.

    It appears correct on Build mode as below

    CSS for Product List element  Image 1 Screenshot 30

    But in Preview mode it does not appear the same. It appears with the defualt text size as below

    CSS for Product List element  Image 2 Screenshot 41

    Please suggest what I should do Thanks...

    Also please advise how to increase the size of the .form-payment-total class i tried using

    .form-payment-total {

      font-size : 22px;

    };

    It didnt work

  • Jovanne JotForm Support
    Replied on December 1, 2022 at 1:13 PM

    Hello Farsheed,

    Thanks for reaching out to Jotform Support. Please try putting !important; in your CSS properties to apply the CSS changes:

    1669918320 6388ee7006296 6388ee7006259 Screenshot 10

    Here is the result:

    1669918357 6388ee95d525e 6388ee95d5221 Screenshot 21

    Give it a try and reach out again if you have any other questions.

  • farsheed
    Replied on December 1, 2022 at 9:31 PM

    Thanks Jovanne, that worked!

    now the only thing left is the increase the “Total 0.00INR” font size. I tried using

    form-payment-total {

      font-size : 22px !important;

    }; 

    Still doesn’t work… any ideas?

  • CJ_G
    Replied on December 2, 2022 at 1:46 AM

    Hello farsheed,

    Thanks for your response. Please inject the CSS code below to increase the font size of the total amount label:

    #total-text{
    font-size: 32px !important;
    }


    Give it a try and let us know if you need help.

  • farsheed
    Replied on December 2, 2022 at 8:35 AM

    Nope CJ,

    Still not working... Sorry

    1669988093 6389fefd834cb 6389fefd8348d Screenshot 10

  • Lorenz JotForm Support
    Replied on December 2, 2022 at 8:50 AM

    Hello farsheed,

    Please inject the code below instead, to increase the font size of the total amount text.

    .form-payment-price span {
    font-size: 22px !important;
    }


    Give it a try and let us know if you need any more help.

  • farsheed
    Replied on December 2, 2022 at 11:54 AM

    Thanks Lorenz

    That worked well….