Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #736955

    Hi

    I wish to position an icon list in the center of a column. Tried tweaking CSS, but drawn a blank. Can you assist?

    Best wishes

    Duncan

    #736960

    Hi dweddell!

    Please add the following Custom CSS

    .avia-icon-list-container { text-align: center !important; }

    and let us know if that works out for you.

    Thanks a lot

    Cheers!
    Basilis

    #737222

    Hi Basilis

    I’m look to get the entire list to center, including the list icons. Can this be done?

    cheers

    Duncan

    #737337

    Hi,

    We love to help you with this modification. It appears you already sorted this one out? However if you like to center the text since the icons are being added as a pseudo element the icons will not be centered. If you still like to center the icons list text please try the below css

    .avia-icon-list {
        text-align: center!important;
    }

    Best regards,
    Vinay

    #738298

    Hi

    Sorry to be a pain, but this is not working. Essentially, I want to center the entire icon list element in the middle of a column, rather than being aligned to the left. You’ll see code provided, is leaving icons to the left. whilst text is centered.

    kind regards

    Duncan

    #738379

    Hey!

    I’m sorry to say but the pseudo elements cannot be aligned in relationship with the text this is a browser limitation.

    If you like to align the icons with respect to the list item text please add the icons as a image in front of the text and give it a custom classname and style them using css.

    Let us know if you need any help with that.

    Cheers!
    Vinay

    #738408

    ok, thanks

    what css would you use for using images rather than icons?

    kind regards

    Duncan

    #739211

    Hey!

    The html and css code should look similar to below

    HTML:

    <li> <img class="tick-list" src="tick.png" alt="list item"> your list item text </li>
    

    Once the image is inserted as a html it should work fine.

    If you still have any issue add the below css in Quick CSS

    .tick-list {
    display:inline-block!important;
    margin-right:10px;
    }

    Let us know if you have any questions, we are happy to help you :)

    Cheers!
    Vinay

    • This reply was modified 7 years, 10 months ago by Vinay.
    #739705

    Thanks

    decided to create a div class for each list using fixed width and auto to center the div

    thanks for your help

    Duncan

    #739840

    Hi,

    Glad we could help!
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Vinay

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘position icon list in center of column’ is closed to new replies.