How to Add Links to Divi Fullwidth Slider Images–Divi Nation Short

Posted on August 12, 2016 by in Divi Resources | 34 comments

How to Add Links to Divi Fullwidth Slider Images–Divi Nation Short

Welcome to Day 74 of our Divi 100 Marathon. Keep tuning in for 100 days in a row of awesome Divi resources as we count down to the amazing release of Divi 3.0 on the final day of the series!


Hey Divi Nation! Thanks for joining us for another episode of our podcast and youtube show. This time around we’ll be sharing a handy tutorial on how to add links to Divi’s fullwidth slider images. Currently the slider module does not have this option but the good news is there is a workaround and I hope you can use this tip in your future designs.

How to Add Links to Divi Fullwidth Slider Images–Divi Nation Short

In this episode of Divi Nation I’m going to show you step-by-step how to make images on your fullwidth sliders clickable. The tip is very easy to achieve; requiring only a small snippet of CSS code. This code hides the button and the text but allows you to link the image to the desired page. Enjoy the video and summary below!

And of course if you have any questions please feel free to put them in the comments section and I’ll be happy to help.

Subscribe To Our Youtube Channel

All Subscription Options:

Summary: How to Add Links to Divi’s Fullwidth Slider Images

First login to your WordPress website. Go to the page you need to add the fullwidth slider to, making sure you are using the Divi Builder. Then add a fullwidth section.

add-full-width-section

Next insert the slider module.

insert-slider-module

Before you start adjusting the settings go ahead and click the custom CSS tab. This is where you need to add the code in the slide button section of the custom CSS tab.

insert-css-code

Below is the code you need to paste in the slide button section of the custom CSS tab:

font-size: 0px;
background-color: rgba(0, 0, 0, 0.0) !important;
top: -1000px;
right: -1000px;
height: 5000px;
width: 5000px;
position: absolute;

While you are still on the fullwidth slider module settings popup, click on the general settings tab and add a new slide.

add-new-slide

All you have to do now is to add the url and the background image. Remember the slider is going to be blank but it will link to the web page of your choice. Repeat the steps to add more images to the slider.

add-button-url-and-background-image

Finally click the save and exit button. To preview the changes, click on the blue update button on the top right and then preview the page. Test your links by clicking on the slider images. Below is a preview of my slider images.

image-slider

Next Week on the Divi Nation Podcast: Nathan Interviews Josh Ronk, Project Lead on the Divi 3.0 Release

Next week Nathan will introduce the community to another talented member of Elegant Themes’ development team. Josh has lead development on a few large projects now–including Extra and Divi 3.0. We’re excited to share his story and experience with the whole community!

Be sure to subscribe to our email newsletter and YouTube channel so that you never miss a big announcement, useful tip, or Divi freebie!

divi-2-6-logo

Divi 100 Day 74

The Countdown To Divi 3.0

This post is part of our Divi 100 marathon. Follow along as we post free Divi resources for 100 days in a row! This 100-day countdown will end with the game-changing release of Divi 3.0, including our brand new visual editor built from the ground up using React. Divi 3.0 will change the way you build websites with the Divi Builder forever!
Let the countdown begin.

Learn More About Divi 3.0


Premade Layouts

Check Out These Related Posts

34 Comments

  1. Great option, any examples BTW???

  2. Thanks Augustine. This is a great way to build a custom CTA. This will come in handy.

    • You’re welcome ๐Ÿ™‚

  3. Can this work with the normal slider or is it just the full width slider?

    • Will try it on normal slider and let you know.

      • Can confirm adding a button name does allow it to work on the slider.

        Cheers all.

  4. Why do you add “button Text” if it is not supposed to be displayed? Would it work without that?

    • If you don’t leave a button text (even if it’s dummy text), the hyperlink will not work because the work around makes the code think you are still clicking the text within the button although you cannot see it.

      On a side note, this could still be a wonderful opportunity for SEO practices: for example maybe a long tail keyword in order to get google’s attention and improve your page rank.

    • Yes it works without the text.

  5. Is there any option for a new tab to open to the link when you click the image?

  6. Cannot we simply use viewport height in css as

    height : 100vh;

  7. Doesn’t work on a normal slider for me… would like that option too ๐Ÿ™‚

  8. Or.. just implement the option in divi 3 ๐Ÿ™‚

  9. This is such a great resource that you are providing and sharing for free.

  10. GREAT news for full-width sliders! But of course we want more. ๐Ÿ˜‰

    So I’m with Barry on this one. How about for standard slider images?

  11. Great Tip. This will come in handy when building gallery/photography websites.

  12. Oh wow, actually just learned something. Cool trick!

  13. Wait! It DOES work for standard sliders as well! I just did it! Trick was to be sure to type something in the button text. Button text doesn’t show up (good thing), but apparently the button process needs something in the button text area of the slide. Happy, Happy, Happy!

    • Thanks for letting us know that it works on the standard slider, you saved me testing it ๐Ÿ™‚

    • Thanks Susan!

  14. This is the exact solution that I looking for to display rotating banners. Works great on Extra. Thanks so much.

  15. Like so many divi features, why should we need a tutorial to do something so basic? Why can’t it just be an option in the module?…

  16. Looking for this only ๐Ÿ™‚

  17. Nice tip !
    It works greatly with ‘Fullwidth header’.

    Sweet video tutorial ! โ˜บ๏ธ

    • Thanks

  18. It works greatly with Fullwidth header ‘TOO’. ๐Ÿ™‚

  19. I like your blog for latest coding techniques.

  20. I see that this allows a slide to be clicked without text, but is it possible to show the entire image as a clickable slide instead of a small area of it?

  21. Thank you! I did this on a regular slider and it worked beautifully ๐Ÿ™‚

  22. I use a Featured Posts Slider in Extra, but there is no button option. I really, really need these images to be clickable. Is there ANY WAY to make this code work for that?

  23. Is there any way to make this code work for the Featured Posts Slider in Extra?

  24. Hi! This works for me on desktop, but once I add the code, the button url & text, my slider disappears on tablet landscape. Anyway of fixing this?

  25. Great tip

Join To Download Today

Pin It on Pinterest