All videos
Freelancer — 470 | Site build | Portfolio page
This content is no longer maintained.
Webflow has evolved past what's covered here. Treat it as a reference, not a reliable how-to.
Trouble with this video? YouTube may be blocking it for you. Watch it directly on YouTube instead.

Freelancer — 470 | Site build | Portfolio page

Build a portfolio page that spotlights the value your client has to offer their potential clients. Full course, plus downloadable assets: https://wfl.io/site-build

Note: We’re transitioning to a new UI, and are in the process of updating our Webflow University content.

Video transcript

For the portfolio page we’re calling this our work, our being first person plural from the perspective of Hayes Valley Interior Design, not those who meet one of three criteria sitting at this desk watching this video. We're reading the transcript of you know, what?

It's not our work, its portfolio. So none of that was relevant, but we're going to build it out based on the CMS collection we added before. What does that mean? Well, we have all this information stored in our CMS, and now we're going to design with it and we'll do this in three parts. We’ll start with the nav bar in the footer since we want those to appear on each and every page. Then we'll build out our hero section, and finally we'll make a grid for all our featured projects, every client project in the portfolio. Let's start with the nav bar and footer and the first instinct might be to go to the pages panel and create a new page. That would be correct. Although we can do it in any order we want, let's create portfolio. And that's our portfolio page completely and entirely blank. Now if we go back to the homepage we could just copy and paste the nav bar, copy and paste the footer. In fact, let's copy the nav bar right over to portfolio. But here's the problem. We paste it in, if we make a change here call this homepage instead of home. We go back to the homepage. We can see it still says home. That's because there's no link between this content. It’s static content. We placed it on one page by copying and pasting, and we changed it on that page. Wouldn't go back and change the original content. So there's another, better way to do this, and we'll start by deleting the nav bar we paste it and going back to the home page. Selecting the nav bar, we're going to right-click on the label. What we'll do is we'll create a symbol. So we'll press create symbol and we'll call this ‘nav bar’ that'll let us place this on any page, anywhere in our project. So let's go to portfolio, and if we go to our ad panel, we have the elements we've been adding from this the entire time but we also have symbols. So let's click into symbols, drag our navbar in, and that's it. Now if we change something, for instance, double click to edit that symbol and let's go in call it home page. Now if we edit that on this page we go back to home that carries over so all of our content that's inside a symbol, making a change on any of that content, affects all other instances of that symbol wherever they are in the project. So that's the nav bar. We're halfway done. Let's do the footer itself, and we’ll right click the label create symbol, and we'll call it ‘footer’. Same deal here because we might want to make changes to our styling, we might want to make changes to our content. We don't want to be locked in. So, by creating symbols for these common elements, which will appear on each page. We're going to save a tremendous amount of time. Not just when we're creating the pages, but when we make changes down the road. Let's copy that footer. Go back over to portfolio and paste. Now, a couple things here. One, it’s tucked underneath the nav bar. That's expected behavior. Nav bar is floating above everything else. It's fixed on desktop view, but there's another reason it's doing this. There's no direction telling that footer to go down to the bottom of the page. On our body all pages tag, again, we can access this from the drop-down, let's click that we can do something special here. We can set the body to flex. We use flex box and we want content to still stack vertically that works okay, but the interesting part about this is it opens up flex box magic that's actually flex box auto and when we double click on the footer, that's how we edit the footer, we can do something here that's going to change everything. We can set the top margin, not to a specific number, not to 115 pixels, we can set the top margin to auto, and that means wherever we are, however long that viewport is, however long that page is, it's always going to be at the bottom because auto creates automatic space. Automatic margin between the footer and anything above it. So we did that on this page. That means if create a new page and add the nav bar on the footer, the footer will always be at the bottom, and that doesn't just affect desktop since changes cascade down. It affects tablet, it affects mobile landscape, double portrait and all our changes we did before are visible here. So back to desktop. And by the way, we can switch from one to two hero section and in our content strategy notes, we can see in our portfolio, in our hero section, we have an H1 that's explore our design work, that's our main heading, and we have a subheading. We want both of those in a hero section. So let's start with that. We'll start by dragging in a section and because we want to reuse this class, and because we want to keep things organized, let's call it ‘hero section’ not home hero section. We created that before but that was special for the home hero section. This is just hero section and let's choose a height just while we're designing here. We can always change this later. Let's put 600 pixels and let's get some content inside. First, our heading, drag that right inside the hero section and it's an H1 by default. That's good. But we can't really see what we're doing. That's because it's underneath this fixed nav bar. So on the hero section, let's add some padding. Let's push things down maybe 60 pixels or 70 pixels. Let’s do 70. And let's grab our heading. Let's change it to ‘explore our design work’, and we have a paragraph underneath, that that paragraph can go right here, and the paragraph will just reach over and copy and paste it from our content strategy doc. Go in here and paste. So that's the basic structure. We can work with this. We want the explorer design work and the paragraph to have some type of structure. But we also want an image behind this. We can configure the image in just a second, but let's place both of these. First off, we can just choose major heading, we created that before and that design works, but perhaps this color won't go with all the images we want to use, so we can create a combo class. Let's say ‘secondary’, and this means we can modify, we can build on top of that first design with something that might be a little less bold. We're not using that pink color, using something a little less bold and that's a good starting point. We might play with the color in just a moment and we can also decrease that bottom margin and set a limit on our paragraph here. This can be hero paragraph and we can set a limit of maximum width on this we can do it based on percentages. We can do it based on pixels, maybe 500 pixels. Little bit less, 400 pixels. That looks pretty good. And here's where we can use flex box with our hero sections selected, flex lets us stack content vertically or horizontally and we'll just click flex here, and stack it vertically, and we just want things on the bottom, and aligned to the left and that looks pretty good. That means we have our major heading. We have our hero power graph, but let's give it some padding holding down shift to adjust all four sides at once, let's do something like 60 pixels. This is going to be a standard. This is the type of spacing we want to establish early on so we can use this throughout the other pages. If we look at the hero power graph that 10 pixels at the bottom. Let's make that zero. That way we're really squared off from the bottom left. Again, we can tweak this when we go back to clean up a little bit later. For now, let's move forward with the background image. And before we do that, because we don't want every hero section to have the same background image, we're going to use another combo class. For hero section let's leave that the way it is. Let's call this one ‘portfolio’. So, hero section gives us that structure. It's a flex box section that puts everything to the left and to the bottom but hero section portfolio will have the configuration we're doing right now, builds on that by adding a background image. Let's hit choose image. We’ll choose an image here, and like we did before, let's use cover and center that. That looks pretty good and we can add on top of that, on top of that image a gradient. To use a gradient let's use a lower value a lower alpha right here. We can do it a black alpha, we're going to eyeball it but this is a good starting point. Let's change that angle from the bottom left and maybe black doesn't work too. Well here it could be a warmer version of that color that could work. We could do something a little bit closer to this, and we can change the colors because we're on portfolio, we might like black and gray for these but for this one we might want to make a change to the hero section itself. Let's change the dim gray color to white so we can see this hero power graph and on our major heading we have secondary, and that's set to black we need to override that. There are a few ways to override it but let's assume we're going to use white on all of these and change that to white as well. Let’s do full opacity. That looks pretty good. Let's increase visibility a little more by going into our linear gradient pull this back up and increase that alpha a little bit more. A little bit darker.

