New Landing How can we help? Themeforest Theme Support Dante Centering Icon & Color Change

Tagged: , , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #222651
    wizastudios
    Member
    Post count: 67

    Hi Guys

    I’m trying to make an arrow to scroll below the fold. Now my main problem appears to be the icon centering. I have it aligned to the center but it remains to the left. Also I wondered if there was a way to change the fill color?

    Attachments:
    You must be logged in to view attached files.
    #222694
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .sf-icon-cont.sf-icon-icon-one {
        text-align: center !important;
        margin: 0 auto !important;
    }

    Thanks
    Mohammad

    #222913
    wizastudios
    Member
    Post count: 67

    Awesome, thanks. Is there any reason it’s not centering? I’d like to prevent it in the future.

    #222926
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    It will not come in future after using this code.
    Thanks
    Mohammad

    #222985
    wizastudios
    Member
    Post count: 67

    What if I change the color?

    #222989
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Sorry, didn’t understood your question.
    Can you explain further?

    -Rui

    #223005
    wizastudios
    Member
    Post count: 67

    Well I figured it out by looking further into the CSS code you guys gave me. When using the icon shortcode’s color options such as “accent”, “secondary-accent” or “icon-one” the CSS Muhammed gave me would have to change to reflect the selected option. Right now I have it as “icon-two” with his CSS class changed to that class selector.

    Was the “text-align:center” necessary from a bug or something not added to the Dante theme? I was curious to know because if I add a similar button to other pages I may have to use the same class selector moving forward.

    #223261
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    If you remove the text-align:center you should not have any effect from what I can see.

    – David.

    #234654
    wizastudios
    Member
    Post count: 67

    I decided to remove it because the circle was getting cut off my the edge of the parallax image.

    #234684
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Its ok.
    Thanks
    Mohammad

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

You must be logged in to reply to this topic.