Home › Forums › Support › Mobile Footer 2 columns This topic has 13 replies, 2 voices, and was last updated 4 years, 10 months ago by David. Viewing 14 posts - 1 through 14 (of 14 total) Author Posts July 16, 2018 at 2:18 am #624633 ZZZ Hello there, I need help on footer widgets. Was able to create 2 columns for tablet view but can’t seem to get it right for mobile view for the footer. I want the same view for mobile as the tablet. 2 Columns. can’t see this on website cause it’s in staging mode. July 16, 2018 at 5:09 am #624701 DavidStaff Customer Support Hi there, you can try this, but i think you will find that 2 columns on mobile may be a little too cramped: @media (max-width:768px) { .inside-footer-widgets>div { float: left; width: 50%; clear: none; } } July 16, 2018 at 5:47 am #624731 ZZZ Great, However, i would like widget 1 & 2 to be the same row, then 3 & 4 to start a 2nd row. how do i make this? July 16, 2018 at 6:12 am #624752 DavidStaff Customer Support Lets try using Flex instead: @media (max-width:768px) { .inside-footer-widgets { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; } .inside-footer-widgets>div { -webkit-box-flex: 0; -ms-flex: 0 0 50%; flex: 0 0 50%; } .inside-footer-widgets>div:first-of-type { -webkit-box-flex: 1; -ms-flex: 1 0 100%; flex: 1 0 100%; } } @media (min-width:768px) { .inside-footer-widgets>div:first-of-type { display: none; } .inside-footer-widgets>div.grid-20 { width: 25%; } } July 16, 2018 at 6:28 am #624761 ZZZ great! it worked perfectly. Now i would like to add 1 global widget for mobile but this 1st widget should be only in 1 column while the rest are in 2 column as per normal. Is this possible? What’s the best way to do it? July 16, 2018 at 7:16 am #624793 DavidStaff Customer Support I updated the code above to cover that. Increase footer widgets to five and put the mobile only widget in the first widget area. July 16, 2018 at 7:54 am #624893 ZZZ It works on mobile now, thanks. Sorry forgot to mention, I would like desktop view to remain looking with only 4 widgets. At the moment it is looking with 5 widgets except with the 5th footer widget empty. July 16, 2018 at 8:15 am #624912 DavidStaff Customer Support Edited the code above to adjust the widget 🙂 July 16, 2018 at 8:30 am #624923 ZZZ amazing! got what I wanted with crazy fast support! thanks a bunch! July 16, 2018 at 10:21 am #625042 DavidStaff Customer Support Awesome. glad i could help July 16, 2018 at 10:35 pm #625369 ZZZ Hi Again, Sorry I realised that the 5th widget is not showing on homepage but it is okay on the rest. Any way to fix this? July 17, 2018 at 2:11 am #625488 DavidStaff Customer Support Can you check the Layout meta box in the page editor: https://docs.generatepress.com/article/footer-widgets/ July 17, 2018 at 2:33 am #625503 ZZZ yep that fixed it. thanks again! July 17, 2018 at 2:36 am #625511 DavidStaff Customer Support You’re welcome Author Posts Viewing 14 posts - 1 through 14 (of 14 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In