• Resolved traderjm

    (@traderjm)


    Hello,
    When I do a search on the desktop it works fine, I get results showing up.
    On the other hand, if I test on the tablet format or on the phone format, the result disappears
    I don’t know it can come from the Divi theme or because I have to put one more parameter.

    Here are the codes used
    1-Search pad
    <form id=”mla-search-form” action=”.” method=”post”>
    <input name=”mla_terms_phrases” name=”search-string” id=”mla-terms-phrases” type=”text” value=””>
    <input name=”mla_terms_search” class=”button” id=”mla-terms-search-submit” type=”submit” value=”Search by Region”>
    </form>
    2-Pad displays the search
    [mla_gallery post_mime_type=”application/pdf” mla_terms_phrases=”{+template:({+request:mla_terms_phrases+}|a-bad-term)+}”
    mla_caption=’{+title+}‘ columns=4 orderby=date order=desc]

    Could you help me; thank you

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter traderjm

    (@traderjm)

    Problem solved, in Divi it allows you to put the number of columns for each screen format
    Example pc = 4 columns
    shelf = 2 columns
    Phone = 1 column
    But it does not work at all for this search, the number of columns must be the same for the 3 formats

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your questions and for the details of the shortcodes you are using.

    You wrote “in Divi it allows you to put the number of columns for each screen format

    I am not sure where you enter this information but I don’t see how the [mla_gallery] shortcode would use it. However, you can create a responsive gallery display that adjusts the number of images in each row as the screen get narrower. This should work for the “shelf” and “phone” devices. Here is an earlier topic with more information:

    Can the gallery be made responsive?

    You can adjust the max-width: values as needed to match the “shelf” and “phone” devices.

    I am leaving this topic resolved, but please update it if you have problems or further questions regarding the solution in the earlier topic. Thanks for your interest in the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Test différents format écrans’ is closed to new replies.