Any current website has to be responsive, with resizable elements built on a flexible layout to work great on all devices – and what is a better tool to create flexible layout designs than vector? In the following project, we will create a simple website layout for two different sizes, using the elements we created in the previous chapters.
In this chapter, we are going to cover these main topics:
Modern web design has several components, such as user experience design (UX), content creation, search engine optimization (SEO), and, most importantly for us designers, graphic design.
Fresh, illustrated websites with unique icons and gradients are everywhere, and oversized type elements and gradients are in trend again. You can create and incorporate typography, illustrations, icons, and many other website elements directly in Inkscape.
And of course, all of these need to look great on all devices from the smallest mobile screens to 32” desktop monitors. All its vector capabilities make Inkscape a great tool to design a responsive layout for any website.
What you will create in this chapter
During this project, you will design a landing page layout for the CloudUsers company. You will first create a simplified wireframe. Then, you will use most of the elements you created so far in the book and create two versions from the site: one for a wider desktop view and one for a small mobile screen.
If creating a website is not your territory, you should still give this chapter a try. It is about practicing your Inkscape workflow, and about seeing what you created so far coming together under a single project. Here is what you will create during this project:
Figure 6.1 – From simple wireframe to desktop and mobile website design
In the following section, we will create a simple wireframe, and then move on to creating the desktop layout version.
A wireframe is an overly simplified version of a website. When we say simple wireframe, what we really mean are empty placeholder boxes. There are no colors, no images, and no text to distract you from the first task of a web designer: the arrangement and flow of the information on the page.
There are several apps online to create wireframes and help you sketch your website ideas, but if you already use Inkscape, you might just create your wireframes in vector as well!
Before starting to work on the layout, you need to decide the screen sizes you design for. As you know, we face a wide array of screen sizes nowadays. This forces us to design for most of the brake points in responsive design, ranging from under 320 pixels (px) to sizes above 1920 px.
Now, we need to decide in what order things will be presented on the website.
The landing page for CloudUsers will include the following:
We will create a classic three-column grid. It might be overused, but it provides a solid template to practice your design skills in Inkscape. The navigation and the header will be horizontal rows, while the products and services are organized into three columns of equal width. The footer will be a simple row again.
Let’s build a wireframe from top to bottom according to this plan!
Why draw a rectangle, instead of using the page in Inkscape? Because it is easier to color and resize this rectangle if you need to, and it is a better reference point than the page.
In this example project, we will use a rectangle that is 1600 px wide and 2000 px tall. This width is comfortable to work with and easy to scale for both laptop and desktop users. Whenever we give exact measurements during creating the desktop layout, we will refer to this base width. Feel free to use the same width or pick another for this practice project.
Your aim here is not to create a pixel-perfect design. You mostly need to apply a visual balance to your layout and arrange the aforementioned content in a clean and orderly way. To achieve this, you will use guides and alignment in Inkscape.
Now, you need to set the width of the content. If the background width is 1600 px, then you want to set your content to 1300 px wide. This will provide enough margin on both sides of the screen and will have enough white space to arrange your content later.
Now, you have to create your first guides for this design. Guides are very useful and easy to create in Inkscape. There is more than one way to add guides to your design. You can create them manually by clicking on the rulers on the side or at the top and pulling the guideline out of the ruler onto the drawing board. This way, you can create any number of guides anywhere in your document.
Figure 6.2 – The four guides at the top of the page, created from a rectangle
The top one will be aligned with the top of the background rectangle, while the bottom one will define the height of the header bar. The two vertical guides will set the width of the content of your landing page design.
Tip
Guides can be hidden by simply clicking anywhere on the rulers. Click again to show them again. Guides will not show up in your exported .png image, but they are saved in the .svg document and can be used by Inkscape or other design programs later.
Now that the guides are set for the header, you can add placeholders for the logo and the menu. The goal here is not to go into details – just draw a rectangle in the size of the logo.
Figure 6.3 – Logo and menu placeholders aligned to the guides
The next part of the wireframe you will design is the one with the headline and the hero image. This is setting the tone for the site, and this is the message the visitor first sees when landing on the page.
Tip
UX designers and almost any software use rectangles with crosses to mark the place for images and photos. Even in Inkscape, if you switch to a wireframe view, this is how bitmap images are presented. For this exercise (and when I am actually designing a website in Inkscape), I use simple gray rectangles as image placeholders. It is just faster and more convenient that way. Of course, you can also take notes when you work on the wireframe of a design.
The hero image will take up two-thirds of the width of the page in a desktop view, and it sits on the right-hand side of the screen. The remaining third of the space on the left will be used to add a headline, some short text, and a button.
Figure 6.4 – The top of the page with the hero image and the title placeholders added
The next row is for the cards showing the products of the company. Cards are a compact form of presenting a subject together with a CTA. They are usually a few lines of text and a link or button arranged in a box format. This is exactly how you will draw them for your wireframe.
This will create a neat row of cards, as shown in Figure 6.5.
Figure 6.5 – The placeholders for the cards in an even row
The next part is similar, but this row will use cards with icons and will feature some company values. To create a placeholder for icons, designers usually use circles.
Figure 6.6 – The cards with the icons
The last section of the landing page is the footer. It will be a simple bar sitting at the bottom of the screen and giving the footer menu a home:
Figure 6.7 – A simple footer bar with footer menu placeholders
This concludes the wireframe design for our simple landing page. To see the whole wireframe as one unit, check out Figure 6.1 again, as it is shown in one piece on the left.
The reason to have a wireframe is to set a base for our design and have a blueprint – a place to experiment. If you are not satisfied with a part of the design, you can easily delete it, reposition it, or resize it to fit your needs. It is like a flexible sketch to create before the final design.
Now, you have learned how to use very simple shapes to designate the size and position of the design elements. Then, you added hierarchy and balance using guides and alignment. I hope that this part of the chapter was enough to show you how easy it is to build a wireframe in Inkscape. Even if you don’t want to design a website now, you can use this knowledge to create a wireframe for a future project quickly.
In the following pages, we will fill out this wireframe with colors, text, and other visual elements – but before that, let us make an inventory of the assets we have already created!
A wireframe design is made up of placeholder elements, so it is a placeholder itself. It is only a blueprint of the final version but lacks detail. This is what you will work on in this part of the project.
Normally, when you want to turn a wireframe into a full-fledged design, you need to make a series of design decisions. If you have no company style guide to follow, your task is to build the whole visual style. You need to decide about fonts and colors to use, as well as designing a logo, icons, or even illustrations.
This seems like a long list, but the good news is, if you followed the previous chapters, and created the projects in this book so far, you already have most of the visual elements for the website!
If you completed most or all of the projects so far, you just need to gather those files. If you have not finished the previous projects yet, maybe it’s time to create those elements, as almost all of them will now be used in this chapter.
Here is a list of the elements with a short description and where to find them in the book. As most of the projects are built (in some parts) on the previous ones, it is easier to complete them in this order:
That will add an interesting style to the website design, and if you prefer that to the illustration, feel free to use that. Using both the colorful illustration and the darker photo-based image would not work well on such a small site, so I suggest choosing one of the two and sticking with it.
It is time to collect all the previously designed components into one document. Let’s start with the logo as an example:
You will be able to create your final website design in one document.
Figure 6.8 – All the previously designed components together
These are all the design elements you have created so far, and what you need to continue – but of course, there are other missing parts, such as buttons, bars, and text boxes. You will create those now while assembling the desktop version of the site.
In the coming pages, all you have to do is follow your wireframe and build the desktop version of the layout. You will put the design components in their final place and add what is missing to finalize the design.
Starting with the menu bar, you will follow the same top-down order as you did when creating the wireframe. On the left-hand side of the menu bar is the place for the logo:
The font you used for the logo is a modified version of Montserrat, so you need to pick a typeface that goes well with that. For this reason, I chose Work Sans, another great sans-serif font. Feel free to use another font – just take good visual pairing and consistency into consideration.
The next step would be to arrange the menu items as you did when working on the wireframe version, but since this is a more detailed version of the same site, we have to add two more design elements before that.
First, we have to add a distinction between active-state and normal-state menu items. The rule here is to change as little as possible to signal whether an item is selected or active.
Since the illustration is already copied into the same file, it is easy to pick this color. This color also pops out against the white background, so it can be used later for the buttons and link colors as well.
The other menu item that needs some special treatment is the Login button. It is not really a button, but you have to distinguish it from the other menu items so that registered users can easily find it. Since you copied those previously created icons into this document as well, go and use a small user icon from one of those.
This concludes the navigation menu for now, as shown in Figure 6.9!
Figure 6.9 – The desktop version of the navigation menu items
After the navigation bar is set, keep following your wireframe layout further down. The next stop is the header text and the main illustration. As you know, both of these items have a similar role – to tell the story of the company and get the attention of the visitor!
In the wireframe, you allocated one-third of the space to the text on the left. Let’s start with that. The Montserrat font you used in the logo is also a great display font, so you can use a semi-bold variant of that for the title text:
The base of the button should be a wide rectangle – in the example, it is set to 72 px X 320 px.
Now that the title, the short text, and the button are set to the left, you should move your attention to the right. Here is the placeholder for the main illustration.
Figure 6.10 – The title the button and the illustration in place
The big hero text and the illustration stand out very well and are a good way to greet visitors to the site!
This section will hold the product cards. You will create the cards the exact same way as you did during the wireframing phase but, of course, this time with added colors, buttons, and text fields:
The background color of the cards will be different but leave them gray just for now so the card will be visible on the white background. You will deal with that later.
You can also use the Flow into Frame option from the Text menu at the top:
You can check this method in Figure 6.11. As you see, you can create precisely sized textboxes with this solution.
Figure 6.11 – Flow into Frame to precisely resize a textbox
You also need to change the size of the text and set it to a smaller size – it is 18 px in the example design.
Why use a copy of the text object? You could achieve the same thing by drawing a new text object, copying text into it, and setting all the text properties as before, but copying and modifying an existing object in Inkscape is always easier and faster than setting all the values over and over.
The card is almost looking good now, but the background of it is still gray. You want to have it crisp white – this is better for the text and the buttons too. Select the background square of the card and set it to white.
However, now you need to separate the white card from the white background. You could use a thin stroke, or put a drop shadow under the card, but I think it is better for the whole design if you add contrast to the cards by adding a colorful bar under them.
Using a colorful background for the product row is also a good way to separate this section from the previous one. In the title section you just finished earlier, the colorful illustration and the bold, dark text create a nice contrast to the crisp, white background.
You need to then add more color to separate this section from the previous one. The separation of rows helps to guide the visitor through the different contents of the page.
You can also demonstrate at this point how the hover state of a button would look.
Using the gradient as a vivid background, your cards will pop! See Figure 6.12 to check out this design solution.
Figure 6.12 – White product cards on a colorful background
This section was good practice to create cards and add a simple but colorful component to the page. Next, you will create something similar but still different for a different result.
Right under the product cards, we can show a bit more about the company. You can call this part a list of services, or company values – the point is that visually, these are another version of the product cards. Not so direct, but still selling the idea of the company to the visitors.
You drew the layout for this section as a wireframe, and now you just have to follow that blueprint again. There will be three blocks, each containing an icon, a short title and text under that, and a CTA at the bottom.
As these text boxes are almost like product cards, you can work smart and salvage some parts from those cards.
So, to start this section, execute the following steps:
You will have to scale the icon too. When scaling, take care that you scale the stroke width proportionally too! In the chapter where you designed the icons, you kept the icon for this function turned off on purpose. Now, you need to turn it on so that the lines are all scaled, keeping their width and proportions (if you don’t still remember this part, don’t worry – go check out the tips in Chapter 4, Create Detailed Illustrations with Inkscape).
At the bottom of these text boxes, you need to add a CTA. This time, you can keep that a bit more subtle – so no button, just a text link with an arrow.
Figure 6.13 – The service boxes with the icons and simple call to actions
The services are now presented differently and interestingly under the product cards section. You can add more of these columns too, arranging a second or even a third row under the original one. For this example, we only created three text boxes with added icons, but feel free to experiment and practice!
There is only the final section left in your website design – the footer and the footer navigation menu.
The footer is an important part of any website. It has to be simple and yet contain important data. If the header with the hero image and the big title was the party end, then the footer is the plain business end, but of course, that does not mean that you cannot add a bit of fun there too:
In this case, since the main colors you used for the CloudUsers identity were blue and turquoise, I would choose a pale version of those. In the example, I used the blue color (#0a85a4) that I used in some of the dark blue parts of the illustration created earlier.
This is dark enough for the background and desaturated compared to the vivid colors of the illustration and the site in general.
The last column in the footer will be a contact link (that is, to a live chat or call). This could be a simple text link, but it is more interesting to create a contact icon here. Of course, you will use parts you have already designed!
To finish the contact icon, add some text to the speech bubbles. Use the same font as for the footer titles and set the text to the same blue as the footer background. This way, you have created a monochrome illustration that is playful but blends into the footer.
Figure 6.14 – The footer menu and the contact icon
With the footer done, the last part of the website design is completed! If you followed the steps in this chapter so far, you finished a wireframe design and a fully colored website design.
Next, you will create the mobile website based on the desktop version – faster than you think!
This book is all about practicing your Inkscape skills and working smartly and efficiently. This project is particularly about using the components you created in earlier chapters – and this upcoming segment is all about mutating the desktop version of the site into a simple mobile view.
It is a bit of an oversimplification, but the main difference between the desktop and the mobile version of a website is the size. The mobile phone as a medium is narrower and smaller than a computer screen. This creates different usages and usability challenges if you want to provide the same (or a similar) experience to users on mobile. You as a designer have to maintain readability and usability on this smaller screen.
You will not create yet another wireframe layout but instead, modify the desktop version straight. Vector design is always praised for how easy it is to scale things up. Now, you will see how flexible it is to scale things down!
As we established at the beginning of this chapter, you will only create two versions of this website layout: a larger desktop view and a small mobile view. The mobile version will be designed for a 360 pixel-wide screen, so you will have to rescale and fit every component to this size.
Reminder
The upcoming pixel values are used by me in the example; you are free to experiment and use your own measurements.
To use the design you already created, select the desktop website layout, and save it as a new document. Alternatively, if you like to keep things in one bigger work file, simply duplicate the whole desktop version, and put the duplicate next to the original. Whichever method you use, you will base the mobile view on this new duplicate of the desktop version.
Let’s start with the background rectangles – rectangles plural because there are now three background elements you need to rescale. Select the white background, the gradient background bar behind the products, and the footer background and set their width to 360 px. Do not worry about the height for now, as you will set that manually later.
After resizing the background, following the same method as earlier, you will resize the rest of the components from top to bottom. There will be some additional elements, but you will work on those later. Now, just resize what you have at hand:
Since this is just a layout plan, we will not show the open menu. See the position of the logo and the menu icon in Figure 6.15.
Under the logo is the header section with the title text, the button, and the hero illustration. On mobile, you should always decide what is the best way to present text and visual elements. Most of the time, to keep things readable and visible, you need to scale them to fit the screen and arrange them under each other.
This is the obvious reason why mobile sites seem longer and narrower than on desktops. This is exactly what you need to do with the header section:
With these simple steps, all the elements add together logically and start to form a smaller layout. Refer to Figure 6.15 to see the full picture so far.
Figure 6.15 – The first sections of the mobile website layout resized
These are the first sections of the website resized to a mobile view. Next, you will work on the products and services and add more mobile UI elements.
Following down the road again comes the next task: resizing and rearranging the product cards. The cards need to be scaled down while the text needs to be readable. Luckily, the cards are designed in a way that resembles a vertical mobile screen, so you will not have much work to do. You need to resize the cards to fit the screen width and rearrange them under each other so that users can scroll through them easily.
You could apply changes to all three cards, but since this is only a website mockup with no real content, it is easier to change one card and duplicate it twice:
The button has to be resized as well. If you set the height of the base to 45 px, and the font size to 20 px, it will be still readable and usable. Again, these numbers are just guides for this example – experiment with your sizes!
As you can see in Figure 6.16, the visual of the product cards did not change much, but to fit them on the screen, you need to arrange them under each other.
Figure 6.16 – The product cards ordered under each other in the mobile view
The product cards are now rearranged, resized, and presented in a classic vertical manner. In the next section, you will try to visualize another type of user interaction.
Our generation is used to scrolling endless pages on our mobiles, so simply arranging content in a single column works, but you may want to use another type of interaction from time to time to present the information differently. This time, you will order the components next to each other in a row, and only show one at a time on screen:
Finally, add pagination under the box. Users are familiar with this type of interaction; they will know that there will be more content after they swipe left.
As shown in Figure 6.17, using dot pagination is an easy but elegant solution to simplify the layout for mobile view.
Figure 6.17 – The company values textbox with the horizontal dot pagination
Of course, this is just a static visual design – if you want to see this method in motion, you need to build a simple prototype, and that is not part of this book.
The next part is the last segment – the footer and the footer menu.
The footer is an essential part of a web page, and it was established on the desktop version of this website design. It has to be there in the mobile version too, but since we cannot allocate so much space to it, we have to simplify it. We will keep the footer bar visible, of course, but hide the footer navigation behind a drop-down button:
That small contact icon was only sitting at the bottom of the page in the desktop view, but as you can see in Figure 6.18, it inhabits the space in the footer in the mobile view.
Figure 6.18 – The mobile footer with the hidden navigation and the contact icon
With the footer also reworked, you have completed the mobile version of the website design. As you saw, this was all just a case of resizing and repositioning elements you had already created. Inkscape is great for working with these types of responsive design elements. All the components are easy to move and repurpose when they are based on vectors.
After creating the two layout versions of a website, you usually want to use the design. This means you might present it to a client, export the components and hand it over to a developer, or prepare to build the live version yourself.
Exporting the designs as mockups for a presentation is pretty straightforward. Select the website design and export it as a .png image in standard 96 DPI resolution. This is usually sufficient to give a preview to anyone and show off the work you created.
To use the designs for building the website, you need to decide what the components that you actually need to export are, and which can be expressed in code. You will need to export the logo, the hero illustration, the icons, and the contact icon in the footer.
Select these components one by one to export them as .svg files. Here is a short description of how to save parts of a website design as .svg files for online use:
When rebuilding a design into a website, exporting the images is only half of the work. The other half is to collect the color codes, measurements, and fonts to be used on the websites.
Take the gradient bar behind the product cards, for example. You won’t have to export the gradient as a bitmap image, not even as .svg. You simply check the color code and the angle of the gradient – this time, it was flat horizontal – and use that data in the CSS file to generate the gradient in the browser.
Buttons are not different either. You can apply rounded corners to any object via CSS and even specify the corner radius. Background colors and gradients should come from your original website design as well.
The same is true for the fonts used: use Google font services, or any other method to include the fonts in your website. As it was stated earlier, all sizes in the design are just approximations – you will have to find your own sizes.
As you can see, preparing a website you designed in Inkscape is a simple task if you have Inkscape open. You can easily export elements and get measurements and color codes to use in a real-life project.
During this chapter, you created three different versions of a landing page design. First, you built a simplified wireframe version. This was useful to set the sizes of the page and figure out the place for the different elements. Then, you collected all the materials you could use from the previous chapters: the logo design, the icon set, and the illustration.
You used most of the components you created so far in the book and practiced resizing and rearranging them into a bigger, more complex design. This is how you built the desktop version of the website – then, after more resizing and rearranging, you turned that into the mobile version. This flexibility is the reason Inkscape works so well for web design! You can rescale and reuse elements creatively and effectively.
In the next chapter, you will learn about optimizing your workflow by combining Inkscape with other applications.