How to Create a Sticky Restaurant Menu Design with Divi

Last Updated on March 15, 2023 by 1 Comment

How to Create a Sticky Restaurant Menu Design with Divi
Blog / Divi Resources / How to Create a Sticky Restaurant Menu Design with Divi

If you’re building a restaurant website, chances are high that you’ll want to include a restaurant menu on there as well. There are a lot of great WordPress restaurant menu plugins out there, but today we are going to build everything from scratch using Divi! Today, we’ll show you how to use Divi’s built-in sticky options to create a sticky restaurant menu. The design we’re creating splits up items on your menu per category and allows visitors to see which category they’re at! You’ll be able to download the JSON file for free as well.

Let’s get to it.

Preview

Before we dive into the tutorial, let’s take a quick look at the outcome across different screen sizes.

Desktop

sticky restaurant menu

Mobile

sticky restaurant menu

Download The Layout for FREE

To lay your hands on the free layout, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our newsletter by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If you’re already on the list, simply enter your email address below and click download. You will not be “resubscribed” or receive extra emails.

1. Create Element Structure

Add New Section

Background Color

Start by adding a new section to the page you’re working on. Open the section settings and change the background color.

  • Background Color: rgba(255,252,244,0.6)

sticky restaurant menu

Background image

Upload a pattern background image next. You can find the one we’ve used in the zipped folder that you can download at the beginning of this post.

  • Background Image Size: Actual Size
  • Background Image Position: Top Center
  • Background Image Repeat: Repeat X (horizontal)

sticky restaurant menu

Spacing

Modify the spacing settings next.

  • Top Padding: 150px
  • Bottom Padding: 150px

sticky restaurant menu

Add New Row

Column Structure

Continue by adding a new row using the following column structure:

sticky restaurant menu

Sizing

Without adding modules yet, open the row settings and change the sizing settings as follows:

  • Use Custom Gutter Width: Yes
  • Gutter Width: 1
  • Width:
    • Desktop & Tablet: 80%
    • Phone: 95%
  • Max Width: 1580px
  • Row Alignment: Center

sticky restaurant menu

Add Text Module #1 to Column 1

Add H3 Content

Time to add modules, starting with a first Text Module in column 1. Add some H3 content of your choice.

sticky restaurant menu

H3 Text Settings

Move on to the module’s design tab and change the H3 text settings accordingly:

  • Heading 3 Font: Karla
  • Heading 3 Font Weight: Bold
  • Heading 3 Text Size:
    • Desktop & Tablet: 45px
    • Phone: 35px
  • Heading 3 Letter Spacing: -2px
  • Heading 3 Line Height: 1.2em

sticky restaurant menu

Spacing

Add some top and bottom padding values next.

  • Top Padding: 25px
  • Bottom Padding: 25px

sticky restaurant menu

Add Text Module #2 to Column 1

Add Content

Then, add another Text Module right below the previous one with some content of your choice.

sticky restaurant menu

Text Settings

Change the module’s text settings as follows:

  • Text Font: Crimson Pro
  • Text Color: #3a3a3a
  • Text Size: 32px

sticky restaurant menu

Spacing

Complete the module settings by changing the spacing settings accordingly:

  • Top Margin: 20px
  • Bottom Margin: 50px
  • Left Padding: 5%
  • Right Padding: 5%

sticky restaurant menu

Add Image Module to Column 1

Upload Image

The last module we need in column 1 is an Image Module. Add an image of your choice.

sticky restaurant menu

Sizing

Add a max width to the sizing settings.

  • Max Width: 250px

sticky restaurant menu

Spacing

And complete the module settings by applying the following responsive padding values to the spacing settings:

  • Bottom Margin:
    • Tablet: 80px
    • Phone: 50px
  • Left Padding: 5%
  • Right Padding: 5%

sticky restaurant menu

Add Blurb Module to Column 2

Add Content

On to column 2. Add a Blurb Module with some content of your choice.

sticky restaurant menu

Background Color

Use a white background color next.

  • Background Color: #ffffff

sticky restaurant menu

Title Text Settings

Move on to the module’s design tab and change the title text settings accordingly:

  • Title Font: Karla
  • Title Font Weight: Bold
  • Title Text Color: #3a3a3a
  • Title Text Size:
    • Desktop: 40px
    • Tablet: 35px
    • Phone: 30px
  • Title Letter Spacing: -2px
  • Title Line Height: 1.2em

sticky restaurant menu

Body Text Settings

Modify the body text settings too.

  • Body Font: Karla
  • Body Text Color: #3a3a3a
  • Body Text Size:
    • Desktop: 18px
    • Tablet: 25px
    • Phone: 20px
  • Body Letter Spacing: -0.5px
  • Body Line Height: 2em

sticky restaurant menu

Sizing

Then, modify the sizing settings as follows:

  • Content Width: 100%

sticky restaurant menu

Spacing

Next, go to the spacing settings and change the values accordingly:

  • Bottom Margin: 30px
  • Top Padding: 40px
  • Bottom Padding: 40px
  • Left Padding: 8%
  • Right Padding:
    • Desktop: 25%
    • Tablet & Phone: 8%

sticky restaurant menu

Border

Then, we’ll apply the following border settings:

  • Left Border Width: 3px
  • Left Border Color: #000000

sticky restaurant menu

Box Shadow

We’re using a box shadow as well.

  • Box Shadow Blur Strength: 20px
  • Shadow Color: rgba(0,0,0,0.05)

sticky restaurant menu

Blurb Title CSS

And we’ll complete the module settings by adding the following line of CSS code to the blurb title CSS box in the advanced tab:

margin-bottom: 20px;

sticky restaurant menu

Clone Blurb Module as Many Times as Needed

Once you’ve completed the first Blurb Module, you can clone it as many times as you need.

sticky restaurant menu

Change All Duplicate Content

Make sure you change all duplicate content.

sticky restaurant menu

2. Apply Sticky Effects

Open Text Module #1 in Column 1

Now that all elements are in place, we can focus on the sticky effect. To do that, we’ll open the first Text Module in column 1.

sticky restaurant menu

Make Module Sticky

Move on to the advanced tab and apply the following sticky settings:

  • Sticky Position: Stick to Top
  • Bottom Sticky Limit: Row
  • Offset Surrounding Sticky Elements: Yes
  • Transition Default and Sticky Styles: Yes

sticky restaurant menu

Sticky Styles for Module

Background Color

Now that our module has been turned sticky, we can apply sticky styles to it. First, add a black sticky background color.

  • Sticky Background Color: #000000

sticky restaurant menu

Text Color

Then, change the sticky H3 text color to white.

  • Sticky Heading 3 Text Color: #ffffff

sticky restaurant menu

Spacing

And complete the sticky styles by adding the following responsive sticky padding values:

  • Sticky Left Padding: 5%
  • Sticky Right Padding: 5%

sticky restaurant menu

3. Clone Entire Row for Reuse

Once you’ve completed the sticky steps, you can reuse the entire row as many times as you like.

sticky restaurant menu

Change All Duplicate Content

Make sure you change all duplicate content and that’s it!

sticky restaurant menu

Preview

Now that we’ve gone through all the steps, let’s take a final look at the outcome across different screen sizes.

Desktop

sticky restaurant menu

Mobile

sticky restaurant menu

Final Thoughts

In this post, we’ve shown you how to get creative with your next restaurant website. More specifically, we’ve shown you how to build a sticky restaurant menu that allows you to showcase all different items in an interactive way. You were able to download the JSON file for free as well! If you have any questions or suggestions, feel free to leave a comment in the comment section below.

If you’re eager to learn more about Divi and get more Divi freebies, make sure you subscribe to our email newsletter and YouTube channel so you’ll always be one of the first people to know and get benefits from this free content.

Divi Marketplace

Are You A Divi User? Find Out How To Get More From Divi! 👇

Browse hundreds of modules and thousands of layouts.

Visit Marketplace
Divi Marketplace
Divi Cloud

Find Out How To Improve Your Divi Workflow 👇

Learn about the new way to manage your Divi assets.

Get Divi Cloud
Divi Cloud
Divi Hosting

Want To Speed Up Your Divi Website? Find Out How 👇

Get fast WordPress hosting optimized for Divi.

Speed Up Divi
Divi Hosting
Premade Layouts

Check Out These Related Posts

Get a Free Augmented Reality Layout Pack for Divi

Get a Free Augmented Reality Layout Pack for Divi

Posted on March 25, 2024 in Divi Resources

Hey Divi Nation! Thanks for joining us for the next installment of our weekly Divi Design Initiative; where each week, we give away a brand new Layout Pack for Divi. This time around, the design team has created a beautiful Augmented Reality Layout Pack that’ll help you get your next Augmented...

View Full Post
Download a Free Webinar Theme Builder Pack for Divi

Download a Free Webinar Theme Builder Pack for Divi

Posted on March 22, 2024 in Divi Resources

It’s time for another freebie! This time, we’re giving you a free Theme Builder Pack for Divi. Combining these with our beloved Divi Layout Packs is a great way to build the Divi website of your dreams with ease. This week, the design team has created a beautiful Webinar Theme Builder...

View Full Post
Get a Free Modeling Agency Layout Pack for Divi

Get a Free Modeling Agency Layout Pack for Divi

Updated on March 21, 2024 in Divi Resources

Hey Divi Nation! Thanks for joining us for the next installment of our weekly Divi Design Initiative; where each week, we give away a brand new Layout Pack for Divi. This time around, the design team has created a beautiful Modeling Agency Layout Pack that’ll help you get your next Modeling...

View Full Post

1 Comment

  1. You have a great taste in coordinating colors and the design is a very wonderful job

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Join To Download Today