(202) 750-1910
  • Facebook
  • X
  • Instagram
  • TikTok
  • Yelp
  • Google
  • Pinterest
  • WhatsApp
  • Threads
  • Facebook
  • X
  • Instagram
  • TikTok
  • Yelp
  • Google
  • Pinterest
  • WhatsApp
  • Threads
0 Items
Ask the Egghead, Inc.
  • Home
  • About
    • Reviews
    • Awards
    • Careers
    • Partners
    • Systems Status
  • Services
    • Website Design
    • Managed Hosting
    • Accessibility Compliance
    • Content Builder
    • Multi-Language Websites
    • SEO
    • Social Media
    • Premier Property Promotion
    • Reputation & Review Management Services
    • Low Code/No Code Solutions for MVP Development
    • Citation Builder
    • Pricing
    • Get A Quote
  • Portfolio
  • Website Audit
  • Blog
  • Invest Local
  • Contact
Select Page

How to Create a Blurb Menu on Hover/Click for Your Page with Divi

Every week, we provide you with new and free Divi layout packs which you can use for your next project. For one of the layout packs, we also share a use case that’ll help you take your website to the next level.

This week, as part of our ongoing Divi design initiative, we’re going to show you how to create a stunning blurb menu that expands once you hover or click it. We’ll first start off by going through some general steps. We’ll continue by adding menu items using Blurb Modules and we’ll finish off by allowing you to choose between a hover or click effect.

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.

Hover Modus

Desktop

blurb menu

Mobile

blurb menu

Click Modus

Desktop

blurb menu

Mobile

blurb menu

1. Create Blank Page & Upload Sightseeing Landing Page

Add New Blank Page & Enable Divi Builder

The first thing you will need to do is create a new blank page. Give your page a title and switch over to Divi Builder.

blurb menu

Upload Sightseeing Landing Page

Once you’ve enabled the Divi Builder, upload the Sightseeing Layout Pack’s landing page layout.

blurb menu

2. Add New Regular Section to Bottom of Page

Once the primary menu bar is hidden, we can start adding the blurb menu. To do that, we’re going to add a new regular section to the bottom of our page.

blurb menu

Background Color

Open the section settings and add a slightly transparent white background color.

  • Background Color: rgba(255,255,255,0.98)

blurb menu

Spacing

Move on to the design tab and remove all default top and bottom padding of the section.

  • Top Padding: 0px
  • Bottom Padding: 0px

blurb menu

Default Box Shadow

Add a box shadow to the section next.

  • Box Shadow Blur Strength: 18px
  • Shadow Color: #383838

blurb menu

Hover Box Shadow

And change the box shadow blur strength on hover.

  • Box Shadow Blur Strength: 1000px

blurb menu

Hide Section Overflows & Increase Z Index

We’ll be using the section sizing settings to make this technique work, but to make sure nothing exceeds the section container, we’ll need to hide the overflows. We’re also increasing the Z Index to make sure the section stays on top of the rest of the page.

  • Horizontal Overflow: Hidden
  • Vertical Overflow: Hidden
  • Z Index: 9999

blurb menu

3. Make Sure All Section Menu Content is Created Using Vw & Fits into 100 Viewport Height Across All Screen Sizes

Add Row #1

Column Structure

Once you’ve completed the basic section settings, it’s time to add all the content you want to show up in the menu. You can create any design you want using Divi’s design elements and built-in options, but you have to make sure it all fits into a ‘100vh’ height across all screen sizes. To accomplish that, we’re going to use the viewport width unit throughout the building process and tweak the values across different screen sizes. Start by adding a new row to your section using the following column structure:

blurb menu

Sizing

Without adding any modules yet, open the row settings and make sure it takes up the entire width of the section.

  • Use Custom Gutter Width: Yes
  • Gutter Width: 1
  • Width: 100%
  • Max Width: 100%

blurb menu

Spacing

Move on to the spacing settings and remove all default top and bottom padding.

  • Top Padding: 0px
  • Bottom Padding: 0px

blurb menu

Add Text Module to Column

Add Symbol

Continue by adding a Text Module to the row’s column. Add the ‘=’ symbol to the content box or feel free to use any other symbol of your choice.

blurb menu

Background Color

Change the background color of the module next.

  • Background Color: #000000

blurb menu

Text Settings

