SPECIAL OFFER: Only $59 for access to everything in OSTraining for 1 year! You save $85!  1
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Fonts

3 years 7 months ago #121120 by alison_ew
Fonts was created by alison_ew
Hi,

When I sarted using Wordpress, font sizes came up with pt after the number. Now when picking a font size px comes up after the number. Is there an easy way to change it back. I do not recall having changes it.

Regards,

ALison

Please Log in to join the conversation.

3 years 7 months ago - 3 years 7 months ago #121159 by Valentin
Replied by Valentin on topic Fonts
Hi Alison,

Using pt or px depends on the theme you're using. You can simply override the pt values by adding custom CSS if your theme doesn't include a setting for it: www.ostraining.com/blog/wordpress/simple-custom-css/

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 7 months ago #121211 by alison_ew
Replied by alison_ew on topic Fonts
Hi Valentin

Thank you for your reply. I have not changed my theme at all so why would pt change to px? I have the plugin Custom CSS and JS installed. What code do I need to put in to make the change back to pt?

Regards,

Alison

Please Log in to join the conversation.

3 years 7 months ago #121231 by Valentin
Replied by Valentin on topic Fonts
Hi Alison,

why would pt change to px?

Some theme designers like to use pt instead of px. It's matter of preference.

By using Firebug you can figured out which elements from your site uses pt, and change to px in the Custom CSS plugin.

For example:
.entry-title{
     font-size: 35px;
}

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 7 months ago #121253 by alison_ew
Replied by alison_ew on topic Fonts
Hi Valentin,

I am afraid you have lost me! Could you explain exactly how I go about looking in forefox for the elements using pt, and how to change them in Custom CSS.

Many thanks,

Alison

Please Log in to join the conversation.

3 years 7 months ago #121256 by Nick
Replied by Nick on topic Fonts
Hi Alison,

No problem! We'd be glad to help.

Could you give this tutorial a try?
www.ostraining.com/blog/wordpress/firebug-wordpress-css/

It will walk through the process step-by-step, along with useful images.

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 7 months ago #121258 by alison_ew
Replied by alison_ew on topic Fonts
Hi Nick,

Many thanks for that I will give it a go. I am trying to dinf out the dimessions of my header banner. I am using the Make (child) theme and am struggling to find the answer. Do you have any ideas?

Regards,

Alison

Please Log in to join the conversation.

3 years 7 months ago #121268 by Nick
Replied by Nick on topic Fonts
You're welcome, Alison!

You can use Firebug for that too. You can right click on the banner and it will probably be in the CSS area as a background image. Then you'd right click on the image URL and copy location. Then in a new tab, paste that URL and you'll see the dimensions in the tab.

If you send a link to your page, we can take a look for you.

Looking forward to helping.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 7 months ago #121324 by alison_ew
Replied by alison_ew on topic Fonts
Hi Nick,

I think you may need to take a look for the banner size. I pressed a few buttons in Firefox but could not see what to do. My website is www.myfamilysfavourite food.com. Do you need any other details?

Many thanks,

Alison

Please Log in to join the conversation.

3 years 7 months ago #121326 by Valentin
Replied by Valentin on topic Fonts
Hi Alison,

I don't see a banner in homepage page. May you be more specific if is located in other page?

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 7 months ago #121327 by alison_ew
Replied by alison_ew on topic Fonts
Hi Valentin

I do not have a banner at the moment. I am wanting to import a banner and need to know the size I have avaiable.

Alison

Please Log in to join the conversation.

3 years 7 months ago - 3 years 7 months ago #121341 by Valentin
Replied by Valentin on topic Fonts
Any image will fit the header area if you're doing it through Customize > Background Images > Header




Try with an image 1200px width, 400px height.

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

This message has an attachment image.
Please log in or register to see it.

Please Log in to join the conversation.

3 years 7 months ago #121424 by alison_ew
Replied by alison_ew on topic Fonts
Hi Nick,

