Streaming live at 10am (PST)

Problem solving flexbox or grid? 👍


#1

Hi awesome webflow community :cowboy_hat_face:

Trying to figure out how to use grid and flexbox to get my designs work correctly.

I have two problems.

  1. The first section has sort of two column grid where there is image on the left and text blocks on the right. In reality there are a bunch of rows to get the text working but I can’t get the padding right… Would you do the top section with grid only or use flexbox to get it look like my design?

  2. The second section below the above the fold part needs to have those square images with two different text blocks on top of each other as in the design. Now I can’t figure out how to stack two text boxes on top of each other when using grid. How would you create that section?

Attached you’ll find my design and here you can peak at how the design is looking at right now: https://formsupreme.webflow.io/

I really appreciate your expertise and help :sweat_smile:


#2

That should be simple and straight forward.

So, here, no need for Grid.

You can achieve this using either Column elements or Flexbox. As you’re not using the Container and Webflow’s grid, let’s say Flexbox.

1 section for the top part, with 2 divs inside, one set to 60% with, the other 40% width and a padding of 40 on top bottom left and right. The section is flexbox horizontal.

1 section for the bottom part, with 4 divs inside, all sharing a “cell” class set to 25vw width and 25vw height to keep them square.


#3

@Vincent you the man! Got most of it working except the text in the second part. Any tips how to get them match the design?

You’ve already been super helpful and I’m very grateful for that :pray:

Btw damn nice beard you are rocking!


#4

Sure, can you share your read-only link please?

Lol, this is where all my CSS powers rests.


#5

Ah, here goes https://preview.webflow.com/preview/formsupreme?utm_source=formsupreme&preview=dc0fec4ce7717ef9ea45be6cea7ebd4e


#6

Cool site.

Watch the video. I start by redoing the base stylng of your squares with a common class. When that’s done, when all the common properties are set, I add a combo class to the last three of them to add specific local styles such as the bg image. This way, down the road, I can modify my .cell class and it affects all the elements.

Proceed like that for everything you do in html/css.

Then I used Flexbox vertical and centered to style the cells, I’m not sure what the design reference is.


#7

@vincent you are a god sent! I had somehow missed this video. Learning so much from you and your really appreciate the time and expertise you’ve shared with me! Thank you :rocket:


#8

Hey Vince, I’m trying to figure out how the heck to make this site work on mobile. I know things are supposed to cascade down from desktop but it’s not really working out. Been watching the videos but my daddy brain has fried the rest of the fuses :sweat_smile:

How do you do you get those blocks you helped me build (and the rest of the site) to drop down one after another? Any advice from a pro how I could figure out the mobile version based on the design attached?

Any advice is greatly appreciated :pray:

https://formsupreme.webflow.io/
https://preview.webflow.com/preview/formsupreme?utm_source=formsupreme&preview=dc0fec4ce7717ef9ea45be6cea7ebd4e

Here are the mobile designs for the front page and menu:


#9

I’d like to help but you used Grid, and that’s not a very efficient way to build your sections. Actually you don’t need grid at all, and that is making the responsive strategy more difficult.


#10

:joy:I’m crying here. Someone else told me to absolutely use grids :blush:I really respect your point of view. How would you build the different sections on this site and what “blocks” would you use? I’ve used a bunch of div blocks but would you rather use cells inside sections to make it easier from a mobile strategy perspective?

Do you know if there are any videos made by Webflow that show how to build the site the way you would?


#11

Nelson @PixelGeek has lots of videos from screencast’s and such, where he shows different techniques to build a site like a reference example. You might consider investing time watching them.

Building websites is akin to cooking. A chef takes ingredients (css, graphics, content, design, layout) , to make a meal. The chef uses tools in his kitchen (webflow) and experience (lots of time in kitchen) to craft beautiful and delicious food. Same goes for web design. If your just looking for a delicious meal and don’t plan on cooking for a living, pay a chef. It’s faster, easier, and usually cheaper than your time wasted learning how to cook.


#12

Awesome, thanks so much for recommending me pixelgeek’s videos @webdev ! I’ll definitely put in my time into those.

That’s a great analogy and I mostly agree. Though it’s not necessarily as black and white, either other. I’ve used other html5/css based systems before on wordpress’ platform and with some paid and free help gotten proficient enough to build and maintain my own site’s. Far from perfect but good enough from usability and results driven stand point.

I work as a designer and this is a great opportunity for me to improve my understanding of development and become a better collaborator at work and I wouldn’t try to build a professional site by myself. I’ll let the pro’s like yourself do that :blush:

Thanks again for your recommendation Webdev!