How to Build an Interactive List on Scroll with Divi’s Sticky Options

How to Build an Interactive List on Scroll with Divi’s Sticky Options

Divi’s sticky options allow you to effortlessly add interaction to the pages you create and design. If you’re looking for a way to mention multiple items without just creating a static list, you’ll enjoy this tutorial. Today, we’re showing you how to build an interactive list on scroll using Divi’s sticky options. As people are scrolling down the section, different items are added to the list on the left. This helps keep an overview. You’ll be able to download the free JSON file 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

list on scroll

Mobile

list on scroll

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 Divi Daily email list 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.

.et_bloom .et_bloom_optin_1 .et_bloom_form_content { background-color: #4843d2 !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container .et_bloom_form_header { background-color: #ffffff !important; } .et_bloom .et_bloom_optin_1 .carrot_edge .et_bloom_form_content:before { border-top-color: #ffffff !important; } .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:before, .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:before { border-top-color: transparent !important; border-left-color: #ffffff !important; }
@media only screen and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:before, .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:before { border-top-color: #ffffff !important; border-left-color: transparent !important; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:before { background: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !important } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 strong { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p strong, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form input, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form button span { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; } p.et_bloom_popup_input { padding-bottom: 0 !important;}

Download For Free

Download For Free

Join the Divi Newsletter and we will email you a copy of the ultimate Divi Landing Page Layout Pack, plus tons of other amazing and free Divi resources, tips and tricks. Follow along and you will be a Divi master in no time. If you are already subscribed simply type in your email address below and click download to access the layout pack.

You have successfully subscribed. Please check your email address to confirm your subscription and get access to free weekly Divi layout packs!

Create Element Structure

Add New Section

Background Color

Start by adding a new section to the page you’re working on. Add a background color to the section.

  • Background Color: #f2f2f2

list on scroll

Add Row

Column Structure

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

list on scroll

Sizing

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

  • Width: 100%
  • Max Width: 100%

list on scroll

Column 1 Background Color

Then, open the column 1 settings and add a background color.

  • Background Color: #f2f2f2

list on scroll

Column 1 Spacing

Modify the column’s spacing settings next.

  • Top Padding:
    • Tablet: 20px
    • Phone: 20px
  • Bottom Padding:
    • Tablet: 20px
    • Phone: 20px
  • Left Padding: 3%
  • Right Padding: 3%

list on scroll

Column 1 Z Index

And increase the column’s z index in the advanced tab.

  • Z Index: 12

list on scroll

Add Text Module #1 to Column 1

Add Content

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

list on scroll

Text Settings

Move on to the module’s design tab and change the text settings as follows:

  • Text Font: Playfair Display
  • Text Font Weight: Bold
  • Text Font Style: Italic
  • Text Color: #bfbfbf
  • Text Size:
    • Desktop: 2vw
    • Tablet: 5vw
    • Phone: 8vw
  • Text Line Height: 1em

list on scroll

Add Text Module #2 to Column 2

Add H3 Content

Add another Text Module to the column with some H3 content of your choice.

list on scroll

H3 Text Settings

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

  • Heading 3 Font: Playfair Display
  • Heading 3 Font Weight: Bold
  • Heading 3 Text Color: #000000
  • Heading 3 Text Size:
    • Desktop: 3vw
    • Tablet: 10vw
    • Phone: 12vw

list on scroll

Spacing

Add some custom top and bottom margin next.

  • Top Margin: 2vh
  • Bottom Margin: 2vh

list on scroll

Transform Scale

Then, apply some custom transform scale settings.

  • Both: 300%

list on scroll

Transform Translate

And complete the module settings by applying the following transform translate settings:

  • Bottom: 30%

list on scroll

Add Divider Module to Column 1

Visibility

The last module we need in column 1 is a Divider Module. Make sure the “Show Divider” option is enabled.

  • Show Divider: Yes

list on scroll

Line

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

  • Line Color: #000000
  • Line Style: Solid
  • Line Position: Top

list on scroll

Sizing

Modify the module’s sizing settings too.

  • Divider Weight: 4px
  • Divider Height: 4px

list on scroll

Add Image Module to Column 2

Leave Image Box Empty

In column 2, the first module we’ll add is an Image Module. Leave the image box empty.

list on scroll

Background Image

Use a background image instead.

  • Background Image Size: Cover
  • Background Image Position: Center

list on scroll

Spacing

And to allow the background image to show up, we’ll modify the spacing settings as follows:

  • Top Margin:
    • Desktop: 15vh
    • Tablet & Phone: 0vh
  • Top Padding: 33vh
  • Bottom Padding: 33vh

list on scroll

Add Text Module to Column 2

Add Content

The next and last module we need is a Text Module below the Image Module. Add some description content of your choice.

list on scroll

Text Settings

Move on to the module’s design tab and change the text settings as follows:

  • Text Font: Cabin
  • Text Color: #000000
  • Text Size:
    • Desktop: 1.2vw
    • Tablet: 2.3vw
    • Phone: 3.4vw
  • Text Line Height: 1.6em

list on scroll

Spacing

Complete the module settings by changing the module’s spacing settings accordingly:

  • Left Padding:
    • Tablet & Phone: 5%
  • Right Padding: 5%

list on scroll

Apply Sticky Effects

Turn Column #1 Sticky

Now that all elements are in place, we can start applying the sticky settings. Open the column 1 settings and use the following responsive sticky settings in the advanced tab:

  • Sticky Position: Stick to Top
  • Bottom Sticky Limit
    • Desktop: Section
    • Tablet & Phone: Row
  • Offset From Surrounding Sticky Elements:
    • Desktop: Yes
    • Tablet & Phone: No
  • Transition Default and Sticky Styles: Yes

list on scroll

Text Module #1 in Column #1: Sticky Settings

Height

Now that column 1 has been turned sticky, we can start applying some sticky settings to the elements inside this column. We’ll start with the first Text Module’s height.

  • Height: 0px
  • Sticky Height: Auto

list on scroll

list on scroll

Opacity

We’re modifying the opacity too.

  • Opacity: 0%
  • Sticky Opacity: 100%

list on scroll

list on scroll

Text Module #2 in Column #1: Sticky Settings

Transform Scale

Next, we’ll open the second Text Module in column 1. Bring back the transform scale values to “100%” in a sticky state.

  • Sticky Both: 100%

list on scroll

Transform Translate

Change the sticky transform translate settings too.

  • Sticky Bottom: 0%

list on scroll

Transition

And complete the module settings by increasing the transition duration in the advanced tab.

  • Transition: 1000ms

list on scroll

Divider Module: Sticky Settings

Max Width

Last but not least, we’ll also modify the Divider Module’s max width.

  • Max Width: 0px
  • Sticky Max Width: 120px

list on scroll

list on scroll

Clone Row Twice

Once your first row has been completed, you can clone it twice.

list on scroll

Change All Content & Images

Make sure you change all content and images and you’re done!

list on scroll

Preview

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

Desktop

list on scroll

Mobile

list on scroll

Final Thoughts

In this post, we’ve shown you how to get creative with Divi’s sticky options. More specifically, we’ve shown you how to build an interactive list on scroll. As people are scrolling down the section design, different items of your list are collected on the left side. This gives a structured overview and helps you create an interactive design. You can use this approach for any type of list you want to share on your pages! 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.

The post How to Build an Interactive List on Scroll with Divi’s Sticky Options appeared first on Elegant Themes Blog.

This post was originally published on this site

What is Caniuse and How Can You Use It to Improve Your Website?

What is Caniuse and How Can You Use It to Improve Your Website?

One of the best jokes out there about being a web developer is that you spend 20% of your time coding. And the other 80% searching the internet for solutions to problems you run into. It’s not terribly untrue, either, if a bit hyperbolic. Thanks to tools like Can I Use, that time searching can be considerably cut down.

What is CanIUse?

With this tool, the question of whether or not a particular technology on your website is compatible with specific browsers is laid out in a simple, easy-to-read chart that can help you more easily make design and development decisions. Primarily built and maintained by Alexis Deveria and designed by Lennart SchoorsCanIUse is an open-source project that anyone can contribute to with even as small an effort as contributing info to the database.

Using the tool is simple. With a simple search of a property, parameter, or feature, caniuse.com will tell you precisely what browsers and versions support that technology. CanIUse also lets you know variants of the property that you’re looking for. That way you know which kinds of media queries, for instance, are supported by which browsers.

And to what extent. The compatibility charts also indicate not only whether the browser supports the technology or not, but also whether to what extent, in case there’s partial compatibility in certain versions.

Why Should You Use CanIUse?

Well, for starters, you should use it if you want to give your clients, customers, and visitors the best experience possible. When trying to decide if you should use hover effects, transparencies, jquery on-clicks, or even automatic dark-mode switching.

If you build a website with all the bells and whistles that you can think of, making a beautiful design that’s more art than app, then you have done something amazing. But if your primary demographic still uses Internet Explorer 6 (shudder), then not only will your design and development time be wasted, but your website will be fundamentally broken. The visitors might not even be able to function at its most basic levels.

Admittedly, most (but not all unfortunately) of your visitors will be using something far more modern than IE6. However, the number of different browsers in use is huge. Tablet, mobile, and desktop in varying versions. And well, it’s worth taking a look if your upcoming site (or even your existing site) is serving your audience’s best interests).

How to Use CanIUse

The workflow for the website is absurdly straightforward, and the UI is about as easy-to-read as it gets.

caniuse main ui

Taking a look at the above screenshot, you can enter whatever technology you want into the search field. We’ve found the best results for using the specific syntax you use in your code. Not a semantic, human-readable term. Such as in (1)prefers-color-scheme instead of dark mode switching CSS.

The description CanIUse gives (2) also makes it so that if you’re doing research on a technology, you see exactly what it is and what it does and how it interacts with the DOM.

One of the most useful parts of CanIUse is the Notes (3) tab at the bottom of any particular entry. It’s not technical information, per se, it’s more of a reminder that there might be some considerations that you can’t see in a colored version chart.

can i use hover

When you hover over a particular browser version (let’s use the infamous Internet Explorer 6 as an example), a pop-up (4) appears with lots of info. The total global usage of that version, whether it’s still being supported by the developers, and an ability to test the tech using BrowserStack simulation. That last bit is important. Seeing how unsupported features render may show you ways to troubleshoot it.

And sometimes the Notes (5) tab will also show you that a particular kind of feature has been deprecated. In the example above @media query has been deprecated. Because there’s a dark-mode/light-mode query that works on its own.

How to Find What Browsers Your Audience Uses

With all that in mind, you can see which browsers are supported for any given technology you want to use. But how does that necessarily apply to your users? You can use Google Analytics to dig into what browser and operating system (OS) your visitors use so that you can make sure to be as compatible as possible.

First, navigate to the Audience section of your left-hand sidebar. Then expand Technology and click Browser & OS.

analytics for browser and os

As you see the breakdown of users and the browsers they use to access your site. These days, almost every site is going to be Chrome and Safari at the top. Chrome because it’s the standard among desktop users (and default on Android devices). And Safari because iPhones default to it. (As well as MacOS).

Clicking into a browser (3) can let you see which version (literal point releases) of the browsers are being used. If you notice, there are a lot of differences in the versions below. From 12.x all the way to 604.x. That’s a big gap. It indicates there’s a difference OS usage. So click on Other (4and scroll in the drop-down menu. Find Operating System.

caniuse os

Sort by Operating System now. Now you will see how much of that traffic is mobile and how much of it is desktop.

os and mobile browsing

With that information in hand, you can then go back to Caniuse.com and make sure that any technology on  your site works like it should for the highest percentage of your users.

Wrapping Up with CanIUse

So the next time you’re looking at Divi and one of our sweet new features or reading a css tutorial and find something new to play with, check out caniuse.com. It may take a while for some tech to be recognized by some browsers. But if the majority of your audience comes from browsers that support new and fun features, Can I Use absolutely can tell you if you can use it.

What have you found to be the best usage for Can I Use?

Article featured image by fatmawati achmad zaenuri / shutterstock.com

The post What is Caniuse and How Can You Use It to Improve Your Website? appeared first on Elegant Themes Blog.

This post was originally published on this site

5 Things to Know About Working Freelance

5 Things to Know About Working Freelance

Featured image by Pexels from Pixabay

A lot of people dream of working freelance. The ability to follow your passions and work on projects you enjoy are the main reasons why many are choosing this kind of employment. But there are some things people do not realize. Here are five things you should know about working freelance.

RELATED ARTICLE: HOW TO TRAVEL THE WORLD WHILE WORKING REMOTELY

You Will Need a Portfolio for Working Freelance

When you work freelance, you are going to be working with new clients all the time. Think about it as a lot of mini work interviews. You are going to need to showcase your best work in order to get to work on projects that appeal to you. In other words, you will have to prepare a portfolio. This should contain your best work and show off your skills. This is going to be why new clients hire you for your next project, so take your time to choose the right content.

You Choose When You Work

Know that working as a freelancer means you choose when you work. This can be a great thing, as it means you are in charge of your schedule. You can choose not to work the conventional nine-to-five and spend time with your family. Alternatively, you can have more breaks during the day and enjoy your favorite hobbies. For example, you can play at an Indian online casino or go out on a hike. But remember, you will have to ensure that you take on the right projects to survive financially. Nobody is going to be there to motivate you except for yourself.

RELATED ARTICLE: WORK AT HOME? HOW TO SEPARATE WORK AND PERSONAL LIFE

Know Your Income Is Not Guaranteed When You Work Freelance

There are definitely a lot of advantages to working as a freelancer. But you also have to be aware of the drawbacks so that you are prepared and have the whole picture. In particular, your monthly income is not guaranteed. It is going to be your responsibility to find new clients and make sure that you have a big enough workload to earn the amount of money you need. You are more at risk during economic downturns and will have to be cautious. Therefore, know that you may have an unsteady income as a freelancer.

It Can Be Beneficial to Keep Your Day Job

If you want to work as a freelancer, it is important to take it slow. In other words, it may be best to keep your day job to begin with. It can take a while to gain experience and build a name for yourself. The last thing you want to do is quit your job and struggle financially. Try taking on some freelance jobs on the side to start. This can help to build your reputation before you quit your job and go full-time as a freelancer.

There Are No Employee Benefits

If you have worked for any major companies before, you probably had plenty of employee benefits. For instance, your employer might have paid for your medical insurance. You probably also had vacation time and sick pay. Unfortunately, these are not things you are going to enjoy when you are working freelance. Instead, these are responsibilities that will fall on you. If you are sick, you will not be paid. Instead, you will lose money that day.

RELATED ARTICLE: REMOTE WORKING? USE THESE BEST TIPS

Conclusion

If, after learning the facts, you still want to work as a freelancer, by all means go ahead. Who knows? You just may discover a few months or years down the road that it was the best decision you ever made.

RELATED ARTICLE: HOW TO MONETIZE YOUR BLOG IN 2021

The post 5 Things to Know About Working Freelance appeared first on Business Opportunities.

This post was originally published on this site