- This topic has 13 replies, 3 voices, and was last updated 3 years, 4 months ago by Leo.
-
AuthorPosts
-
November 6, 2020 at 3:24 am #1520177Jatin
Hi guys,
I want to set the body font to below. but when i check in the Typography settings i can see the option to select only one font open sans how can i set it to below ?
font: 16px “Open Sans”, Arial, sans-serif;
November 6, 2020 at 4:17 am #1520226JatinExample Site
I want to apply below to my site but using GUI interface not with CSS. i think that should be possible.
And also to overall site not just the body.body, button, input, select, textarea { font-family: "open sans", arial, sans-serif; font-weight: 400; font-size: 15px; } .editor-styles-wrapper .has-medium-font-size, .has-medium-font-size { font-size: 15px; }
November 6, 2020 at 6:14 am #1520379DavidStaffCustomer SupportHi there,
fonts selected in the Customizer simply requests the Google fonts and the CSS they provide. ie.
body, button, input, select, textarea { font-family: "Open Sans", sans-serif; }
Headings, buttions etc are set to Inherit by default so those body styles will also be applied to them.
Changing it to set a different fallback font such as your requirement would need to be done with the CSS you have
November 6, 2020 at 6:27 am #1520393JatinThanks David, I tried this earlier but the issue is font Size which i want to set to 16px but its 20px for now. if i use font-size:16px it does not have any affect on my site. My site is given in the box.
is it not possible via the GUI using theme options ?
Below Changes it but not everywhere. I know i am not using it correctly. so best to check with you on how to change it. I had provided an example site i want to make it similar to that is it not possible.
.editor-styles-wrapper .has-medium-font-size, .has-medium-font-size { font-size: 15px; }
November 6, 2020 at 9:33 am #1520835JatinAny idea how can i set my default font of the site from Source Sans Pro to “open sans”, arial, sans-serif; and Font size to 16px
November 6, 2020 at 9:43 am #1520845LeoStaffCustomer SupportDoes changing the body font in the customizer not work for this?
It’s currently set to this from what I can see:
https://www.screencast.com/t/xLn3A2sGkSorry if I’m missing something here.
You might also want to consider removing
has-medium-font-size
from WordPress’ paragraph block as it’s overwriting the customizer option:
https://www.screencast.com/t/gtrvopfqVNovember 6, 2020 at 9:55 am #1520859JatinI can set it in GUI but not sure where has-medium-font-size is coming from. I do not have it in Custom CSS.
November 6, 2020 at 9:57 am #1520865LeoStaffCustomer SupportI would think it’s coming from here:
https://www.screencast.com/t/ACtta4YMiVpANovember 6, 2020 at 12:45 pm #1521031JatinHi have updated the CSS and font size to 16 pc. Can you please advice if it’s the correct way to do it.
November 6, 2020 at 1:00 pm #1521046LeoStaffCustomer SupportI believe the customizer options would work without any CSS if you are able to choose Default instead of Medium in my screenshot above.
If not then CSS is likely a good method.
November 6, 2020 at 1:36 pm #1521078Jatinchoose Default instead of Medium in my screenshot above. —> You mean on each post ? where should i select Default ?
November 6, 2020 at 1:40 pm #1521081LeoStaffCustomer SupportThat is the setting for the WordPress paragraph blocks.
November 11, 2020 at 5:05 am #1526580JatinThanks
November 11, 2020 at 8:14 am #1527023LeoStaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.