-
AuthorPosts
-
May 8, 2015 at 10:57 pm #269492
AntoineParticipantI’ve got a problem with the spacing in an icon list. I’d like to:
1. Reduce the spacing between the lines of a same icon item list
2. Align the different lines (there is a small spacing at the moment)See the screenshot for more details:

How to do the change?
Thanks for your help!May 8, 2015 at 11:12 pm #269501
LelyModeratorHello Antoine,
Thanks for giving us the screenshot with clear information of what you want to achieve here. please add the following code in your Customizer via Appearance > Customize > Custom > CSS:
#x-content-band-1 .x-ul-icons li { line-height: 1; margin-bottom: 20px; }Hope this helps.
Thanks.May 8, 2015 at 11:17 pm #269506
AntoineParticipantThanks so much for the really fast response!
The CSS solves the spacing between the lines (in red on my screenshot) but doesn’t solve the alignment at the beginning of the lines (in blue in my screenshot).
Do you have another solution?
May 8, 2015 at 11:53 pm #269523
LelyModeratorHello Antoine,
Please also add the following CSS:
#x-content-band-1 .x-ul-icons li .x-icon-check{ margin-left: -10px; margin-right: 10px; } #x-content-band-1 .x-ul-icons li span{ margin-left: -13px; }Hope this helps.
Thanks.May 9, 2015 at 12:37 am #269530
AntoineParticipantIt works like a charm. Thank you so much, your support is amazing!
May 9, 2015 at 12:47 am #269534
FriechModeratorGlad we could help, Cheers!
May 27, 2015 at 6:36 am #282842
AntoineParticipantI am trying to do some Icon lists with different icons but the spacing between the icons and the words and the alignment of the icons doesn’t work :it works actually fine when I use only the “ckeck” icon, but I’d like to be able to use different icons. Here it how it looks like:

What should I change to make it work?
URL: http://www.paleoflaneur.com/discover-paleo/get-started-today/
May 27, 2015 at 6:56 am #282860
ThaiModeratorHi There,
Please try adding following CSS:#x-content-band-1 .x-ul-icons li i{ margin-left: -10px; margin-right: 10px; }Hope it helps.
May 27, 2015 at 6:46 pm #283598
AntoineParticipantIt works like a charm. Thanks.
May 27, 2015 at 9:53 pm #283839
ChristianModeratorYou’re welcome. Glad we could help.
May 28, 2015 at 10:29 pm #285359
AntoineParticipantEDIT: I managed to solve the problem I had.
May 29, 2015 at 4:55 am #285679
LelyModeratorGlad that you figure it out.
Let us know if you have questions in the future. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-269492 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
