Support » Plugin: Google Forms » Switch 2-column layout to single-column on smaller devices (responsive layout)

  • Resolved mike_rennie


    Hi, a fantastic plugin; thank you very much for creating it!

    I have played with it extensively, and have so far found it possible to achieve most modifications I wish. Using a two-column setup on larger screens as it looks far nicer on them, I am trying to add some css to make the form responsively adapt to single column for smaller screens (two columns is unreadable on small tablets and mobiles).

    I had thought that adding:

    @media only screen and (max-width: 800px) .wpgform-first.wpgform-column { width: 100% !important; }

    would do the trick, as changing .wpgform-first.wpgform-column { width: 100% !important; } changes the layout from double to single. However it seems to have no effect.

    The URL in question is

    Please advise the correct code to use in this situation.

    Many thanks in advance for your assistance – it is greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mike Walsh


    The reason the viewport CSS doesn’t work is because the jQuery script which rearranges the content into columns is run after your CSS is processed. It is one of the last things which happens to a page. The only way to do what you are asking to do would be to use Javascript.

    That said, this seemed like a reasonable request and more importantly, it was fairly simple to implement. I’ve added a new feature that as part of the column settings, you can define a minimum viewport width. The script to add columns will not run when the viewport is smaller than the defined width. A setting of zero (0) tells the plugin to ignore the setting and behave the same way prior versions have.

    If you would like to try this out, I have a beta version posted on my web site.

    Plugin Author Mike Walsh


    Fixed in v0.83 which was just released.



    Hi! As I can see, it does exactly the opposite what it should do.

    It columnizes from 0 to the value I enter at the Columnize Min Width.

    I think it should columnize starting from the entered value, because as it is now, on smarthphones always will be columnized, and it wont be columnized on big screens.

    Could you change that? Thanks



    It seems it works on my phone, but it does not work on the browser, that’s why I thought that it doesn’t work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Switch 2-column layout to single-column on smaller devices (responsive layout)’ is closed to new replies.