How do I embed css, jquery and html in my Divi theme (wordpress) -


im struggling implementing animation on wordpress site. im using divi theme , have done animation in css, html , jquery. have done embed jquery in code module, added css model , inserted html in text module, doesnt seem work.

this code:

    <style type="text/html"> <div id="infographic">   <div id="c1">     <h3>strategy</h3>     <p>strategy <br><br>all companies can stuck. <br>whether have been @ years or trying started. <br>osocon can assist in rebooting strategy. can you<br> draw plan deliver on it. our pragmatic approach rooted in years<br> of personal experience across range of industries, geographies, , scale.<br>we focus on matters most.<br><br> within strategy more can:<br><br>- direction , traction on new projects or start-up initiatives<br>- acid test existing (or new) business ideas , growth opportunities<br>- prioritize , when in order business on track <br>- review commercial identity, organization, skills , approach</p>   </div>   <div id="c2">     <h3>leadership</h3>     <p>leadership <br><br>your teams need ready deliver on plan. they?<br> approach leadership teams take crucial determinants of success. <br>osocon believes in balancing personal traits , business skills of leader.<br> can unbiased view across organization.<br> challenging when right in midst of it<br><br>within leadership more can:<br><br>- assess ability of organization , leadership deliver on strategic plan<br>- gauge effectiveness of leadership , how organization works together<br>- coach , leadership team towards greater , sustainable impact<br>- provide objective opinion on current leadership skills , approaches</p>   </div>   <div id="c3">     <h3>ownership</h3>     <p>ownership <br><br>unsurprisingly, having right owners of company important. <br>sometimes forget adjust our ownership structure our needs<br> change on time. bring in new investors early, refuse<br> when best option. osocon can assist in ensuring <br>the right longer-term environment , structure in place your<br> company’s success.<br><br> within ownership more can: <br><br> -be sparring partner current ownership structure , investor considerations<br>- prepare investment process, identify investors, , ‘get house in order’<br>- take board positions or advisory roles in company when makes sense<br>- actively invest in company fit good, , timing right</p>   </div> </div> </style> <style type="text/css">  @import "compass/css3";  html {   background: white;   text-align: left;   padding-top: 2em;   padding-left: 3em; }  #infographic {   margin: 0 auto;   position: absolute;   display: block;   height: 10em;   width: 10em;  &:hover {     cursor: pointer;    }  div {     @include transition(all 600ms cubic-bezier(0.23, 1, 0.32, 1));     height: 14em;     width: 14em;     position: absolute;     border-radius: 50%;     background: rgba(242,242,242,0.6);     background-blend-mode: multiply;     &:hover {     cursor: pointer;    transition: background-color 800ms ease-in-out;   background: rgb(34,181,115);   color: rgba(255,255,255,0);   z-index: 999;   -webkit-transition: 0.5s ease-in-out;   -moz-transition: 0.5s ease-in-out;   -o-transition: 0.5s ease-in-out;   -ms-transition: 0.5s ease-in-out;   transition: 0.5s ease-in-out;    }     }  }  h3 {   font-family: arial;   font-size: 14px;   font-weight: bold;   letter-spacing: 0.1em;   margin-top: 50%;   text-transform: uppercase;   color: #22b573;   text-align: center;  } #c1:hover h3, #c2:hover h3, #c3:hover h3{   font-family: arial;   font-size: 14px;   font-weight: bold;   letter-spacing: 0.1em;   margin-top: 50%;   text-transform: uppercase;   color: white;   text-align: center;  }  p {   font-family: arial;   font-size: 12px;   font-weight: normal;   letter-spacing: 0.1em;   color: black; }  #c1 {   top: 0em;   left: 60%; }  #c2 {   top: 100%;   left: 0; }  #c3 {   top: 100%;   left: 110%; }  .animated {   #c1 {     @include transform(translate(0em, 0.1em));     &:hover p{     display:block;     white-space: nowrap;     margin-left: 180%;     margin-top: -8em;   }   }   #c2 { @include transform(translate(0em, 0.1em));    &:hover p{     display: block;     white-space: nowrap;     margin-left: 223%;     margin-top: -21.3em;    }   }   #c3 {     @include transform(translate(0em, 0.1em));   &:hover p{   display: block;   white-space: nowrap;   margin-left: 145%;   margin-top: -21.3em;    }    } }  p { display: none;   } </style>  <script type="text/javascript">   $(document).ready(function() {   $("#infographic").hover(function() {     $("#infographic").toggleclass("animated");   }); });  </style> 

any suggestions?

br anne-sophie!


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -