Endangered-Language-Alliance / ela-website

Endangered Language Alliance website
1 stars 0 forks source link

Mix of inline-style fonts in WP content #9

Closed abettermap closed 3 years ago

abettermap commented 3 years ago

problem

some posts have styles inlined like this:

image

which causes erratic fonts:

image

it's actually on the main site too, but the fonts (Arial and Arimo) are similar enough that you'll miss it unless you look at certain chars, like 1:

image

image

soln

this isn't something i'm going to address in the code, so @rperlin-ela if you want to do find/replace on the wp content site:

  1. search for <span style="font-family: arial, helvetica neue, helvetica, sans-serif;">
  2. replace with <span>
rperlin-ela commented 3 years ago

Thanks. Just want to double-check: does this look like the right setup?

Screen Shot 2021-05-14 at 8 37 18 PM
abettermap commented 3 years ago

I think only wp_posts table is needed.

Also be careful of our old friend, trailing spaces! It's way too easy to paste in text, depending on how it was copied, and end up with an unwanted space or newline at the end.

I try to get in the habit of clicking into the end of the field and deleting or backspacing until the cursor ends up at the final character. if that makes sense. 

rperlin-ela commented 3 years ago

Deed seems done, thanks