Tagged: cornerstone
-
AuthorPosts
-
August 4, 2016 at 3:31 am #1116927
This 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 #1116961Hey there,
Add
inline
class 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 #1117375Thanks for the help Christian, but that does not work.
I also tried adding
inline
to the class of each individual item, but that also did not work.Any other ideas?
August 4, 2016 at 1:06 pm #1117625Hi 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 #1118167Sorry no that does not work either.
August 5, 2016 at 12:45 am #1118474Hi 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 #1118571This reply has been marked as private.August 5, 2016 at 3:43 am #1118618Hello 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