Thanks for the link. I had a look through it but it was way over my head. I am trying to work out the and password so you can access my website. I logged onto Wordpress.com but it said I had no websites. When I access my site to make changes I firstly log onto Wealthy Affiliate and then Site Rubix, this then takes me to my Wordpress dashboard. How do I go about getting my website onto the wordpress.com site so you guys can look at things for me?

Many thanks,

Alison

Please Log in to join the conversation.

3 years 7 months ago #121436 by Valentin
Replied by Valentin on topic Fonts
Hi Alison,

Are you trying to move your website to wordpress.com hosting service? Or is already there?

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 7 months ago #121439 by alison_ew
Replied by alison_ew on topic Fonts
Hi Valentin,

No, I am not trying to move my website there. I don't know the best way for you guys to take a look in my website, I thought you did it via wordpress. Which email and password do you need to take a look?

Regards,

Alison

Please Log in to join the conversation.

3 years 7 months ago #121444 by Valentin
Replied by Valentin on topic Fonts
Send us the same user/password you use to login in your site. Also, the site's URL.
Send us the details to support@ostraining.com - include the url of this forum topic in the message, then reply here

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 7 months ago #121491 by alison_ew
Replied by alison_ew on topic Fonts
Valentin,

Sorry to appear dim, but are you needing the username and password that I log into Wealthy Affiliate with. Then the same again for Site Rubix? That is the way I always log into my site.

Many thanks,

Alison

Please Log in to join the conversation.

3 years 6 months ago #121514 by Valentin
Replied by Valentin on topic Fonts
Hi Alison,
I'm asking for the access to the site where you are working these changes.
  • Website url
  • User
  • Password

Hopes this clarification helps

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 6 months ago #121582 by alison_ew
Replied by alison_ew on topic Fonts
Hi

I sent you an email via the link you gave me.

Alison

Please Log in to join the conversation.

3 years 6 months ago - 3 years 6 months ago #121585 by Valentin
Replied by Valentin on topic Fonts
Hi Alison,

I logged in into your site and applied a header as detailed in my previous reply

Change the current header image as explained below:




Let us know if this information was helpful

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

This message has an attachment image.
Please log in or register to see it.

Please Log in to join the conversation.

3 years 6 months ago #121654 by alison_ew
Replied by alison_ew on topic Fonts
Hi Valentin,

Thanks for that. Are you able to have a look and see why I went from pt to px for font sizes for me please. I would like to go back to pt.

Many thanks,

Alison

Please Log in to join the conversation.

3 years 6 months ago #121656 by Valentin
Replied by Valentin on topic Fonts
Hi Alison,

I guess you added custom CSS to change from pt to px before. Simply undo those changes and the font-size will use the default pt values.

Let us know if we can be of any help

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 6 months ago #121658 by alison_ew
Replied by alison_ew on topic Fonts
Hi Valentin

As far as I am aware, I have not changed any CSS to change from pt to px. I don't know how to! Are you able to change it for me?

Many thanks,

Alison

Please Log in to join the conversation.

3 years 6 months ago #121661 by Valentin
Replied by Valentin on topic Fonts
I see. Your theme uses px as font-size values.

Click in Customize


Typography (below Menu)


Check each section to set custom font settings, however the settings doesn't allow to use pt. The reason, is that the theme developer decided to use px.

Still you can try to change the font-size outside theme settings by using Firebug as this tutorial explains . First, inspect the element you want to change the font-size. For example, to change the font-size for the paragraphs (p tag), inspect the element with firebug and change the CSS loaded in the right of the screen. In this case I changed from 20px to 20pt as a test:


Now that you figured out the required custom CSS, add it with a plugin like this one or similar:
p {
    font-size: 20pt;
}

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

This message has attachments images.
Please log in or register to see it.

Please Log in to join the conversation.

3 years 6 months ago #121690 by alison_ew
Replied by alison_ew on topic Fonts
Thank you for that. I will give it a go.

Regards,

Alison

Please Log in to join the conversation.

3 years 6 months ago #121691 by Valentin
Replied by Valentin on topic Fonts
You're welcome Alison!

Let us know how it goes

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!