Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coppa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Come modificare facilmente la dimensione dei caratteri in WordPress

Nota editoriale: guadagniamo una commissione dai link dei partner su WPBeginner. Le commissioni non influenzano le opinioni o le valutazioni dei nostri redattori. Per saperne di più su Processo editoriale.

Volete cambiare la dimensione dei caratteri nei vostri post o pagine di WordPress?

A volte si può desiderare di ingrandire una riga o un paragrafo, oppure di aumentare la dimensione dei caratteri dell’intera pagina.

In questo articolo vi mostreremo come modificare facilmente la dimensione dei caratteri nei post e nei temi di WordPress.

How to change font size in WordPress

Perché cambiare la dimensione dei caratteri in WordPress?

Modificando la dimensione dei caratteri sul vostro sito WordPress, potete migliorare la leggibilità dei contenuti e facilitare la lettura da parte degli utenti.

Inoltre, l’aumento della dimensione dei caratteri può anche aiutarvi a evidenziare le informazioni importanti sul vostro blog WordPress.

Ad esempio, se sul vostro sito presentate un prodotto affiliato, l’aumento della dimensione dei caratteri può contribuire a rendere il prodotto più evidente. Inoltre, può rendere il contenuto più leggibile per gli spettatori che accedono al vostro sito web tramite dispositivi mobili.

Detto questo, vediamo come cambiare facilmente la dimensione dei caratteri in WordPress.

In questa esercitazione verranno trattati diversi metodi, quindi potete usare i link sottostanti per passare al metodo che preferite:

Video tutorial

Subscribe to WPBeginner

Se preferite le istruzioni scritte, continuate a leggere.

Metodo 1: modificare le dimensioni dei caratteri utilizzando le intestazioni

Se state cercando un modo semplice per modificare la dimensione dei caratteri utilizzando le intestazioni, questo metodo fa al caso vostro.

L’uso di titoli nei contenuti è un ottimo modo per catturare l’attenzione dell’utente con un carattere di dimensioni maggiori.

Nella maggior parte dei temi WordPress, i titoli hanno un carattere più grande rispetto al testo normale, consentendo di suddividere i post e le pagine in sezioni.

I titoli sono anche ottimi per migliorare la SEO del sito, in quanto i motori di ricerca attribuiscono ai titoli corretti un peso maggiore rispetto al normale testo dei paragrafi.

Come aggiungere un titolo nell’editor di blocchi predefinito di WordPress

Per prima cosa, è necessario aprire un nuovo post o una nuova pagina nell’editor di blocchi di WordPress.

Una volta arrivati a questo punto, fare clic sul pulsante “Aggiungi blocco” (+) nell’angolo superiore sinistro dello schermo per aprire il menu dei blocchi.

Da qui, si deve trovare e aggiungere il blocco Heading alla pagina/post.

Add the heading block

Per impostazione predefinita, il blocco sarà impostato sull’intestazione 2.

Se si sta aggiungendo un sottotitolo, è opportuno attenersi all’opzione “Titolo 2”.

Tuttavia, se si desidera modificare questa impostazione, è sufficiente fare clic sul menu a discesa ‘H2’ per selezionare una dimensione diversa.

Change heading from h2

In alternativa, è possibile modificare le dimensioni dell’intestazione utilizzando le impostazioni del blocco sul pannello destro dello schermo.

È anche possibile personalizzare il colore, l’aspetto, le lettere maiuscole e minuscole dell’intestazione.

Una volta terminato, non dimenticate di fare clic sul pulsante “Aggiorna” o “Pubblica” per memorizzare le impostazioni.

Heading settings

Come aggiungere un’intestazione nel vecchio editor classico

Se si utilizza ancora il vecchio editor classico di WordPress, è possibile aggiungere titoli utilizzando il menu a discesa Paragrafo.

Per prima cosa, selezionare con il mouse il testo che si desidera trasformare in titolo.

