1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Trying to target an et-pb-icon span class to change on click?

Discussion in 'Free Divi Community Forum' started by Mr Immortality, Jan 25, 2022.

  1. Mr Immortality

    Mr Immortality New Member

    <span class="et-pb-icon" style="font-size: 1em;}">9 </span></p> basically want to change the 9 to a 7 on click within a text module so that the right arrow changes to a down arrow, any ideas how to do this?
     
    1. PRO MEMBER PERKS Divi Mini Cart Pro Plugin - Instantly add 3 different types of mini cart to your Divi site:Learn More
  2. Mr Immortality

    Mr Immortality New Member

    I know it involves jquery but im having trouble targeting the class, i've tried adding an extra class and using css to rotate it but to no avail so I thought there was maybe a solution using jquery to change the 9 to a 7 on click which would change the icon, any help much appreciated
     
  3. Divi.Help

    Divi.Help Administrator
    Staff Member

    Kindly share your URL.
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Custom Divi Builder header on desktop + default slide in / fullscreen menu on mobile:Learn More