Move on to the design tab and change the text settings as well.

  • Text Font: Open Sans
  • Text Alignment: Center
  • Text Color: #ffffff
  • Text Size: 3vw (Desktop), 5vw (Tablet), 7vw (Phone)
  • Text Line Height: 1em

blurb menu

Spacing

We’re also adding some space to the top and bottom of the module using the following custom padding values:

  • Top Padding: 2.5vw (Desktop), 3.5vw (Tablet), 5vw (Phone)
  • Bottom Padding: 2.5vw (Desktop), 3.5vw (Tablet), 5vw (Phone)

blurb menu

Add Row #2

Column Structure

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

blurb menu

Sizing

Without adding any modules yet, open the row settings and allow the row to take up the entire width of the screen.

  • Use Custom Gutter Width: Yes
  • Gutter Width: 1
  • Width: 100%
  • Max Width: 100%

blurb menu

Spacing

Move on to the spacing settings and add some custom top and bottom padding next.

  • Top Padding: 2vw (Desktop), 4vw (Tablet), 6vw (Phone)
  • Bottom Padding: 2vw (Desktop), 4vw (Tablet), 6vw (Phone)

blurb menu

Display

To make sure both columns remain next to each other on smaller screen sizes, we’re going to add one single line of CSS code to the main element of the row.

display: flex;

blurb menu

Add Blurb Module to Column 1

Add Content

Time to start adding the menu items! Add a new Blurb Module to the first column of the row and enter some content of your choice.

blurb menu

Select Icon

Choose an icon next.

blurb menu

Add Link

And enter a page link that matches the menu item.

  • Title Link URL: #

blurb menu

Icon Settings

Move on to the design tab and change the icon settings accordingly:

  • Icon Color: #ff3314
  • Icon Placement: Top
  • Use Icon Font Size: Yes
  • Icon Font Size: 2vw (Desktop), 3vw (Tablet), 4vw (Phone)

blurb menu

Title Text Settings

Modify the title text settings as well.

  • Title Font: PT Serif
  • Title Font Style: Underline
  • Title Underline Color: #ff3314
  • Title Text Alignment: Center
  • Title Text Size: 1.8vw (Desktop), 2.3vw (Tablet), 3.3vw (Phone)

blurb menu

Body Text Settings

Then, change the body text settings.

  • Body Font: Lato
  • Body Text Alignment: Center
  • Body Text Color: #c6c6c6
  • Body Text Size: 0.9vw (Desktop), 1.7vw (Tablet), 2.1vw (Phone)
  • Body Line Height: 1.8em

blurb menu

Sizing

And change the width of the module across different screen sizes using the following values:

  • Width: 60% (Desktop), 65% (Tablet), 80% (Phone)

blurb menu

Animation

We’re also removing the icon animation in the animation settings.

  • Icon Animation: No Animation

blurb menu

Clone Blurb Module & Place Duplicate in Column 2

Once you’ve completed the Blurb Module, you can clone it and place the duplicate in the second column of the row.

blurb menu

Change Copy

Make sure you change the copy.

blurb menu

Change Icon

Along with the icon.

blurb menu

Change Link

And the page link that matches the new menu item.

blurb menu

Clone Row Twice

Once you’ve completed both Blurb Modules in the row, you can clone the entire row twice.

blurb menu

Change Copy, Icon & Link for Each Blurb Duplicate Individually

Make sure you change the copy, icon and link for each one of the blurb menu items individually.

blurb menu

4. Make Section Sticky

Default

Once you’ve added all the elements you want to show up to your section, you can make the section stick to the top left of your page by adding the following two lines of CSS code to the main element of the section:

position: fixed;
top: 0;

blurb menu

Hover (Important!)

Enable the hover option on the main element of the section and make sure the section remains sticky in this state as well.

position: fixed;

blurb menu

5. Pick a Method: A) Menu On Hover or B) Menu On Click

A) Menu on Hover

Default Section Sizing

In the next part of the tutorial, you’ll need to pick a preferred method; a menu on hover or click. The hover menu will behave like a click menu on smaller devices. If you decide to choose the hover option, open the section settings again, go to the sizing settings and change the width and height of your menu accordingly:

  • Width: 8vw (Desktop), 12vw (Tablet), 20vw (Phone)
  • Height: 7.4vw (Desktop), 12vw (Tablet), 16vw (Phone)

blurb menu

Hover Section Sizing

Modify the values on hover to create an expanding menu.

  • Width: 80%
  • Height: 100vh

blurb menu

B) Menu on Click

Add CSS Class to Section

If you want a menu that opens on click only, you’ll have to open the Text Module containing the menu symbol. Go to the advanced tab and add a custom CSS class.

  • CSS Class: fullwidth-open

blurb menu

Add CSS Class to Text Module

Open the section settings next and add a different CSS class.

  • CSS Class: smooth-transform

blurb menu

Section Sizing

We’re modifying the width and height of our section next.

  • Width: 8vw (Desktop), 12vw (Tablet), 20vw (Phone)
  • Height: 7.4vw (Desktop), 12vw (Tablet), 16vw (Phone)

blurb menu

Add Code to Page

Add New Row to Bottom of Section

Now, to create the toggling effect, we’re going to need a bit of JQuery and CSS code. Start by adding a Code Module to a new row at the bottom of your section.

blurb menu

Add Code Module to Section & Insert JQuery Toggle Code

Copy the following lines of JQuery code and paste them to the code box:

<script>
jQuery(function($){
$("#fullwidth-open").click(function() {
  $('.smooth-transform').toggleClass('smooth-transform-active');
});
});
</script>

blurb menu

Add Custom CSS Code to Page Settings

Last but not least, open the page settings next and add the following lines of CSS code:

.smooth-transform-active {
height: 100vh;
width: 80%;
}

.smooth-transform {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

blurb menu

Preview

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

Hover Modus

Desktop

blurb menu

Mobile

blurb menu

Click Modus

Desktop

blurb menu

Mobile

blurb menu

Final Thoughts

In this post, we’ve shown you how to create a beautiful blurb module that expands on click/hover (depending on your preference). This is a great way to add extra interactivity to your menu while maintaining a responsive outcome across all screen sizes. If you have any questions or suggestions, make sure you 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.

The post How to Create a Blurb Menu on Hover/Click for Your Page with Divi appeared first on Elegant Themes Blog.

Recent Posts

  • Your Website Is More Than Just Curb Appeal

    Your Website Is More Than Just Curb Appeal

  • Top Website Mistakes That Hurt Your Business

    Top Website Mistakes That Hurt Your Business

  • Plugin of the Week: WPForms Made Simple

    Plugin of the Week: WPForms Made Simple

  • SEO Simplified: Boost Your Website Without Tech Skills

    SEO Simplified: Boost Your Website Without Tech Skills

  • Find Your Perfect Website Style

    Find Your Perfect Website Style

  • SEO Promises That Should Scare You

    SEO Promises That Should Scare You

  • Design Mistakes That Destroy Your Credibility

    Design Mistakes That Destroy Your Credibility

  • Fire Your Developer If This Is Happening

    Fire Your Developer If This Is Happening

  • Website Glow-Ups: Before and After a Redesign

    Website Glow-Ups: Before and After a Redesign

  • Your Website Should Work as Hard as You Do

    Your Website Should Work as Hard as You Do

Awards

  • Clutch Top Web Design Company Medical Websites 2024

    Clutch Top Web Design Company Medical Websites 2024

  • Clutch Top Web Design Company Government Websites 2024

    Clutch Top Web Design Company Government Websites 2024

  • UpCity National Excellence Winner 2024

    UpCity National Excellence Winner 2024

  • UpCity National Excellence Winner 2023

    UpCity National Excellence Winner 2023

  • UpCity National Excellence Winner 2022

    UpCity National Excellence Winner 2022

  • UpCity Local Excellence Washington DC 2021

    UpCity Local Excellence Washington DC 2021

  • UpCity Top Designer 2021

    UpCity Top Designer 2021

  • DesignRush Accredited Agency 2021

    DesignRush Accredited Agency 2021

  • Clutch Top Company Washington DC 2021

    Clutch Top Company Washington DC 2021

  • Digital.com Best SEO Firms Washington DC 2021

    Digital.com Best SEO Firms Washington DC 2021

Ask-the-Egghead-logo

Capability Statement

View/Download

Ask the Egghead

200 Massachusetts Ave NW
8th Floor Suite 133
Washington, DC 20001
(202) 750-1910

Ask the Egghead

399 Boylston Street
Suite 685
Boston, MA 02116
(617) 221-8300

Quick Links

  • Website Design
  • Social Media
  • SEO
  • Managed Hosting
  • Privacy Policy
  • Investors
  • Facebook
  • X
  • Instagram
Designed by The Egghead © 2015-2025 Ask the Egghead, Inc.