Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1395016

    Hi guys!
    I need to center the icons as the sample provided via private.
    I’ve created this class but didn’t work,
    .social-buttons img{
    float:left;
    }

    can u help me please?

    Regards, Santiago

    #1395022

    Hi Santiago,

    Please add this CSS code in Enfold > General Styling > Quick CSS:

    .page-id-99 #av_section_3 .avia-builder-el-last {
        text-align: center;
    }
    
    .page-id-99 #av_section_3 .avia-builder-el-last .av_font_icon {
        display: inline-block;
        float: none;
        margin-left: 4px;
        margin-right: 4px;
    }

    Best regards,
    Nikko

    #1395047

    Hi Nikko, thank you very much for your help.
    It works, but please could you tell me the rule to center the icons placed on the left column, like the ones below “The Butcher and Barrel” image.

    Regards
    Santiago

    #1395064

    Hi Santiago,

    I see, please do the following:
    1. Edit all the columns that you want to center the icons (including the one that was fixed) and go to Advanced > Developer Settings > Custom CSS Class and put center-icons
    2. Go to Enfold > General Styling > Quick CSS, remove the last code I gave and replace it with:

    #top #main .center-icons {
        text-align: center;
    }
    
    #top #main .center-icons .av_font_icon {
        display: inline-block;
        float: none;
        margin-left: 4px;
        margin-right: 4px;
    }

    If you want to use it on another page, you simply do step #1.
    I hope this helps.

    Best regards,
    Nikko

    #1395155

    Hi Nikko, thanks for your response.

    I did what you’ve suggested but it doesn’t work

    Link via private

    Regards
    Santiago

    #1395173

    Hi Santiago,

    I have checked the page and I noticed that center-icons Custom CSS Class was put on the icons instead of the column.
    Please put it in the 1/2 column where the icons are placed and that should work.

    Best regards,
    Nikko

    #1395177

    Great Nikko, it works!

    Thanks so much and have a nice day!

    Santiago

    #1395179

    Hi Santiago,

    I’m glad that we could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Align icons’ is closed to new replies.