Switch 2-column layout to single-column on smaller devices (responsive layout)
-
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 https://hpdev.com.au/wpgforms/hpd-client-registration-form/
Please advise the correct code to use in this situation.
Many thanks in advance for your assistance – it is greatly appreciated!
- The topic ‘Switch 2-column layout to single-column on smaller devices (responsive layout)’ is closed to new replies.