Quindi, fare clic sul menu a discesa “Paragrafo” nell’angolo in alto a sinistra e selezionare la dimensione dell’intestazione. A questo punto si è riusciti a modificare la dimensione del carattere di un titolo.

Choose heading in classic editor

Tuttavia, si tenga presente che l’editor classico non consente di modificare le dimensioni e i colori dei caratteri dei diversi stili di intestazione.

Se si desidera farlo, è necessario apportare modifiche al foglio di stile del tema (style.css).

Infine, basta fare clic sul pulsante “Aggiorna” o “Pubblica” per salvare le modifiche.

Metodo 2: modificare la dimensione dei caratteri del testo nell’Editor blocchi

Se si desidera modificare la dimensione del carattere del testo nel blocco Paragrafo, questo metodo fa al caso vostro.

Per prima cosa, è necessario aprire una pagina/post esistente nell’editor di blocchi di Gutenberg.

Una volta lì, fate clic su qualsiasi blocco Paragrafo e poi passate alla scheda “Stili” dal pannello dei blocchi sul lato destro dello schermo.

Da qui è necessario scegliere la dimensione del carattere dalla sezione “Tipografia”.

Change the font size

È possibile selezionare l’opzione Small, Medium, Large o Extra Large in base alle proprie esigenze.

Se si desidera riportare il testo alle dimensioni originali, è possibile farlo facendo clic sul menu con tre puntini accanto alla sezione “Tipografia”.

Si aprirà un nuovo menu a tendina in cui si dovrà fare clic sull’opzione “Ripristina”.

Reset font size

Inoltre, con lo stesso menu a tendina, è possibile aggiungere le maiuscole, le lettere, l’interlinea, l’aspetto e molto altro ancora.

A questo punto, basta fare clic sul pulsante “Aggiorna” o “Pubblica” per memorizzare le modifiche.

Tenete presente che queste opzioni non sono disponibili nel vecchio editor classico di WordPress. Se volete utilizzarle, pensate di fare il passaggio.

Metodo 3: Cambiare le dimensioni dei caratteri con un plugin

Se si desidera modificare la dimensione dei caratteri utilizzando un plugin, è possibile utilizzare questo metodo.

Per prima cosa, è necessario installare e attivare il plugin Advanced Editor Tools. Per istruzioni dettagliate, potete consultare la nostra guida per principianti su come installare un plugin di WordPress.

Una volta attivato, il plugin offre un maggiore controllo sulle dimensioni dei caratteri e sulla formattazione del testo, oltre a una serie di altre caratteristiche. Aggiunge un nuovo blocco “Paragrafo classico” che presenta tutte le caratteristiche di formattazione di vostra scelta.

Dopo l’attivazione, accedere alla pagina Impostazioni ” Strumenti dell’editor avanzato dalla barra laterale dell’amministrazione di WordPress.

A questo punto, è possibile trascinare facilmente le funzioni di formattazione dalla sezione “Pulsanti inutilizzati” al blocco “Paragrafo classico”.

Queste caratteristiche includono dimensione dei caratteri, famiglia di caratteri, copia, pedice, emoticon, codice sorgente e altro ancora.

Add the font size field

Una volta fatto ciò, scorrere fino alla sezione “Opzioni” e selezionare l’opzione “Dimensioni dei caratteri” per accedere a un numero maggiore di dimensioni dei caratteri.

A questo punto, è sufficiente fare clic sul pulsante “Salva modifiche” per memorizzare le impostazioni.

Add more font sizes

Se si utilizza il plugin con l’editor classico, è necessario passare alla scheda “Editor classico” dall’inizio della pagina.

Una volta arrivati a questo punto, è necessario eseguire le stesse azioni dell’editor di blocchi.

Advanced editor tools classic editor font size

Assicurarsi di fare clic sul pulsante “Salva modifiche” dopo aver apportato le modifiche.

Ora, per vedere il plugin in azione, è necessario aprire una pagina o un post nuovo o esistente dalla dashboard di WordPress.

