Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #487115

    Hello,

    I want to add a nofollow attribut and, if possible, a additional class to the promo box button.

    Can you help me how to do it?

    Best regards!

    #487534

    Hi,

    Open /config-templatebuilder/avia-shortcodes/promobox.php and look for line:

    $atts['position'] = 'right';
    

    Replace it by this:

    $atts['link_target'] .= 'nofollow';
    

    Regards,
    Josue

    #487684

    Thank you! :)

    Is it also possible to add a class to the links? I want to track events for the class of the link.

    #487954

    Hi!

    Try setting a class to the promobox itself, then you can reference the button like:

    .custom_promobox .avia-button
    

    Best regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.