Site logo

Archived topic

hello, how to midify the default font-familiy ?

7 replies · Started by Tina on June 24, 2021

Viewing posts 1–8 of 8

My question is:

In the text editor, when changed the font-family (georgia) to Arial, there will be a lot of span codes sticked on the each paragraph.
like this:

<span style="font-family: arial, helvetica, sans-serif;">....... </span>
<span style="font-family: arial, helvetica, sans-serif;">....... </span>
<span style="font-family: arial, helvetica, sans-serif;">....... </span>
<span style="font-family: arial, helvetica, sans-serif;">....... </span>

But I found that's not the case if I used the default font style (georgia).

So, I was wondering it should be OK if I changed the wordpress's default font-family to Arial.
But i don't know where to modify the default font-family.

please help..

GeneratePressVersion: 3.0.3

Hello. thank you for your help.

But it still doesn't work after following your steps.

there are many many span code if I change the font to Arila. But the default font style (georgia) is OK, however, I don't like the georgia style. I like the Arila. how can I fix this? I think changing the wordpress default font may fix this issue.

<span style=”font-family: arial, helvetica, sans-serif;”>……. </span>
<span style=”font-family: arial, helvetica, sans-serif;”>……. </span>
<span style=”font-family: arial, helvetica, sans-serif;”>……. </span>
<span style=”font-family: arial, helvetica, sans-serif;”>……. </span>

there are many many span code if I change the font to Arila. But the default font style (georgia) is OK, however, I don’t like the georgia style. I like the Arila. how can I fix this? I think changing the wordpress default font may fix this issue.

After setting the font family on the customizer, don't set any font on the span elements. It should automatically inherit what's on the customizer through the inline stylesheet.

If I may suggest, consider dropping the Classic editor to avoid this issue entirely and start using Block Editor. WordPress itself plans to obsolete Classic editor. Its end-of-life is on December 2021. :D

Thank you, i've fixed it with your guides.

Another quesiton:

I want to add a sidebar for each post. there two parts in this sidebar. The top part has 10 posts that must be fixed,
and the bottome part displays the recent posts.

I know how to add the sideber that displays the recent posts, but I don't know how to add a fixed posts in the sidebar.

I know how to add the sideber that displays the recent posts, but I don’t know how to add a fixed posts in the sidebar.

You'll need a plugin for that as this will require custom query that displays a post list depending on what you need.

please recommend what plugin can meet my need.

please recommend what plugin can meet my need.

Depending on how you structure the "top 10", you can try using WPSP.

But you may also need to configure a few things or write a few codes to make sure the top 10 posts are in the order you prefer.

Not sure if there are post list plugins that serves this innately. You may have to search a bit more about this.

This archived topic is closed to new replies.