Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #447273

    Hi guys, I’ve Googled this to death and no result that works for me.

    I have some text in a post where I need to write ‘I <heart icon> something’
    Using the icon shortcode, I adjusted size etc but it always aligns to left of the ‘I’ !!!!

    I [av_font_icon icon='ue806' font='entypo-fontello' style='' caption='' link='' linktarget=''  block:none; color=''][/av_font_icon] Rhodia because:

    Looking at the styling with an inspector when I disable these items;

    .avia-icon-pos-left {
    float: left;
    margin-right: 0.5em;}
    
    .av_font_icon {
    display: block;
    text-align: center;}
    

    It displays how I want it too!
    Can you help?

    A

    #447872

    Hey sugarwayltd!

    Add this to a codeblock element in the page.

    <style type = "text/css">
    .avia-icon-pos-left {
      display: inline !important;
      float: none !important;
      margin-right: 0px !important;
    }
    </style>

    Best regards,
    Elliott

    #448272

    Thanks worked perfectly!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Fontello Icon inline with text block’ is closed to new replies.