How To Add A Clickable Icon Button To A Divi Blurb Module

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 15

  • @KathrynEngland
    @KathrynEngland 2 роки тому

    Thanks!

  • @narayanbiswas2078
    @narayanbiswas2078 3 роки тому +2

    Thanks man ❤❤❤ Love From Bangladesh ❤

  • @alejandro12692
    @alejandro12692 3 роки тому +1

    Very helpful man thanks

  • @caseytruman9782
    @caseytruman9782 Рік тому

    Thank you for the tutorial.
    do you have a tutorial on adding two clickable buttons within the blurb module?

    • @PeeAyeCreative
      @PeeAyeCreative  Рік тому

      I do have one about adding a button, and you could use that to add two with the same method.

  • @aniketjoshi7518
    @aniketjoshi7518 3 роки тому

    This is cool. Can I add customised button in blurb, like 'read more or click here'.
    And can you create video on how you did that copy to clipboard button in your blog.
    Thanks man 👍🤘

    • @PeeAyeCreative
      @PeeAyeCreative  3 роки тому +1

      Yes I have another one scheduled for a regular buttim in the Blurb content. The copy to clipboard is a specific customization to the code snippet module that I am using, so it would not be relevant unless that is used.

    • @aniketjoshi7518
      @aniketjoshi7518 3 роки тому +1

      @@PeeAyeCreative hey man thank you, you are really life saver. 🤘👍

  • @selectanimation
    @selectanimation 3 роки тому

    Thanks, for the nice tutorial. (y)
    Can you please help to add active or focus function instant of hover...
    Actually, I would like to make something when the user clicks on the blurb then it should change the color of icon(arrow).

    • @hemantgaba5815
      @hemantgaba5815 3 роки тому

      First please go to the Blurb Module Settings > Advanced > CSS ID & Classes and give a custom class to the blurb. For example, the custom class that you have given is pa-blurb.
      After that go to the Divi > Theme Options > Integrations and place the code given below in the panel:
      jQuery(document).ready(function(){
      jQuery(".pa-blurb").each(function(){
      jQuery(this).on("click", function(){
      jQuery(this).find(".et-pb-icon").css("color", "#F9E843");
      });
      })
      });
      You can change the color code in the above code to get your desired color when someone clicks the blurb. One thing to note here is this color change will only stay if the page is not refreshed and if the page is refreshed after changing the color then the changed color will get back to the default color.

    • @PeeAyeCreative
      @PeeAyeCreative  3 роки тому

      You can always use "active" instead of "hover" at any point.

  • @chiefkibitzer9419
    @chiefkibitzer9419 3 роки тому +1

    👍👍