I have a 2 columns page and I want that on small screens the first column to be replaced by a small column with just a button on it. When you click the button the original first column appears again (like it is on Wordpress for example).
Thank you.
You cannot reduce a column into a button on a breakpoint (not without adding a lot of code), but you can:
class="column small-12 hide-for-medium"
, and put the button there... this will keep the column hidden from medium up.hide-for-small-only
, so this will be hidden on small breakpoint; please add an id to this column.slideToggle() from jQuery
), and that's it.Hope this helps.