Una volta arrivati a questo punto, fare clic sul pulsante “Aggiungi blocco” (+) nell’angolo superiore sinistro dello schermo per aprire il menu dei blocchi.

Da qui, trovare e aggiungere il blocco Paragrafo classico alla pagina.

Add the classic paragraph block to the page

È ora possibile utilizzare il menu a discesa “Dimensioni carattere” per modificare le dimensioni del testo nel blocco “Paragrafo classico”.

Infine, fare clic su “Aggiorna” o “Pubblica” per salvare le impostazioni del post o della pagina.

Font size field

Metodo 4: Cambiare le dimensioni dei caratteri a livello di sito utilizzando WPCode

Se volete cambiare la dimensione dei caratteri in tutto il vostro sito web, questo metodo fa al caso vostro.

È possibile modificare facilmente la dimensione dei caratteri in tutto il sito aggiungendo un codice CSS al sito web utilizzando WPCode.

È il miglior plugin di snippet di codice per WordPress sul mercato che rende super facile e sicuro aggiungere codice al vostro sito web.

Per prima cosa, è necessario installare e attivare il plugin WPCode. Per istruzioni dettagliate, consultare la nostra guida passo passo su come installare un plugin di WordPress.

Dopo l’attivazione, andate alla pagina Code Snippets ” + Add Snippet dalla barra laterale dell’amministrazione di WordPress.

A questo punto, fare clic sul pulsante “Usa snippet” sotto l’opzione “Aggiungi il tuo codice personalizzato (nuovo snippet)”.

Add new snippet

Si accede così alla pagina “Crea snippet personalizzato”, dove si può iniziare a dare un titolo al proprio snippet di codice.

Quindi, selezionare l’opzione “Snippet CSS” dal menu a discesa “Tipo di codice” nell’angolo destro dello schermo.

Nota: l’opzione ‘CSS Snippet’ è disponibile solo nel plugin premium WPCode. Tuttavia, se si utilizza la versione gratuita, è possibile selezionare l’opzione ‘Universal Snippet’.

Choose CSS Snippet for font size code

Quindi, copiare e incollare il seguente codice CSS personalizzato nella casella “Anteprima codice”:

p {
font-size:16px;
}

Una volta fatto ciò, è sufficiente aggiungere la dimensione del testo desiderata accanto alla riga “font-size” nel codice CSS.

L’aspetto dovrebbe essere il seguente.

Paste font size code

Quindi, scorrere fino alla sezione ‘Inserimento’ e scegliere la modalità ‘Inserimento automatico’.

Il codice verrà eseguito automaticamente sul vostro sito al momento dell’attivazione.

Choose an insertion method

Infine, scorrere indietro fino alla parte superiore della pagina e spostare l’interruttore “Inattivo” su “Attivo”.

Quindi, fare clic sul pulsante “Salva snippet” per eseguire il codice.

Save font size code

Ora avete modificato con successo la dimensione dei caratteri sul vostro sito WordPress.

Bonus: Cambiare il colore del testo in WordPress

Oltre alle dimensioni, potreste anche cambiare il colore del testo sul vostro sito web per rendere i contenuti più leggibili e visivamente accattivanti. Può anche migliorare il vostro branding e contribuire a mettere in evidenza le informazioni importanti.

Per modificare il colore del testo, è necessario aprire un post del blog nell’editor di blocchi e scegliere un blocco Paragrafo. Una volta fatto ciò, passare alla scheda ‘Stili’ dal pannello dei blocchi e fare clic sull’opzione ‘Testo’.

Si aprirà lo strumento di selezione dei colori da cui è possibile selezionare un colore di testo a scelta per il contenuto.

Change text colors

Se volete cambiare i colori del testo in tutto il sito web, potete usare WPCode, che è il miglior plugin per snippet di codice per WordPress sul mercato.

Dopo l’attivazione, è sufficiente visitare la pagina Code Snippets ” + Add Snippet dalla barra laterale dell’amministrazione di WordPress e fare clic su “Use Snippet” sotto l’opzione “Add Your Custom Code”.

