• Resolved curry86

    (@curry86)


    Hi Mike,

    I like to change from some button the color, but when I do it in Costomizer than the color of all buttons will be changed. I try already “button_color” in the shortcode but it didn’t work.
    Is there an possibility to change a button color without changing the color of all the buttons?

    Thanks for your time

    Cor

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author iseardmedia

    (@iseardmedia)

    Hi Cor,

    At the moment it is only possible to change button colours for the entire plugin, you can of course use css to manually target individual buttons but that can be a bit technical if you are not used to it.

    In the upcoming release however this can be done per campaign instead of globally.

    If you are comfortable with a bit of CSS and HTML I am happy to explain how to do this in WordPress to target specific buttons.

    Kind regards,
    Mike

    Thread Starter curry86

    (@curry86)

    Hi Mike,

    Yes that will be great when you can guide me to change the color of the button by using CSS and HTML.

    Kind regards,

    Cor

    Plugin Author iseardmedia

    (@iseardmedia)

    Hi Cor,

    The first thing to do is to add a div to wrap the shortcode in, giving it a unique ID. For example, you currently have something like:

    [kudos campaign_id="default"]

    So replace it with:

    <div id="my-unique-id">[kudos campaign_id="default"]</div>

    Then go to the customizer and select add additional CSS (Extra CSS in Dutch). For the CSS you will need to add the following code:

    #my-unique-id button {
      background-color: #ff0c00 !important;
    }

    Of course you can change the color to what you like!

    Hope it works and let me know how it goes.

    Kind regards,
    Mike

    Thread Starter curry86

    (@curry86)

    Hi Mike,

    Sorry for my late reply.

    Thanks for the clear explanation and the most important thing is that it works.

    Thanks again for the great support.

    Kind regards,
    Cor

    Plugin Author iseardmedia

    (@iseardmedia)

    No problem Cor, glad it works!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing Button color’ is closed to new replies.