Okay
  Public Ticket #658919
Button to modal image
Closed

Comments

  • Jonathan started the conversation

    hi, could someone tell me if it's possible to use a nectar button to link to an image in a modal gallery style as you would see when using class="pp center" from raw html. hope that makes sense...

    thanks

  • Jonathan replied

    ok i was able to achieve this using the full html. i.e. -

    <a class=\"nectar-button large extra-color-1 has-icon regular-button pp center\" href=\"#\" data-color-override=\"false\"
    data-hover-color-override=\"false\" data-hover-text-color-override=\"#fff\">TEXT <i class=\"icon-button-arrow\"></i></a>

    if there is a way to do this using shortcake, please let me know.

    thanks

  • Jonathan replied

    or shortcode :p

  •  8,404
    Tahir replied

    Hey ,

    See screenshot: http://prntscr.com/a0o7ve . You can add it next to the color attribute to add a pp class :

    [button color=\"accent-color pp \" hover_text_color_override=\"#fff\" size=\"medium\" url=\"https://www.youtube.com/watch?v=6oTurM7gESE\" text=\"Button Lightbox\" color_override=\"\"]

    Best.


    ThemeNectar Support Team 

  • Jonathan replied

    perfect! i had to use the color override but it works great. thanks!