Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #715831

    Hi there!
    Is it easy to do the following with a standalone icon via CSS only? I want to be able to add a caption so would like to use the standalone option because the inline option does not allow a caption:

    – remove circle border
    – align left
    – align caption left

    Thanks!

    #716492

    Hey jaroljmek,

    Can you please post a screenshot and show the changes you would like to make? You can upload your screenshots on imgur.com or Dropbox public folder and post the links here

    Best regards,
    Yigit

    #716540

    Hi Yigit

    Thanks for getting back to me. Here is a screenshot annotated:

    https://dl.dropboxusercontent.com/u/25523105/standalone-icon.png

    Basically I just want to align Icon and Caption left and remove the circle border when using a Standalone Icon. (If I use an inline Icon there is not option for a Caption and I need the caption.)

    I hope this is clear. Here is the page:

    Thanks

    Christian

    #716694

    Hi,

    Please try the following in Quick CSS under Enfold->General Styling:

    .page-id-1889 a.av-icon-char {
        float:left !important;
        border-color: transparent !important;
    }
    
    .page-id-1889 a.av-icon-char span {
        display: inline-block !important;
        text-align: left !important;
    }

    Best regards,
    Rikard

    #717261

    Hi Rikard

    Thanks a lot for that.

    The icon aligns left nicely. However, the text is still centred and to the right of the icon. Is it possible to align text left and ensure it appears underneath the icon.

    Sorry to hassle!

    Thank you.

    Christian

    #717268

    Hi!

    Try the following CSS
    .av_font_icon a { width: 200px; }
    and that will do fix the issue for you.

    Let us know if we can help further

    Regards,
    Basilis

    #717449

    Hi Basilis

    Thanks for that fix. It does place the icon above the text but both are now centred again!

    Am I doing something wrong? It would really be great to be able to align icon and text left.

    Thanks!

    Christian

    #717580

    Hi,

    Please try this as well:

    .page-id-1889 .av_icon_caption {
      text-align:left !important;
    }

    Best regards,
    Rikard

    #717757

    Hi Rikard

    Nearly but not quite!! The caption is left aligned but the icon is still centred.

    This is the CSS currently in place:

    .page-id-1889 a.av-icon-char {
    float:left !important;
    border-color: transparent !important;
    }
    .page-id-1889 a.av-icon-char span {
    display: inline-block !important;
    text-align: left !important;
    }
    .page-id-1889 .av_font_icon a {
    width: 200px !important;
    }
    .page-id-1889 .av_icon_caption {
    text-align:left !important;
    }

    Hope we can resolve this one. Thanks!

    Christian

    #718689

    Hi,

    you could move your icon to the left with this code:

    a.av-icon-char {
    left: -106px;
    }

    Adjust as needed.

    Best regards,
    Andy

    #718714

    Hi Guys

    You might be interested to see my solution to placing Standalone Icon + Caption to the left:

    .av_font_icon.av-icon-style-border .av-icon-char {
    padding: 0px;
    }
    .av_font_icon {
    display: block;
    text-align: left;
    }
    #top .av_font_icon a {
    display: inline;
    }
    .av_icon_caption {
    display: block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3em;
    margin-top: 20px;
    text-align: left;
    text-transform: uppercase;
    }

    Works well!

    You can close this thread now

    Thanks

    Christian

    #719119

    Hi Christian,

    Thanks a lot for sharing, much appreciated :-)

    Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Standalone Icon left align?’ is closed to new replies.