Title: Responsive mode only apears on first shortcode
Last modified: April 20, 2017

---

# Responsive mode only apears on first shortcode

 *  Resolved [hectorasencio](https://wordpress.org/support/users/hectorasencio/)
 * (@hectorasencio)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/responsive-mode-only-apears-on-first-shortcode/)
 * Hi Meitar,
 * I’m implementing support for Inline Google Spreadsheet Viewer on my custom theme
   and I getting some troubles with the responsive view, maybe you can help me to
   find the way to solve it.
 * I have a template that renders several shortcodes in a tabbed container, all 
   working like a charm, but on mobile view only the first one gets the plus buttons.
   The others just overflow the container. Despite I prefer the plus-button mode,
   it’s ok if it overflow but, if I use `datatables_scroll_x="true"` it breaks the`
   thead` on the other tables (not on the first one).
 * Tab content is implemented like this:
 *  `<div class=”tabs-panel is-active” id=”panel1v”>
    <?php if ($actividad_1_contenido!
   == ”) { ?> <?php echo do_shortcode(‘[gdoc key=”‘ . $actividad_1_contenido . ‘”
   datatables_paging=”true” datatables_dom=”lfrtip” datatables_searching=”false”
   use_cache=”no” datatables_info=”false” datatables_ordering=”false” ]’); ?> <?
   php } ?> </div> <div class=”tabs-panel” id=”panel2v”> <?php if ($actividad_2_contenido!
   == ”) { ?> <?php echo do_shortcode(‘[gdoc key=”‘ . $actividad_2_contenido . ‘”
   datatables_paging=”true” datatables_dom=”lfrtip” datatables_searching=”false”
   use_cache=”no” datatables_info=”false” datatables_ordering=”false” ]’); ?> <?
   php } ?> </div> <div class=”tabs-panel” id=”panel3v”> <?php if ($actividad_3_contenido!
   == ”) { ?> <?php echo do_shortcode(‘[gdoc key=”‘ . $actividad_3_contenido . ‘”
   datatables_paging=”true” datatables_dom=”lfrtip” datatables_searching=”false”
   use_cache=”no” datatables_info=”false” datatables_ordering=”false” ]’); ?> <?
   php } ?> </div> … `

Viewing 1 replies (of 1 total)

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/responsive-mode-only-apears-on-first-shortcode/#post-9080390)
 * This is a duplicate of [of this post](https://wordpress.org/support/topic/responsive-mode-only-apears-on-first-shortcode/).

Viewing 1 replies (of 1 total)

The topic ‘Responsive mode only apears on first shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Meitar](https://wordpress.org/support/users/meitar/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/responsive-mode-only-apears-on-first-shortcode/#post-9080390)
 * Status: resolved