Need help for page optimization

  • agsousissam
    Asked on May 22, 2020 at 6:24 PM

    all article products are cut-off ( photo product image cut-off ) image will show example.


    i tried to make them bigger but every time I try it reduces the number of product per line

    need to stay as it is  ( 6 product per line ) just need every product cases to be a little bit bigger so it can show every detail 

    Jotform Thread 2341843 Screenshot
  • Ariel JotForm Support
    Replied on May 22, 2020 at 8:03 PM

     Try adding the following code to your custom CSS:

    .form-product-item * {
        max-width: 100%;
    }

     

    You might also want to add more space inside the containers by adjusting their left and right padding like so:

    .form-product-item {
        padding-left: 5px;
        padding-right: 5px;
    }

     

  • agsousissam
    Replied on May 25, 2020 at 3:44 PM

    ???

  • Patrick_R
    Replied on May 25, 2020 at 4:34 PM

    Hello! You need to inject the above provided CSS code in your Form using this Guide: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    If the provided CSS code does not resolve your issue, feel free to let us know.
    In case you need us to inject this code for you, do let us know.

  • agsousissam
    Replied on May 25, 2020 at 8:27 PM

    I tried but it failed everytime i need a copy so i can copy/past CSS


    its hard to change the code without changing the whole structure

  • Bert_A
    Replied on May 25, 2020 at 8:53 PM

    Hi,

    To make sure that the provided CSS will take effect without changing any other codes, you can add "! important" on it, see the following.

    .form-product-item * {
        max-width: 100% !important;
    }



    .form-product-item {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    Let me know if that helps.

  • agsousissam
    Replied on May 26, 2020 at 7:34 PM

    it worked thank you for your time !

  • Bert_A
    Replied on May 26, 2020 at 8:38 PM

    You're most welcome!

    Feel free to reach out to us again should you have any other questions or concerns.

    Thank you for choosing Jotform.