Tagged: cornerstone
-
AuthorPosts
-
August 4, 2016 at 3:31 am #1116927
thecashbagParticipantThis is how the “icon list” element currently works:
[icon][some text]
[icon][some text]
[icon][some text]But I want to make a list like this:
[icon][some text] [icon][some text] [icon][some text]
How do I do that?
I have tried adding “display: inline;” and “”display: inline-block;” to the style tag, but it does not work.
August 4, 2016 at 4:09 am #1116961
ChristianModeratorHey there,
Add
inlineclass to your Icon List element (see attachment). There’s an inline list style in X so it’ll work out of the box (see attachment)Hope that helps. 🙂
August 4, 2016 at 10:15 am #1117375
thecashbagParticipantThanks for the help Christian, but that does not work.
I also tried adding
inlineto the class of each individual item, but that also did not work.Any other ideas?
August 4, 2016 at 1:06 pm #1117625
JoaoModeratorHi There,
Try putting your icons in text in different text elements.
and type on the style box of column where your txt elements are placed :
float: right;Hope it helps
Joao
August 4, 2016 at 8:16 pm #1118167
thecashbagParticipantSorry no that does not work either.
August 5, 2016 at 12:45 am #1118474
RadModeratorHi there,
There could be another elements in between, or maybe line breaks. Would you mind providing your site’s URL that has these icons?
Thanks!
August 5, 2016 at 2:42 am #1118571
thecashbagParticipantThis reply has been marked as private.August 5, 2016 at 3:43 am #1118618
Rue NelModeratorHello There,
Thanks for providing the information. To resolve your issue and display the list icons in this format:
[icon][some text] [icon][some text] [icon][some text]Please edit your page in Cornerstone and insert the following custom css in the settings tab, Settings > Custom CSS
.x-ul-icons .x-li-icon { display: inline-block; margin-left: 2.5em; } .x-ul-icons .x-li-icon:first-child, .x-ul-icons .x-li-icon:nth-child(1) { margin-left: 0; }
If there’s anything else we can help you with, please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1116927 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
