#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Font styling of for...
 
Share:
Share
Tweet
Share
Notifications
Clear all

Font styling of forum and site profiles

    Last Post
RSS

LifeGrinder
Posts: 7
 LifeGrinder
Topic starter
February 7, 2019 4:26 am
(@lifegrinder)
Active Member
Joined: 3 years ago

Is there a way to change ALL text, everything you see in the forum and in the site profile, all to 1 font?

1 Reply
CrisW
Posts: 281
 CrisW
February 7, 2019 5:30 am
(@crisw)
Reputable Member
Joined: 4 years ago

Yes.  If there's a will there's a way.  🙂  I also changed my forum's font to 1 font. 

But that is not changed from within wpForo, but changed on your own WP Theme file.  You would have to tweak your WP theme files to do that (your WP theme's css file, just change the "font-family" part). 

OR you can also hardcode it on the WP theme's "header.php" file.  That's what I did since I made my own WP theme.  🙂 

NOTE:  Please back up your php file first, in case you want to tweak your WP theme file, so you can go back to it, if in case it doesn't work for your own WP theme. 

A useful command to memorize and remember ALSO is Control Z = which is UNDO, so in case you mess up any code, just do not close the opened tab that you are working on, and it will revert to the former state.  🙂

Another disclaimer, I have very minimal plugins on my site, so I would know which are conflicting plugins, less is more, for me.  🙂 ) 

So try the code below at your own risk.  I'm just sharing what worked and works for me, in the hope of helping.  🙂 

All that being said .. here's my "How" I changed my Forum and WP website's font to 1 font: 

As an example, if I wanted to change the font to "Roboto" (or "Arial" as a back up font, if other viewers can't be shown Google's Roboto font)

On your WP Dashboard, 

  1. Go to "Appearance"
  2. Then Editor
  3. Select theme to edit
  4. then under "Theme Files"
  5. Select "Theme Header" (header.php)
  6. Then, add the code below the <head> area:
<head>

<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">

body, h1, h2, h3, h4, h5, h6, p {
font-family: "Roboto", "Arial", sans-serif;
}

</head>

And that should change the fonts for the website (body), the headings (h1, h2, h3, h4, h5, h6), and the paragraphs (p)

I hope that helps.  Let me know if it works.  It worked on my site and forum.  Good luck and God bless you.  🙂  

 

I'm just a member here who used to be a newbie.

The case: When I actually put my keyboard where my forum is, and became #172. Can you imagine if you had to build this forum yourself? How kind and patient will you be? The best way to say thank you is say it, write it, and then head on over at Wordpress plugin page and rate wpForo 5 stars - by clicking here.

Reply
  All forum topics
  Previous Topic
Next Topic  

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Suggestion How to make new user to get approve manually before creating post and profile.

    By Adhyansh21, 15 hours ago

  • Posts deleted in database still show up on front-end

    By nylex, 17 hours ago

  • Not all links are automatically added with the "nofollow" attribute

    By st7878, 20 hours ago

  • Editors assign users to groups

    By mike_netinfo, 22 hours ago

  • Set password link opens forum login page instead of set password page

    By JanJan, 22 hours ago

  • User banned for using icons?

    By JanJan, 22 hours ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • editor33
  • menu33
  • spam32
  • shortcode32
  • forum accesses30
  • widget29
View all tags (2190)

Recent Posts

  • RE: recover deleted forum categories

    I didn't delete the categories on the forum, just did s...

    By Asmadi1, 7 hours ago

  • recover deleted forum categories

    hi I need help, I accidentally deleted categories and f...

    By Asmadi1, 8 hours ago

  • RE: Not all links are automatically added with the "nofollow" attribute

    I have no idea, i guess not.

    By dimalifragis, 8 hours ago

  • RE: How to make new user to get approve manually before creating post and profile.

    Thanks again

    By Adhyansh21, 12 hours ago

  • RE: Posts deleted in database still show up on front-end

    Ok then, wait until someone from wpForo support will he...

    By dimalifragis, 15 hours ago

  • RE: Set password link opens forum login page instead of set password page

    Hi @janjan, Go to Dashboard > Forums > Settings...

    By Chris, 19 hours ago

  • RE: Editors assign users to groups

    Hi @mike_netinfo, Only administrators can change user...

    By Chris, 20 hours ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,933 Topics
50.2 K Posts
9 Online
48 K Members

Latest Post: recover deleted forum categories Our newest member: Eczema Pictures - Why Efas Are... Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation