Time to Complete Module: 4 hours
Last updated: 26 February 2025
IN THIS MODULE
2.1 The Header

Each module in this guide includes instructions for building a specific page based on a sample design created by our Wix expert (Portfolio Website, Digital Agency, Local Business). You can switch to an alternative version of this module by clicking a different design in the left sidebar under “Alternative Designs.“
Adding the Logo to Your Header
Since we used a simple, text-based logo, we made it directly in the Wix Studio editor with the following steps: Step 1: Change the name on your header.- Double-click on your header.
- Double-click again on the default “Business Name” text.
- Select “Edit Text” and change the name there to your own.

- Click the arrow on the right side of the screen to open the pop-out menu (the Inspector menu.)
- Change the font size to 42px.
- Stretch the text box so it doesn’t occupy 2 lines.
- Change the font to Plus Jakarta Sans.

- Double-click the symbol next to your business name and use the backspace button or click the 3 dots and choose delete.

- In the Inspector menu, scroll to the “Position” submenu and find “Docking, margins and padding.”
- Click on where it says “0px” on the left side of the diagram to set the left margin to 5 and then set all other margins to 0.
- Click the dot next to “5px” on the left side of the diagram to dock the logo to the left.

Adding the Menu to Your Header
Step 1: Delete the default menu.- In the header section of your site, go to the upper-right corner, click on the default menu, and then delete it.
- From the “Add Elements” menu, go to “Menu & Search.”
- Then choose “Hamburger Menus.”
- Select one and drag it into the header. It doesn’t matter which one – we will replace it with a custom one.

- Click on the menu you just added.
- Change its size on the inspector menu to 35x35px.

- Dock it to the right (by clicking on the small circle to the right of the “Docking, margins and padding” diagram).
- Set the right margin to 5%.

Styling Your Hamburger Menu
Step 1: Select “Edit Menu”- Click on your hamburger menu item.
- Then click on “Edit Menu.”
- There, you can see how your hamburger menu looks when it’s fully expanded and edit its properties.


- Type “menu” on the search bar and find one you like.
- We chose a simple icon with only two lines instead of the classic three.

Customize the Colors
Step 1: Choose the Header Background Color.- Click on the header area at the top of your page to select it.
- In the inspector menu, head over to “Design.”
- Click on the color to open the “Color Picker.”
- Choose one of the preset colors from the palette you set up earlier.

- If you want to change it to a specific color, click the color picker.
- Then, click on the “+Add” button on “My Colors.”
- Select a custom color visually or input its exact color code (e.g., HEX or RGB).
- We used (HEX): #161616.
- Make note of this color, it’s our default background for new sections on this page.

- Click on your logo.
- Using the “Design” submenu, choose the color for your text. We used (HEX): #F8F8F8.
- Click on your menu.
- Using the “Design” submenu, choose the same color for your text.
Adjusting the Header for Tablets and Phones
Step 1: Click on the tablet icon in the middle of the top of the screen.
- Click on the logo.
- Change the size to 32px.
- The logo will still have the original 42px size for desktop screens but will now apply the new 32px size for tablets and smartphones.

- The 32px looked fine in mobile view, so we didn’t change it.
2.2. The Hero Section

Adding an Auto Scrolling Gallery to Your Hero Section
Step 1: Add a blank section and change the background color.- Start by selecting the blank section below the header, or add a new one by clicking on the “+ Add Section” button under the header.
- Open the inspector and change the background to the same black as our header (HEX #161616).
- On your blank section, click on “Add an Element.”
- Go to “Media,” and then choose “Pro Galleries.”
- We chose the one with vertically aligned images arranged in a line.

- On the inspector, click on the three dots icon next to Size.
- Toggle on the “Advanced settings” option.

- Change the width to 100%.
- Change the height measuring units from pixels (px) to viewport height (vh) and set the height to 60vh.
- Click on the image gallery and select the “Manage Media” option.
- Delete all the default images and add about 10 of your own pictures.
- Drag and drop them to organize the order in which they’ll appear.

- Click on your gallery again and go to “Settings.”
- On the “Layout” submenu, select “Customize Layout.”

- Scroll down to the “Slide Automatically” option and toggle it on.

- Change the timing option from “Intervals” to “Continuous.”
- Toggle off “Pause on hover.”
- On the same settings menu, go to “Design.”
- Select “Overlay & Icons.”

- Change the opacity of the overlay color from 30% to 0%.

- Go to the “Settings” submenu inside of the “Settings” menu.
- Change the option under “When clicking on an item:” from “Open in Expand Mode” to “Nothing happens.”

- Head back to the “design” submenu, go to “Navigation Arrows,” and toggle “Show Navigation Arrows” off.

- Go back to “Design.”
- Head over to “Scroll Animations.”
- Change the behavior from “Slide in” to “Scroll.”

- Head back to the main editor.
- Click on the gallery, and open the inspector.
- Toggle off the “Apply max width” option.

- On the inspector, increase the height to 600px to make the entire gallery more visually appealing.

Adding an Infinity Auto-Scrolling Text Line
Step 1: Add a new section and change the background color. Same process as before:- Clicking on the “+ Add Section” button under the header.
- Open the inspector and change the background color to the same black as the gallery and header to keep things minimalistic.
- Click on the “Add an Element” button.
- Then head over to “Text.”
- Choose any of the available “Text Marquee” options.

- On the inspector, go to the size options and toggle “Advanced Settings” on.
- Change the width to 100%.
- Set all margins to 0% and undock from all points.

- Go to the text options and change the font. We used Plus Jakarta Sans Regular.
- Change the text color to white (HEX #FFFFFF).
- Scroll down on the inspector menu until you find the “Separator” options.
- Head over to “Separator shape” and select “Change media.”
- Search for a vector graphic that you’d like to use and select it. In our case, we’ll upload a .svg file we had previously prepared.

- Change the shape color to a bright yellow (HEX #D8D84D) and the size to 50%
- Click on your infinity text and then select “Change Text.” Write down the text you’d like to see repeated for your site.

- Toggle off the max width option for this section.
- Go to “Layout,” open the “Rows” tab and select the row.
- Change the height from “Min/max” to “Auto.”

Adapting the Hero for Tablets and Phones
Tablet
The hero looks pretty good on tablets. You may want to adjust the section height and font size of the scrolling text so it doesn’t take up too much of the screen, but we left everything the same.Phone
In mobile view, let’s change the infinity text font size to 18px for better visibility.
2.3 The About Section

- Add a new section using the “Add Section” button at the bottom of the hero section.
- In the Inspector, change the background color to match the hero section (HEX #161616).
- Scroll down in the inspector and apply an advanced CSS grid.

- Change the layout to a 1×2 (
) grid with a 50px vertical gap ( ).


- Select the whole section and open the Inspector.
- Scroll to the “Docking, margins and padding diagram” and click the number value in the “Top padding” section.
- Click the icon that looks like a chain link, then click the % symbol to change the measurement unit.
- Change the unit to “Scale (px),” then change the number value to 80.
- Insert a Heading 4 into the top container.
- Change the text color to HEX #535353.
- Replace the default text for your “About me” text.
- Change all margins to 0 and set the text width to 820.

- Go to the inspector, scroll down to “design,” and set the text’s line spacing to 1.5 em.

- We’ll adapt this element for tablet and mobile viewing before we usually would, so it will retain its properties in the next step.
- In the tablet view, change the width to 580px and the font size to 24px.
- In the mobile view, change the text width to 320px and the font size to 16px.
- Open the “more actions” menu by clicking on the text and then on the three dots in the upper right corner of the popup menu or simply by right-clicking the text. Then, select “duplicate” (you can also just use the shortcut for this action with ctrl+D on pc or command+D on Mac).
- Change the text color to white (HEX #FFFFFF).

- Lock the text to the top container using the “location in grid cells” option in the inspector for the section.
- Set all text margins to 0 so the white text covers the text below perfectly.

- The duplicated text should perfectly cover the text below for the mobile and tablet views as well.
- Click on the top-layer text, then open the inspector.
- Click the lightning bolt symbol at the top to select the “Animations and Effects” option.

- Scroll down to the “Scroll” option and click the “+Add” button to add a scrolling animation.

- Select the “reveal” animation and then click on the “Adjust Animation option at the bottom”

- Change the direction to “from left.”


- Use the +Add element menu to add a button to the bottom container.
- In the Inspector, Change the “Responsive Behavior” option under “size” to “relative width.”

- Set the button width to 180px and height to 45px.
- Align the button with the left side of the text. To do this, drag the button to the left until a pink line appears, indicating that it’s in the same position as the text.
- Then, set the left margin to 230px and undock the button from the top.
- Button text: Learn about me
- Regular background opacity: 0% (color doesn’t matter)
- Regular text color (HEX): #FFFFFF
- Regular border width: 2px
- Regular border color (HEX): #FFFFFF
- Hover background color (HEX): #FFFFFF (100% opacity)
- Hover text color (HEX): #000000
- Hover border width: 2px
- Hover border color (HEX): #FFFFFF
- Click on the section, head over to layout, and change the behavior of the bottom row from “Min/max” to “Auto.”
- Set the behavior for the top row to “Auto” as well.
- If the button doesn’t look quite right yet, you can drag it into a position that feels right.

Important. We won’t set links to any of the buttons we add for a while. Don’t worry about this, we’ll go back and add the relevant links to each button in a later module.
Adapt for Tablet and Mobile Views
Step 1: Adapt the button for tablet and mobile viewing- In the tablet view, change the button width to 180px. Repeat this process for the mobile view.
- Change the vertical gap between rows to 30px for tablet and mobile views.
- For the tablet and mobile views, set the top padding to 70px.

2.4 Portfolio Section

- Set the background color.
- Apply an advanced CSS grid and set the layout to 1×2.
- Change the vertical gap to 50px.
- Set the bottom padding to 80px.
- Scroll to the “Docking, margins and padding diagram” and click the number value in the “Top padding” section.
- Click the chain link icon, then click the % symbol to change the measurement unit.
- Change the unit to “Scale (px),” then change the number value to 80.
- Add a paragraph element to the top container.
- Set the font color to HEX #575757.
- Change the font to “Plus Jakarta Sans Medium.”
- We’ll change the text to “[MY PORTFOLIO].”
- Set the text alignment to the center.
- Set all padding to 0.
- Change the top row behavior to “auto.”
- In the “Add Elements” menu, select “repeater” from the “Quick Add” options and drag it into the bottom row.

- Open the inspector for the repeater, select the bottom row in “location in grid cells,” and set all margins to 0.
- Open the inspector for the repeater and change the width to 1080px.
- Scroll down to “Layout” and change the number of items per row to 2.

- Set the gaps between elements to 20px horizontal and 40px vertical.

- In the inspector, change the background opacity to 0% for all items.

- Click on one of the elements in the repeater to open the inspector, apply an advanced CSS grid, and change the layout to 1×3.
- Click on the plus icon next to “rows” to add an extra row.

- Set the vertical gap to 20px.
- From the Media section of the Add Elements menu, drag and drop an image element into one of the repeater’s containers.
- You can see how all the elements within the repeaters will now have an image element.

- Using the inspector, change the “location in grid cells” to the top grid within the repeater.
- Set all margins to 0.


- Add a graphics element into the second row (from top to bottom) of the elements within the repeater.
- Set all margins to 0.

- Set the shape’s width to 30px.
- Change the shape’s color to #D8D84D (HEX).
- You’ll notice that this will change the color of a single shape within the repeater, not all. So, change the color of the other two shapes to match. When we add a new repeater element, that color will be the shape’s default.
- Click on a single container within the repeater and check its width. This time, it should be 530px.

- Click on the image and change its width to match.
- Make sure the lock icon next to its width is activated, this means that the height of the image will change as well to preserve its aspect ratio.

- Set the gaps between elements to 30px horizontally.
- Set the behavior of the top two rows within the repeater’s element to “auto.”
- Add paragraph text to the third row, change the size, color, and alignment, and set the margins to 0. These are the settings we used:
- Text font: Plus Jakarta Sans Light (the default paragraph font we’ve set for this site)
- Text color (HEX): #FFFFFF
- Text alignment: Center
- Font size: 18px
- We’ll change the text within each element to the name of that category (i.e. “Editorial” or “Portraits”).
- Undock text from all margins.
- In the inspector, toggle on advanced settings for size and set the text box’s width to 100%.
- Change the row behavior of the text to “auto.”

- Set the gaps between elements to 30px horizontally.
- Set the behavior of the top two rows within the repeater’s element to “auto.”
- Add a heading 3 to the bottom row, change its size, color, and alignment, and set all margins to 0. The settings we used for this row’s text are:
- Text font: Plus Jakarta Sans Medium (the default heading 3 font for this site)
- Text color (HEX): #FFFFFF
- Text alignment: Center
- Font size: 38px
- Toggle advanced size settings on and set the text box width to 100%.
- Change the text within each element for the name of that collection.
- Set the row behavior to auto.

- Click on any item in the repeater and select “Add Item” on the pop-up menu. We’ll add items until we have a total of 6 on the homepage (3 rows of 2 elements each).

- Each of these elements will have the name of a different noteworthy collection. Don’t add too many more here – you don’t want to overwhelm your viewer. You can include more collections in the “portfolio” page when we get to it.
- Select “Change Image” on the pop-up menu after clicking on an image container.
- Replace each image with a photo that’s representative of that collection.
Adapt for Tablet and Mobile Views
Step 1: Adapt for tablet devices- On tablet view, change the font size for the “[MY PORTFOLIO]” text to 16px.
- Set the width of the repeater’s containers to 680px.
- Set the horizontal gap to 20px and the vertical gap to 40px.
- Click on the image within the containers, then set the vertical gap for the top row inside the repeater’s elements to 40px.
- Set the vertical gap for the third container to 20px.
- Change the text size for the third container to 14px.
- Change the text size for the bottom container to 22px.
- Change the font size for the “[MY PORTFOLIO]” text to 16px and the text box’s width to 205.
- In the mobile view, change the number of items per row to 1.
- Click on one of the repeater’s elements and change the vertical gap to 20px.
- Change the text size for the third container (within the repeater’s element) to 14px.
- Change the text size for the bottom container to 20px.
- Set the vertical gap between the repeater’s elements to 40px.
- Set the padding on top of the section to 70px for both tablet and mobile views.
2.5 Testimonials Section

- Set the vertical gap between containers to 50px.
- Change the top padding to the entire section to 80px.
- On the “Add Elements” menu, head over to “decorative,” then “basic shapes,” and then “horizontal lines.” Drag one of the horizontal lines to the top container.

- Set all margins to 0 for the line.
- Change the line color to a light gray (HEX #3F3F3F).
- Toggle the advanced size settings on and set the width to 100%.
- Duplicate the line and move it to the bottom row. Set all margins to 0 again.

- Add a repeater and set the location in grid cells to the middle row.
- Set all margins to 0.
- Change the width of the entire repeater element to 1080px.
- Set the repeater elements’ background opacity to 0%.
- Drag a paragraph into one of the repeater’s elements.
- Set the text color to white.
- Toggle advanced size settings on and set the paragraph’s width to 100%.
- Duplicate the paragraph and drag it down.
- Set the font size for the bottom text to 14px.

- Select both text elements and stack them.
- Change the layout to vertical and set item spacing to 30px.
- Apply an advanced CSS grid and then change the behavior of the only row to auto.
- Set the horizontal gap between elements to 30px.
- Replace the default text for the top paragraph with the testimonials.
- Replace the default text on the bottom paragraph with the author’s name.

- Select one of the repeater’s elements and change its layout to 1×2.

- Select the text stack with the testimonials and author’s name and move it to the bottom row using the “location in grid cells” option.
- Copy one of the shapes from our portfolio section above and paste it into the top row of the element.
- Set all margins for the shape to 0.
- Set the top row’s behavior to “Max content.”

- Change the vertical gap to 20px of scale.
Adapt for Tablet and Mobile Views
Step 1: Organize the testimonials vertically for tablet and mobile viewing.- On tablet view, change the number of items per row to 1 in the repeater.

- Change the width of the shape to 20px.
- Change the font size for the testimonial paragraphs to 16px.
- Change the font size for the author’s name to 14px.
- Set the vertical gap between items to 40px.

- Inside the repeater’s elements, set the vertical gap between the two rows to 20px.

- On mobile view, change the shape width to 20px.

- Change the font size for testimonial paragraphs to 16px.
- Change the font size for the author’s name to 14px.
- Set the vertical gap between elements to 30px.
- Set the item spacing for the text stack to 10px.

2.6 Services Section

- Apply an advanced CSS grid, select a 1×2 layout, and set the vertical gaps to 50px.
- We’ll add a light-gray text, a white heading, and a button underneath.
- To save time, you can copy these elements from other sections we’ve already built.

- Align all text elements vertically and stack them together.

- Set the item spacing to a scale of 20px.

- Set all margins to 0 to center the stack.
- Change the top row’s behavior to auto.
- Change the top padding size to a scale of 80px.
- Set all margins to 0 and the width to 1080px.
- Remove the background from the repeater’s elements.
- Change the number of items per row to 1 and change the vertical gap to 40px.
- Create an advanced CSS grid within any one of the repeater’s elements and set the layout to 3×1.
- Set the horizontal gap between the columns to 80px.

- Copy and paste one of our shapes from before into the left-side column’s top left corner.
- Copy and paste one of the titles from the portfolio section and place it below the shape.
- Select its location in grid cells to the left side.

- Align the text to the left.
- Stack the elements together and change the spacing to a scale of 20px.

- Make sure that the title text fits within the container completely, undock all margins except the top one, and set them all to 0.
- Dock the icon to the left and set all margins but the bottom one to 0.
- Set the bottom margin for the icon to a 20px scale.
- Change the text to the name of one of the services offered.

- Copy and paste one of the paragraphs from our “testimonials” section and place it into the middle container using the “location in grid cells” option.
- Change the text width to 100%.
- Replace the text with something describing the service in more detail.
- Add an image box into the right-side container and fix it using the “location in grid cells” option.
- Set all margins to 0 to center the image.
- Replace the default image for one that shows an example of that service.

- Click on one of the repeater’s elements. On top of the grid layout, you’ll see a number describing the relative size of each column.

- In the inspector, go to “layout,” then scroll down to the third column, and change its units from “fraction” to “scale (px).”
- Set the column width to a scale of 200px.

- Head back to the overall repeater element and change the behavior per row to auto.
Adapt for Tablet and Mobile Views
Step 1: Adjust the spacing for tablet views. On tablet view:- Select the button and set its width to 180px.
- Set the item spacing for the text stack on the top row to 20px.
- Change the text stack’s width to 404px.
- Set all margins for the text stack to 0.
- Stretch the text stack’s width to the edges of the page using the gridlines.

- Set the button’s width to 180px.
- Set the left and right margins for the “services” heading to 0.
- Set the stack’s item spacing to 20px.
- Change the vertical gap between rows for the entire section to 20px.
- Select the repeater on the bottom row and change the vertical gaps between rows to 40px.
- Change the repeater’s layout from 3×1 to 1×3.

- Change the shape’s width to 20px and its bottom margin to 20px as well.
- Set all rows’ behavior to auto.
- On the top row, change the vertical gaps to 30px.
- Click on the repeater item, check its width (it’s 329 px in our case), then lock the image’s aspect ratio and set that width to the same value.
2.7 Call to Action

- We’ll create a new section with a 1×2 layout and a 50px vertical gap.
- Copy-paste the “[SERVICES]” text from the section above and replace it with a brief bit of text incentivizing the reader to reach out.

- Set the width to 500px and all margins to 0.
- Set the top row’s behavior to auto.
- Set the top margin of that row to a scale of 80px.
- Copy and paste the same infinity-scrolling text from the hero section into the bottom row.
- Change the text to something that calls visitors to contact you.
- Set the bottom row’s behavior to auto.
Adapt for Tablet and Mobile Views
Step 1: Adjust the spacing for tablet view.- Stretch the text box to 450px.
- Set all margins to 0 for the text box.
- Set the top margin of the section to 70px scale.
- Change the text box width to 330px.
- Set all margins to 0 for the text box.
- Set the vertical gap between rows to 30px.
- Set the top margin to 70px scale.
2.8 Contact Form

- Set the vertical gaps to 20px.
- Change the top padding to 80px scale.
- In the “Add Elements” menu, drag a container element into the top row.

- Set all margins for the container to 0.
- Set the width to 1080px.
- Change the background color of the container to HEX #191919.
- Set the corner radius to 10px.

- Apply an advanced CSS grid to the container.
- Within the “docking, margins and padding” section, select the inner square to create a new padding section.

- Select the left-side padding to a 25px scale.
- Set the behavior of the top row to auto.
- Change the layout for the container to 2×1 with a horizontal gap of 50px.

- Copy the dark-gray text from the section above and paste it into the left column.
- Resize the text box to fit the section.
- Set the text’s alignment to the left.
- Copy some of the white text from the section above and paste it below the gray text.
- Change the bottom text.
- Stack the elements together.

- Change the item spacing to 20px scale.
- Set the margins for the stack to 0.
- Set the row’s behavior to auto.
- Go to the “Add Elements” section and drag a contact form to the right side.

- You’ll be redirected to a separate form builder. There, add the appropriate fields for visitors to fill.

- Once you’re happy with the form fields you’ve chosen, click on the “my forms” option in the upper right corner.

- Change the form’s name and settings, then click “save.”

- Set the form’s location to the right-side grid.
- Apply advanced sizing options and change the width to 100%.
- Set the min width to “none” and the height to “auto.”
- Click on the contact form and select the “settings” menu. Head over to design, then “Form Background,” and change the background opacity to 0%.

- On “form fields,” change the background color’s opacity to 0%.
- Select the right-side option under “input style.”

- Change the border color to white (HEX #FFFFFF).
- Change the font’s color to white as well.

- Head to the “Header and Paragraph” submenu within “design.”
- Change the headers’ text colors to white.
- Go to the “buttons” submenu and then go to the “submit button.”
- Change the input style to the oval with a white background.

- Change border width to 2px.
- Change the border color and opacity to white.
- Change the hover background color to white.
- Change the hover text color to black.
- Set the margins for the repeater to 0.
- Set the horizontal gap between elements to 50px.
- Change the number of items per row to 4.
- Toggle advanced size settings on and set the width to 100%.
- Change the background opacity per item to 0%.
- Copy one of the previous shapes into each container.
- Copy and paste some text from the sections above.
- These will be navigation buttons, so change the text to the names of the pages your finished site will have. For example, we will have: Home, Portfolio, Services, and Contact Me.
- Select the shape and the text, and stack the elements.
- Change the item spacing to 20px scale.
- Select the whole container and change the row behavior from Min/max to Auto.

- Select the whole row (all of the repeater items), and change the row behavior from Min/max to Auto.
Adapt for Tablet and Mobile Views
Step 1: Adjust the spacing for tablet views On tablet view:- Set the top margin of the section to 70px scale.
- Select the upper container element and set its inner margin to 25px.

- Set the inner margin for the bottom container to 25px.
- Set the vertical gap between rows to 20px.
- Set the top margin to 70px scale.
- Change the layout for the top container 2×1 to 1×2.

- Set the behavior of both rows to auto.
- Change the vertical gap between rows to 30px scale.
- Set the inner padding for this element to 20px.
- Change the number of items per row for the bottom repeater to 2.

- Set the horizontal and vertical gaps in the repeater to 20px.
- Select the stack with the shape and text, set the item spacing to 10px.
2.9 Footer


- Change the footer’s background to #161616 (HEX).
- Set the footer’s height to 500px.
- Change the heading’s font color to a light gray (#3F3F3F HEX).

- Align the heading’s text to the center.
- Replace the default text with your own.
- Change the text’s font to Plus Jakarta Sans Semi Bold.
- Set all margins to 0.
- Change the font size to 194px.
- Change the text box width to 1080px.

- Apply an advanced CSS grid to the footer.
- Set the row behavior to auto.
- Toggle advanced size settings on and change the “Min H” to “none.”
- Set the top and bottom margins to 50px scale.