New Landing How can we help? Themeforest Theme Support Dante Make Icon Start Solid White

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #116715
    tsimarketing
    Member
    Post count: 267

    On one of the pages of our website I have four icons that are on top of a parallax image. Right now they start off clear with white outlines then when you hover over them they become solid white. My supervisor was wondering if I could make them start off sold white and then when you hover over them they become clear with white outlines? But I would only want this done to this specific section. I have attached a screenshot of the section I’m talking about.

    Attachments:
    You must be logged in to view attached files.
    #116738
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Try adding this to your custom css:

    .sf-icon-icon-four .sf-icon-cont {
      background-color: #ffffff;
    }
    .sf-icon-icon-four:hover .sf-icon-cont {
      background-color: transparent!important;
    }
    .sf-icon-cont.sf-icon-icon-four .sf-icon {
      color: #6caae4;
    }
    .sf-icon-cont.sf-icon-icon-four:hover .sf-icon {
      color: #ffffff;
    }

    If it doesn’t work try adding !important to all of the properties

    – Kyle

    #116741
    tsimarketing
    Member
    Post count: 267

    Yes, that worked! Thanks!

    #116743
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great, no problem

    – Kyle

    #116748
    tsimarketing
    Member
    Post count: 267

    Is it possible to do the same thing to the modal button right below those icons? But just to that modal and not the other modals on the page?

    #116750
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You should just use a white button instead of the transparent button

    – Kyle

    #116752
    tsimarketing
    Member
    Post count: 267

    Yeah I tried that but the text on the modal is black instead of the light blue. Is there a way to change the text color?

    #116753
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    That’s odd, the button color should not effect the modal content. Can you please put both on the page so I can see the difference?

    – Kyle

    #116756
    tsimarketing
    Member
    Post count: 267

    Okay I put both on the page. I wasn’t talking about the modal content, that didn’t change. The text on the modal button is black and I would like it to be the light blue I’ve been using.

    #116758
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try adding this:

    a.sf-button.white, a.sf-button.white:hover {
      color: #6caae4!important;
    }

    – Kyle

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

You must be logged in to reply to this topic.