Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2637359
CSS Class in button shortcode
Closed

Comments

  •  1
    Björn started the conversation

    Hi, 

    is it possible to add a CSS class to into the shortcode of the compare button, e.g.  [wooscp id="99" class="test"] to style every button individually?


    Best regards

    Björn

  •  767
    Janilyn replied

    Hi Björn,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  153
    Henry replied

    Hi Björn,

    Currently we do not provide this feature, you can use the parent's class feature.

    <span class="test">[wooscp id="99"]</span>

    with php:

    echo '<span class="test">'.do_shortcode('[wooscp id="99"]').'</span>';

    Best regards,
    Henry N.