• Resolved andrewfs125

    (@andrewfs125)


    Hi,

    After updating to 2.0 there is a problem displaying the icons with css pseudo element :before in my lists.

    Before the update there was no problem.

    li.check {
    	list-style-type: none;
    	font-size: 18px;
    	margin: 0.1rem;
    	color: #FFFFFF;
    }
    
    li.check:before {	
      content: '\f00c';
      font-family: 'FontAwesome';
      float: left;
      margin-left: -1.5em;
      color: #FFFFFF;
    }

    I’ve solved it temporarily by switching to Font Awesome’s own WP plugin.

    Rgz

    Andrew

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same issue for me with 2.0 — and I use FA pseudo elements on dozens of sites.

    I’ve tried with and without v4 shim, and with and without ‘Attempt to remove [other FA]’ setting. De-/re-activated plugin. Icon doesn’t display.

    Plugin Author Mickey Kay

    (@mcguive7)

    Thanks for sharing @dking64 and @andrewfs125, can y’all please share the following info so that I can take a closer look:

    • The URL for the page you’re seeing this behavior on on your site
    • The exact CSS you’re using (thanks @andrewfs125 for already doing this)

    Thanks you two, and apologies for any inconvenience. I’ll try to get to the bottom of this ASAP.

    Thread Starter andrewfs125

    (@andrewfs125)

    Hi,

    On one website, which is still under construction, i’ve switched back to BFA 2.0.

    https://spoedontruimers.nl/

    li.check {
    	list-style-type: none;
    	font-size: 18px;
    	margin: 0.5rem;
    	color: #666;
    }
    
    li.check:before {	
      content: '\f00c';
      font-family: 'FontAwesome';
      float: left;
      margin-left: -1.5em;
      color: #3c763d;
    }
    li.square {
    	list-style-type: none;
    	font-size: 18px;
    	margin: 0.5rem;
    	color: #666;
    }
    
    li.square:before {	
      content: '\f0da';
      font-family: 'FontAwesome';
      float: left;
      margin-left: -1.5em;
      color: #3c763d;
    }

    The three lists on the homepage show squares and not the intended icon.

    Thanks!

    Andrew

    Thanks for looking into it, Mickey.

    I’ve used angle right and angle left a lot for links; the latter for ‘back’ links as on this page (in the breadcrumb location): https://bit.ly/38oOxnS

    a.back::before {
    content:”\f053″;
    display:inline-block; /* no underline on hover */
    position:relative;
    top: -1px;
    margin-right: 2px;
    color: #b2292e;
    font-family: FontAwesome;
    font-size: .7em;
    line-height: .8em;
    }

    Plugin Author Mickey Kay

    (@mcguive7)

    Hi all – thanks so much for the rapid feedback. Thanks to your help, I believe I’ve got a fix all set for you. Please see https://wordpress.org/support/topic/2-0-1-released-fixes-hard-coded-missing-v4-icons/ for all the details.

    Thanks again!

    Thread Starter andrewfs125

    (@andrewfs125)

    With update 2.01 the problems are now solved on my websites.

    Thanks!

    Thread Starter andrewfs125

    (@andrewfs125)

    Thanks!

    2.0.1 works for me too. Thanks Mickey!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Display Icon With pseudo css :before’ is closed to new replies.