{"id":7349552,"date":"2016-05-04T23:34:27","date_gmt":"2016-05-04T23:34:27","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/disable-vertical-tabs-on-small-resolutions\/"},"modified":"2016-08-31T17:16:32","modified_gmt":"2016-08-31T17:16:32","slug":"disable-vertical-tabs-on-small-resolutions","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/disable-vertical-tabs-on-small-resolutions\/","title":{"rendered":"Disable vertical tabs on small resolutions"},"content":{"rendered":"<p>Hey,<\/p>\n<p>First, great plug in, seriously good work!  Just found and purchased the additional expansion plugins.<\/p>\n<p>I am using the tabs features, and notice that they automatically resort to vertical tabs when the screen resolution drops below a certain # of pixels. From my (very rudimentary) understanding of CSS, this is the code that controls it:<\/p>\n<pre><code>\/* Styles for screens that are less than 768px *\/\n@media only screen and (max-width: 768px) {\n\t.su-tabs-nav span { display: block; }\n\t.su-tabs-vertical .su-tabs-nav {\n\t\tfloat: none;\n\t\twidth: auto;\n\t}\n\t.su-tabs-vertical .su-tabs-panes {\n\t\tfloat: none;\n\t\twidth: auto;\n\t}\n}<\/code><\/pre>\n<p>How would I go about creating a new class to apply to my tabs when I <strong>don&#8217;t<\/strong> want them to auto-shrink on smaller resolutions. Alternatively, how would I make that the default behavior, and create a class to apply when I <em>do<\/em> want a particular set of tabs to auto-shrink on smaller resolutions?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/shortcodes-ultimate\/<\/p>\n","protected":false},"template":"","class_list":["post-7349552","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7349552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7349552\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7349552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}