• Resolved cristiano771

    (@cristiano771)


    <form id="mla-text-form" action="." method="post" class="row">
    <strong>UCCELLI</strong>
    [mla_term_list taxonomy=attachment_category mla_output=dropdown mla_option_value="{+slug+}" child_of="127" show_count=true pad_counts=false hierarchical=true depth=0 my_filter="color list"]
    
    <br>   <br>
    <input id="text-form-submit" name="text_form_submit" type="submit" value="Visualizza le immagini">
    </form>
     
    [mla_gallery]
    attachment_category="{+template:({+request:tax_input.attachment_category+}|no-term-selected)+}"
    posts_per_page=36 mla_output="paginate_links,prev_next"
    mla_link_href='{+new_url+}?mla_paginate_current={+new_page+}&tax_input[attachment_category]={+query:attachment_category,url+}'
    [/mla_gallery]
    
    <hr style="border-top: 3px dotted #bbb;">
    [mla_gallery columns=0 mla_style="responsive" size="thumbnail" my_custom_sql='attachment_category="{+template:({+request:tax_input.attachment_category+}|no-term-selected)+}" orderby=date order=DESC '  posts_per_page=36
    mla_link_href="/richiedi-stampa/?current_id={+attachment_ID+}"]

    Why responsive style is not working with the gallery generated by mla_term_list?
    Is it normal?
    Thank you so much!
    Cristiano

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your question and for including your source text and the link to your page; very helpful.

    You wrote “the gallery generated by mla_term_list“. The [mla_term_list] shortcode only generates the dropdown control in your search form. I assume you want to make the gallery display of selected items responsive; this is generated by the [mla_gallery] shortcode.

    By “responsive” I assume you mean you want to display fewer columns on narrow screens such as smartphones; is that right? If so, your mla_style="responsive" custom template must be updated. I suggest you review the answer I gave you in this earlier topic:

    Responsive number of columns

    I am marking this topic resolved, but if I have not understood the question or the solution proposed in the earlier topic is not working for you please post and update with additional details so I can give you more specific help. Thanks for your continuing interest in the plugin.

    Thread Starter cristiano771

    (@cristiano771)

    Thank you! I had wrote something wrong in the code, now it works fine!
    Have a nice day,
    Cristiano

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Responsive gallery not working with term_list?’ is closed to new replies.