New Landing How can we help? Themeforest Theme Support Dante Is it possible to have a modal button be icon reveal?

Viewing 15 posts - 1 through 15 (of 15 total)
  • Posted in: Dante
  • #54344
    mgma
    Member
    Post count: 136

    Is it possible to have a modal button be icon reveal? The option is there, although no icon choice. But wondering if there’s a way to create the shortcode?

    Thanks

    #54422
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Thanks for noticing this, I will feed this back to the developer and hopefully be able to provide a fix.

    – Kyle

    #54428
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You need to add the icon manually, add btn_icon=”ss-cursor” after the btn_size property and it should work. Obviously you can change the icon.

    – Kyle

    #54720
    mgma
    Member
    Post count: 136

    Thanks. Had tried that. The button slides over a bit, but shows no icon.

    #54756
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I also tried it and it worked, please paste the shortcode that you are using so I can take a look.

    – Kyle

    #61817
    crease
    Member
    Post count: 101

    This has worked for me… Thanks.

    Is it also possible to have a dropshadow to match other buttons?

    #61922
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add ‘dropshadow’ to the class ๐Ÿ™‚

    – Kyle

    #61929
    crease
    Member
    Post count: 101

    As in:

    class=”dropshadow”

    Or do you mean in the style sheet? Adding (class=”dropshadow”) to the modal shortcoide didnt work for me.

    This is the shortcode I have:

    [sf_modal header=”X” btn_colour=”transparent-light” btn_type=”sf-icon-reveal” btn_size=”standard” btn_icon=”ss-file” btn_text=”X” class=”dropshadow”]

    #61934
    Melanie – SUPPORT
    Member
    Post count: 11032

    Yep, does it work now?

    #61935
    crease
    Member
    Post count: 101

    Also tried:
    [sf_modal header=”x” btn_colour=”transparent-light” btn_type=”sf-icon-reveal” btn_size=”standard” btn_icon=”ss-file” btn_text=”x” dropshadow=”yes”]

    adding dropshadow=”yes” like the button shortcodes. Which is what I think you meant. Still didn’t work.

    #62596
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi there

    The correct shortcode is:

    [sf_modal header="" btn_colour="accent" btn_type="sf-icon-reveal" btn_size="standard" btn_icon="ss-cursor" btn_text="Button text"]
    ENTER THE MODAL BODY HERE
    [/sf_modal]

    You can change the icon in the btn_icon property.

    Hope this helps

    – Kyle

    #62599
    crease
    Member
    Post count: 101

    Thanks Kyle, BUT I have the modal button working… I just cant seem to get the dropshadow to work to match other standard buttons.

    #62633
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    By default you can’t add the dropshadow to a modal button, however try this custom css:

    .sf-button[data-toggle="modal"] {
      box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
    }

    – Kyle

    #62690
    crease
    Member
    Post count: 101

    Perfect Thanks. Just what I needed.

    #62692
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem! ๐Ÿ™‚

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register