New Landing How can we help? Cardinal Modal from text in footer

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Cardinal
  • #142240
    George
    Member
    Post count: 235

    Hi guys,

    I’m looking to put a modal in my footer area but want text only and no button.

    How can I achieve this?

    Thank you!

    #142267
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please put there modal button at footer and provide me website url. I will give some code to make it simple text.

    Thanks
    Mohammad

    #142535
    George
    Member
    Post count: 235

    Hi Mohammed,

    I have a modal in my footer @ http://www.events.com.au

    #142607
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    #footer a.sf-button.white{
    background:transparent !important;
    border:none !important;
    color:#fff !important;
    }
    
    #footer a.sf-button.white:hover{
    background:transparent !important;
    border:none !important;
    color:#fff !important;
    text-decoration:underline !important; 
    }
    

    Thanks
    Mohammad

    #142609
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

    #footer a[data-toggle="modal"] {
      background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
      color: #ffffff !important;
      font-size: 18px;
      font-weight: normal;
      margin: 0;
      padding: 0;
    }

    – Kyle

    #142848
    George
    Member
    Post count: 235

    Hi Kyle,

    Thanks for that! It works well – genius.

    On the bottom there’s still a hidden background and some margins, would it be possible to make the modal have properties the same as a normal text link? I.e. color on hover and inline etc?

    #142889
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add:

    #footer a[data-toggle="modal"]:hover {
      color: #efefef !important;
    }

    The space is because you have 2 line breaks after your other links

    – Kyle

Viewing 7 posts - 1 through 7 (of 7 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