Si accede così alla pagina “Crea snippet personalizzato”, dove si deve selezionare “Snippet CSS” come tipo di codice e poi copiare e incollare il seguente codice nella casella “Anteprima codice”:

p { color:#990000; }

Se si desidera utilizzare un colore diverso per le intestazioni del sito, è necessario utilizzare i selettori h1, h2, h3 o simili.

Changing the text color using custom code

Infine, fare clic sul pulsante “Salva snippet” e spostare l’interruttore “Inattivo” su “Attivo”.

Ora avete cambiato con successo il colore del testo in tutto il vostro sito web. Per istruzioni dettagliate, consultate il nostro tutorial su come cambiare il colore del testo in WordPress.

Speriamo che questo articolo vi abbia aiutato a capire come cambiare facilmente la dimensione dei caratteri in WordPress. Potreste anche voler consultare la nostra guida su come utilizzare i font personalizzati in WordPress o il nostro elenco dei migliori plugin drag and drop per il page builder di WordPress.

Se questo articolo vi è piaciuto, iscrivetevi al nostro canale YouTube per le esercitazioni video su WordPress. Potete trovarci anche su Twitter e Facebook.

Divulgazione: I nostri contenuti sono sostenuti dai lettori. Ciò significa che se cliccate su alcuni dei nostri link, potremmo guadagnare una commissione. Vedi come WPBeginner è finanziato , perché è importante e come puoi sostenerci. Ecco il nostro processo editoriale .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Il kit di strumenti WordPress definitivo

Ottenete l'accesso gratuito al nostro kit di strumenti - una raccolta di prodotti e risorse relative a WordPress che ogni professionista dovrebbe avere!

Reader Interactions

177 commentiLascia una risposta

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. sutarmaji says

    Thank you. Your explanation is clear. But, I cannot apply it to my editing activities. In my Block Editor and Classic Editor, there is no font size dropdown menu. It’s frustating. Can you help me?

  3. sarah says

    Hi there,

    thanks for this tutorial. I was trying to do the fourth method and wanted to change my H2 size. I copy and pasted the code into my custom CSS but when I change the px value nothing happens. The Size doesn’t change. Very annoying :O

    • WPBeginner Support says

      You may need to check with your theme’s support in case they are overriding your CSS

      Admin

  4. David Johnson says

    In the new wordpress block editor, regardless of whether I give it a H1 or H4 heading, it doesn’t change the size of the font at all. Sure, in the editor the size changes, but when I publish, there is no size change for what the public sees.

    • WPBeginner Support says

      Your theme may have styling for your headings that make the text look the same. You would either want to edit it with CSS or reach out to your theme’s support.

      Admin

  5. Jran says

    Hi, is there a way to set/change defaults with the Classic paragraph editor? So for example if you wanted each block of text to have size 14 in Book Antiqua, is there a way to keep as a preset instead of having to manually change every block or even line?

    • WPBeginner Support says

      For what you’re wanting, you would likely need to use the CSS method from this article to set the text how you’re wanting.

      Admin

  6. Leslie Limardo says

    Hi there,
    I have the tiny mce advanced plugin. I added the font size to the selection but when i go to my pages, but doesn’t appear and I’ve clicked through all the options and don’t see where else to add it.

    • WPBeginner Support says

      You will likely need to reach out to your specific theme’s support and they should be able to assist with what could be preventing the changes.

      Admin

  7. Yoshiko says

    Hello. Thanks for the posting. I have one question. If I want to enlarge a couple of words in one block, how can I do it?

    • WPBeginner Support says

      You would likely need to edit the paragraph using HTML to manually add the text changes to specific sections.

      Admin

  8. Vaibhavi says

    Thank you so much for this! I was afraid I’d have to buy a premium theme to make such small changes. This helped tons! :)

  9. tonyalee says

    This was so helpful! The font on my site was so small. Quick question, is there a way to do this for lists in the block editor? I noticed they are still the same size after adding the code to my css editor.

  10. mousam says

    Thank you for this post. I use astra theme and have implemented the custom css method for paragraph.

    Thank you again

  11. M Santimi says

    Thanks for being a reliable source of factual information pertaining to wordpress.

    Would appreciate an easy way to change light grey fonts to a more easily readable black.

  12. Susan Narayan says

    Nice video, but I was looking for a way to decrease the size of the font in my post title. Any resources you could direct me to?
    Thank you.

  13. Gulzar says

    I was actually looking for something like TINY MCE, thanks for the help.
    You are doing a great job, keep it up!

  14. mod says

    Hi, I want to change the default wordpress font size. I tried to add it in additional css. But it did not work. Please suggest me what to do. Thanks

  15. Ryan G. Cullen says

    I want to add a tiny text at the right size of image like a source link refer to image from…

    Help me how can I do this?

  16. Habib Khan says

    Hey,
    I was confused about the size of font. What is the size of font you are using in wpbeginner

    Either way, Your articles are best keep it up!

    Cheers,
    Habib

  17. Elise says

    Hello!
    I tried to change the font sizes (body+headings) in CSS but wasn’t successful;

    Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.

    What should I do? Your comments would be greatly appreciated ☺️

    • WPBeginner Support says

      It would depend on where you are adding the code, are you under Appearance>Customize>Additional CSS?

      Admin

  18. Victor says

    With the new version of WordPress, this does not work. I am not sure why the article lists as 4/19 because some comments are a lot older.

    • WPBeginner Support says

      The date updates even if we edit out typos, these methods should work with the classic editor and for the block editor, there is the option to change the font size in the paragraph’s block settings.

      Admin

  19. Radoslav says

    My theme is Sydney The articles’ titles are too big in mobile. Is there a way to change them without coding and without plugins. I use Elementor.

    • WPBeginner Support says

      If you’re using Elementor, then it should have options to change the font size in the design options for what you’re using to display the post. If you’re not customizing your layout with Elementor it would require CSS or reaching out to the theme’s support.

      Admin

  20. john felicetti says

    I want to change the site title font on my self-hosted wordpress site and cannot get a simple answer as to how to do that. can you help?

  21. Jim says

    In the video, at 28 seconds, the editor is shown. There are all kinds of tools in the button bar.

    My dashboard doesn’t have that editor. There are, in fact, no buttons at all, just a text box with giant text in it.

    So, how do I get access to a real editor like you have?

    Jim

  22. Keith Brian Johnson says

    What if you want to make the title smaller but the tagline bigger? Being able to dictate fonts and sizes of text in posts is great, but how about the title and tagline?

    • Darlene says

      My old WP theme appears to have coded Heading 1 in 12 pt font like normal text. I manually change each heading to 14 pt. But then the coding doesn’t say “h1” which Google robots look for. If I use your plugin(which is cool) and change heading font sizes, will they still be labeled h1, h2, h3? Also, I don’t want to change fonts on pages already customized. Can I apply the plugin to blog posts only? Thanks.

  23. Danny says

    The use of px (or pt) in this Guide is not recommendable, because on small Screens like on Smartphones the font size is very small. Its better to use em.

  24. Andrew Oliver says

    I want to enlarge Excel spreadsheets in my posts. I snip them and upload them via Add Media. But I don’t see a way to increase the font size of these uploads.
    So…. I increased the font size in my spreadsheet and then snipped and uploaded the spreadsheet with the larger font – but it still appears as the original size.
    Is there any way to increase the font size in the post as it currently is too small to be easily read (there are several columns in my spreadsheet)?

    • WPBeginner Support says

      Hi Andrew,

      We are not sure we fully understand your question. If you are uploading your spreadsheet as an image file, then its dimensions will depend on your post container. Let’s suppose your post container or content area is 600px wide, then your theme will automatically shrink the image to fit in the container. You can also try selecting full size image before inserting it into your post.

      Admin

      • Mylene says

        Hi, thanks for sharing, very useful indeed. Is there a way to also adjust the font size of the title, or maybe better done in CSS (and if so, how)? thanks again!

  25. jackson says

    I use tinymcv plugin to change the font size. but when i press enter and go to the next line the font size will be default value which is 9pt. How can I change the default value to 12pt.

  26. jitendra says

    Thanks for the post. But I want to know more… I want to make the bigger size of some special word in a sentence without any plugin. Special words in a sentence. e.g. we are doing in MS word. Can it possible? Hope your answer.

    • Pragati kumar sheel says

      Hi jitendra to do that open your text editor.

      and type “font-size: 120%;”

      For example:

       Your text

      You can change the font % by any value. I hope it will help you.

  27. Brady says

    Thanks for the video and info, but I can’t change single lines of font sizes when writing a blog post.
    In Visual Editor when I select “Heading 1” or “Heading 2” it changes the entire entry, but I only need to change that one line. I have to double space to make that happen without changing everything else. But then the spacing is wrong because it doesn’t need to be double spaced. Please help. And is there any other way to change font by font size (11, 12, 14, etc) instead of the preselected “Heading 1” “Heading 2”, etc.? Because TinyMCE didn’t work for me. Thanks!

  28. veonescu ghe says

    What are you talking about, WordPress? Just make a simple option to increase the font size! Not widgets that don’t work with some themes or they work for one paragraph etc. Because the Paragraph tab give either too small a font, or weirdly formatted, hard to read. Why is it so hard to just add an option to increase the size wit a button?…

    • Theresa says

      Not kidding. This should not be this difficult. Every time I hit return it reverts back to the original size. Do I really have to select the font size for every single paragraph?

  29. Anna says

    Hi, first of all thank you for all the knowlege available on this site. It’s great !
    I followed instructions from this article, but I still can’t change to font size in headers. I installed both TinyMCE and Google fonts. I am able to change font styles but not the size.

    Thank you,
    Anna

  30. Chidi Anslem says

    Thanks for this great post. It worked for me. I can now edit font family, change font size, underline text, highlight text and even insert table. Thanks.

  31. Philip says

    I just updated my site and theme. I am having a weird issue of my woocommerce product titles having bigger fonts than they were before updates. i have tried custom css from other forums and wondering if maybe I can get an option here.. Kindly advise.

    • WPBeginner Support says

      Hey Philip,

      Have you tested your website with different browsers and devices to make sure that it is not an issue with your browser settings. After that try reaching out to your theme developer, they will be able to tell you whats changed in the new version or if there is a better way to solve this issue.

      Admin

  32. Thomas says

    Is there a simple way to set a new default font size in WP?
    I have been manually setting to a larger font to improve readability but the theme doesn’t like it and tends to revert back to default whenever I press ENTER and also the paragraph headings don’t work when I’m inside text with the new size.
    I’d have thought this would have been one of the first features to include in WP themes. The current default font is very small and I find it hard to read.
    Thanks, Thomas.

    • WPBeginner Support says

      Hi Thomas,

      You can go to Appearance » Customize and click on the Additional CSS tab.

      Then in the CSS box on the left panel, add this CSS at the end of whatever text/code you see there.

      body { 
      font-size:16px; 
      }
      

      You will see font size change in the live preview. Don’t forget to click on the ‘Save & Publish’ button on top.

      Admin

      • Marcia says

        This is so ridiculous and why I’m having a hard time with WP. It should be just as Word. You highlight the text and select from 100’s of fonts. Why does WP make this so difficult for the lay person? Can this not be changed?

Lascia una risposta

Grazie per aver scelto di lasciare un commento. Tenga presente che tutti i commenti sono moderati in base alle nostre politica dei commenti e il suo indirizzo e-mail NON sarà pubblicato. Si prega di NON utilizzare parole chiave nel campo del nome. Avremo una conversazione personale e significativa.