How to create a Promo slider at the top of the Divi page.

DiviLife has a great generator that you can use so you don’t need to add another plugin.

I need to make a few css changes for my Divi clients particular site…for both mobile and to ensure that the content width allowed for more words.  When I had a longer slogan the button moved down out of the box, so needed the css add.

/*=========================================
CODE FOR PROMO SLIDER AT TOP
========================================*/
button.promo-slide-in-button, a.promo-slide-in-button{padding: 5px 10px!important}

@media only screen and (min-width:981px) {
.promo-slide-in-content {width: 1000px!important;}
.promo-slide-in{height:70px!important}}
@media (max-width: 775px){
.promo-slide-in-content p {width: 80%!important;position: relative!important; right: 5%!important; display: block!important;float:none!important}
button.promo-slide-in-button, a.promo-slide-in-button{clear:both!important;width:60%!important;display:block!important;float:none!important;margin: 12px auto!important;right:85px!important;}
.promo-slide-in{height:120px!important}
#main-header.fixed-nav-main-header {top: 120px !important;}
}

Review My Order

0

Subtotal

 
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.