-
AuthorPosts
-
January 25, 2023 at 2:16 am #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
January 25, 2023 at 3:25 am #1395022Hi 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,
NikkoJanuary 25, 2023 at 5:08 am #1395047Hi 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
SantiagoJanuary 25, 2023 at 7:35 am #1395064Hi 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,
NikkoJanuary 25, 2023 at 3:16 pm #1395155Hi Nikko, thanks for your response.
I did what you’ve suggested but it doesn’t work
Link via private
Regards
SantiagoJanuary 25, 2023 at 3:49 pm #1395173Hi 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,
NikkoJanuary 25, 2023 at 3:56 pm #1395177Great Nikko, it works!
Thanks so much and have a nice day!
Santiago
January 25, 2023 at 3:57 pm #1395179Hi Santiago,
I’m glad that we could help you :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Align icons’ is closed to new replies.