Title: Dynamic for mobile
Last modified: March 22, 2017

---

# Dynamic for mobile

 *  Resolved [GBColorado](https://wordpress.org/support/users/gbcolorado/)
 * (@gbcolorado)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/dynamic-for-mobile/)
 * Is there a shortcode for [mia_gallery] to make it dynamic for mobile phones, 
   to reduce the number of columns shown? The page I am trying to format is at [https://brightlightsongs.com/lyrics/](https://brightlightsongs.com/lyrics/).
   I have 6 columns set for the desktop version. I would like it to only display
   1-2 columns on mobile. Is there any way to do this?

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

 *  Thread Starter [GBColorado](https://wordpress.org/support/users/gbcolorado/)
 * (@gbcolorado)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/dynamic-for-mobile/#post-8949058)
 * Can I add to the css for .mla_gallery-1 .gallery-item{ } to have some code like
   this? [@media](https://wordpress.org/support/users/media/) (max-width: 560px){
   .
   mla_gallery-1 .gallery-item { max-width: 100%; } }
 * Doesn’t work
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/dynamic-for-mobile/#post-8949678)
 * Thank you for your question and for your update asking about CSS modifications.
   Responsive design of image galleries has been a recurring and frustrating topic,
   starting some years back:
 * [Gallery layout/responsiveness](https://wordpress.org/support/topic/gallery-layoutresponsiveness/)
 * [WordPress theme and MLA styling](https://wordpress.org/support/topic/wordpress-theme-and-mla-styling/)
 * This topic links to three additional topics:
 * [Variable gallery columns](https://wordpress.org/support/topic/variable-gallery-columns/)
 * And:
 * [Vary number of gallery columns to fit page width](https://wordpress.org/support/topic/vary-number-of-gallery-columns-to-fit-page-width/)
 * [Responsive Images](https://wordpress.org/support/topic/responsive-images-28/)
 * My friend and MLA user Alexander Kunz just posted:
 * [WordPress, Galleries, Mobile, Responsiveness, AMP?!](https://alexkunz.wordpress.com/2017/03/22/wordpress-galleries-mobile-responsiveness-amp/)
 * In short, I regret that I have not yet found a great answer to your question.
   The guidance in the earlier topics can be summarized as:
    - You can use MLA’s custom style and markup templates to replace the WordPress-
      like layout with anything that better fits your theme and/or meets your needs.
    - You can use MLA’s support for other gallery-generating shortcodes/plugins 
      to combine MLA’s data selection features with the formatting features of another
      gallery-generating solution.
 * I am marking this topic resolved simply because I’ve given all the help I can.
   If you find a solution you like I encourage you to post it here so I and other
   MLA users can benefit from the progress you make. Thanks for your understanding
   and your interest in the plugin.
    -  This reply was modified 9 years, 2 months ago by [David Lingren](https://wordpress.org/support/users/dglingren/).
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [9 years ago](https://wordpress.org/support/topic/dynamic-for-mobile/#post-9072325)
 * You might find this recent support topic of interest:
 * [Can the gallery be made responsive?](https://wordpress.org/support/topic/can-the-gallery-be-made-responsive/)
 * It describes a simple approach to varying the size and number of items in a row
   based on the width of the browser window.

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

The topic ‘Dynamic for mobile’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

## Tags

 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * 3 replies
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/dynamic-for-mobile/#post-9072325)
 * Status: resolved