That's a good starting point. So we're featuring great design, again as a homeowner, I want to see great interior design work so that I can pick this interior design firm with confidence. We're doing that right here. We're featuring their design and we're giving people an opportunity to explore their design work. That's the hero section. Let's move on to the client projects grid. Now, what we want to feature in each of these, each of the client projects is an image of their design work, a short title of the project, maybe a blurb about the project, and a link to each of those project pages. The link will be clicking the project itself. But that gives us an idea of what we're about to build and we're going to use the CMS. We’ll do that just like we did on the homepage for the testimonials by dragging in a collection list. We want that collection list underneath the hero section. Let's drag that in right here and we'll pull that source from client projects. And again, we have all our client projects listed right here. Let's go in and grab a div block. We’ll put one div block in any of them. We can actually pick the same class we used before, it was testimonial preview, and we can pull that image from element settings. We can get that background image just like we did before from featured image.

Now testimonial preview might not be the class we used. Let's go back to home and actually see what it is we chose here. That's client image preview. Let's go back to portfolio. This is why class naming is important and we can always do better. Let's go back and delete that, and instead client image preview. That's setting the same height, the same height restriction, the constraints we configured on desktop tablet, on mobile devices, and it's applying that here as well. This is looking pretty good. Now, we could stack all of the client projects like this. In fact, that might be a really good design. But there’s something else we can try. We can do what we did before, select the collection list and make that a grid, and with that we have a little more space to play around. In fact, we can make this three columns and the rows will auto-generate. We have three columns three rows. This is looking pretty good, each of these representing its own project. Now, it says collection list two, we should keep this organized and call it ‘client projects grid’ and we can add more content. Let's add another heading and we'll do that underneath the image preview. Let's put that right here inside the collection item underneath the image preview and let's make this an H2 and we want to get that text instead of typing out something specific for each of them, want to get that text from the name, the project name and just like that, we have the project names and a project image in each of these. Now, what about the blurb underneath? We created rich text fields in the CMS for that. We added a blurb to each of them. Let's go to add and we'll grab rich text and put that right underneath the heading and we can get that text. We can select that text from the project summary and that shows a little project summary under each of these. This is looking pretty good. Let's change our heading, we can pull our major heading, or we can create a new class for this we can call this ‘secondary heading’ and we can choose a font. We can go to play fair display, 400’s fine but we want to decrease the font size to decrease that visual hierarchy or to set the next level on that visual hierarchy, maybe 24 works. Let's set the height to unit lists 1.2 and then the little hyphen, enter, it looks pretty good. The rich text block underneath might benefit from moving up. Just grabbing the heading above this H2, and decreasing that margin, and we could decrease the size on this rich text block slightly, maybe a 14 or 13. Back to 14. That looks pretty good. Now, we want each of these to be a link, we want these when you click them to link out to that specific project. How do we do that? Well, we can use a link block. A link block is just like a div block, except it takes you to a certain link when you click on that link. So we'll go to the add panel we’ll go to link block, drag that right into the collection item, and we'll put two items inside. We'll put the client image preview, we’ll put that inside the link block, and suddenly we can see nothing showing up. That's okay. All we need to do is select that link block and set its width to 100% actually instead of doing that. Let's set its display to block. That works fine. Block elements take up the full space, the full width available to them inside whatever their parent is. Okay, that works fine. Let's try bringing in that H2. Let's make sure the H2 is actually underneath the client image preview. That looks good. Now our H2’s are styled a little weirdly. The headings themselves are blue, they’re underlined, that's because we put them inside a link block. They became part of that link. So if we select our link block, we can just override that, we can override that by instead of using any of these we can set our text decoration to none and we can set our color to anything because text styling is inherited by any children of parent objects. We're just setting text styling on the link block itself. This looks pretty good. So if you click on the image, or you click on the title here, it will take you to that specific page, but we have to tell it to do exactly that. So, with this link block selected  we can press the little cog and we can take it to not just a static link with the click right here to collection page. We can simply choose current client project. Now, what does that mean? It means, if we click this it'll take you to that client project. That's all we have to do. There's nothing else required. It's done. All we have to do in a moment is build out those client project pages. So we have our client image preview. We have the heading underneath. Maybe there's a little too much space little margin could decrease that to 10, and we could add a little more space if we just select our rich text block here. In fact, our collection items themselves, we could add some padding inside. So it's a little more white space underneath each of these, little more breathing room. Let's do 30 pixels, looks pretty good. Now we could make some more changes to make things a little more consistent and we'll do those before we move on. Those include the following there is no space right now between the hero section and the collection list between this client projects grid itself. There's no space there. So we could add padding on the top we could add 15 pixels and now it's a little more consistent and if we go to preview it looks okay, but we also have this line right here because we added to our hero section. We added 60 in terms of padding 60 pixels of padding on all sides. We might want to consider doing the same to our client projects grid. So holding down shift. let's affect all four sides at once and see what it would look like at 60. Now we have this nice clean line that goes from explorer design work all the way down through, it gives us some more white space and more breathing room and that looks pretty good. And that's it. We built out the portfolio page. It doesn't just feature the navbar and the footer, and it doesn't just feature a hero section which sets up the content on the page, but it features each and every client project we want to highlight for Hayes Valley Interior Design. Where it gets really powerful is when we link each of these to its own page. There are nine projects, so nine different pages and all we're going to have to do is build a single one next time on Star Trek Voyager.