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

Cómo cambiar fácilmente el tamaño de fuente en WordPress

Nota editorial: Ganamos una comisión de los enlaces de socios en WPBeginner. Las comisiones no afectan a las opiniones o evaluaciones de nuestros editores. Más información sobre Proceso editorial.

¿Quieres cambiar el tamaño de letra de tus entradas o páginas de WordPress?

A veces, puede que desee aumentar el tamaño de una línea o de un párrafo, o puede que desee aumentar el tamaño de letra de toda la página.

En este artículo, le mostraremos cómo cambiar fácilmente el tamaño de la fuente en entradas y temas de WordPress.

How to change font size in WordPress

¿Por qué cambiar el tamaño de fuente en WordPress?

Al cambiar el tamaño de la fuente en su sitio web de WordPress, puede mejorar la legibilidad del contenido y facilitar su lectura a los usuarios.

Además, aumentar el tamaño de la fuente también puede ayudarle a resaltar información importante en su blog de WordPress.

Por ejemplo, si está mostrando un producto afiliado en su sitio, aumentar el tamaño de la fuente puede ayudar a que el producto sea más visible. También puede hacer que el contenido sea más legible para los usuarios que acceden al sitio web a través de dispositivos móviles.

Dicho esto, veamos cómo cambiar fácilmente el tamaño de la fuente en WordPress.

En este tutorial vamos a tratar varios métodos, por lo que puede utilizar los siguientes enlaces para ir al método que prefiera:

Tutorial en vídeo

Subscribe to WPBeginner

Si prefiere instrucciones escritas, siga leyendo.

Método 1: Cambiar el tamaño de fuente mediante encabezados

Si está buscando una manera fácil de cambiar el tamaño de la fuente utilizando encabezados, entonces este método es para usted.

Utilizar encabezados en el contenido es una buena forma de captar la atención del usuario con una fuente de mayor tamaño.

En la mayoría de los temas de WordPress, los encabezados tienen una fuente más grande que el cuerpo del texto, lo que permite dividir las entradas y páginas en secciones.

Los encabezados también son muy útiles para mejorar el SEO de un sitio web, ya que los motores de búsqueda dan más importancia a los encabezados que al texto normal de los párrafos.

Cómo añadir un encabezado en el editor de bloques por defecto de WordPress

En primer lugar, debe abrir una nueva entrada o página en el editor de bloques de WordPress.

Una vez allí, haga clic en el botón “Añadir bloque” (+) situado en la esquina superior izquierda de la pantalla para abrir el menú de bloques.

A partir de aquí, debe encontrar y añadir el bloque Encabezado a la página/entrada.

Add the heading block

Por defecto, el bloque se establecerá en Encabezado 2.

Si va a añadir un subencabezado, lo mejor es utilizar la opción “Encabezado 2”.

Sin embargo, si desea cambiarla, sólo tiene que hacer clic en el menú desplegable “H2” para seleccionar un tamaño diferente.

Change heading from h2

También puede cambiar el tamaño del encabezado utilizando los ajustes de bloque del panel derecho de la pantalla.

Incluso puede personalizar el color del encabezado, su aspecto, las mayúsculas y minúsculas, etc.

Una vez que haya terminado, no olvide hacer clic en el botón “Actualizar” o “Publicar” para almacenar sus ajustes.

Heading settings

Cómo añadir un encabezado en el antiguo editor clásico

Si todavía utiliza el antiguo editor clásico de WordPress, puede añadir encabezados utilizando el menú desplegable Párrafo.

En primer lugar, seleccione con el ratón el texto que desea convertir en encabezado.

A continuación, haga clic en el menú desplegable “Párrafo” de la esquina superior izquierda y seleccione el tamaño de su encabezado. Ahora ha cambiado correctamente el tamaño de la fuente a un encabezado.

Choose heading in classic editor

Sin embargo, tenga en cuenta que el editor clásico no le permite cambiar los tamaños y colores de fuente de los diferentes estilos de encabezado.

Si quieres hacerlo, tendrás que modificar la hoja de estilos de tu tema (style.css).

Por último, basta con hacer clic en el botón “Actualizar” o “Publicar” para guardar los cambios.

Método 2: Cambiar el tamaño de fuente del texto en el editor de bloques

Si quieres cambiar el tamaño de la fuente del texto de tu bloque Párrafo, entonces este método es para ti.

En primer lugar, debes abrir una página o entrada existente en el editor de bloques de Gutenberg.

Una vez allí, haga clic en cualquier bloque de párrafo y, a continuación, cambie a la pestaña “Estilos” del panel de bloques situado a la derecha de la pantalla.

A partir de aquí, debe elegir un tamaño de fuente en la sección “Tipografía”.

Change the font size

Puede seleccionar la opción pequeña, mediana, grande o extra grande según sus necesidades.

Si desea devolver el texto a su tamaño original, también puede hacerlo al hacer clic en el menú de tres puntos situado junto a la sección “Tipografía”.

Se abrirá un nuevo menú desplegable en el que tendrás que hacer clic en la opción “Restablecer”.

Reset font size

Aparte de eso, también puedes añadir mayúsculas y minúsculas, espaciado, apariencia, etc. utilizando el mismo menú desplegable.

Después, basta con hacer clic en el botón “Actualizar” o “Publicar” para guardar los cambios.

Ten en cuenta que estas opciones no están disponibles en el antiguo editor clásico de WordPress. Si quieres usarlas, entonces piensa en hacer el cambio.

Método 3: Cambiar el tamaño de la fuente con un plugin

Si quieres cambiar el tamaño de la fuente usando un plugin, entonces puedes usar este método.

Primero, necesitas instalar y activar el plugin Advanced Editor Tools. Para obtener instrucciones detalladas, puede consultar nuestra guía para principiantes sobre cómo instalar un plugin de WordPress.

Al activarlo, el plugin le ofrece un mayor control sobre el tamaño de las fuentes y el formato del texto, así como otras características. Añade un nuevo bloque “Párrafo clásico” con todas las características de formato que elijas.

Una vez activado, diríjase a la página Ajustes ” Herramientas avanzadas del editor desde la barra lateral del administrador de WordPress.

Una vez allí, puedes arrastrar y soltar fácilmente características de formato de la sección “Botones no utilizados” al bloque “Párrafo clásico”.

Estas características incluyen tamaño de fuente, familia de fuentes, copia, subíndice, emoticonos, código fuente, etc.

Add the font size field

Una vez hecho esto, desplácese hasta la sección “Opciones” y compruebe la opción “Tamaños de fuente” para acceder a un mayor número de tamaños de fuente.

Después, basta con hacer clic en el botón “Guardar cambios” para establecer los ajustes.

Add more font sizes

Si utiliza el plugin con el editor clásico, tendrá que cambiar a la pestaña “Editor clásico” en la parte superior de la página.

Una vez allí, deberá realizar las mismas acciones que en el editor de bloques.

Advanced editor tools classic editor font size

Asegúrate de hacer clic en el botón “Guardar cambios” después de realizar las modificaciones.

Ahora, para ver el plugin en acción, debe abrir una página/post nuevo o existente desde el escritorio de WordPress.

Una vez allí, haga clic en el botón “Añadir bloque” (+) situado en la esquina superior izquierda de la pantalla para abrir el menú de bloques.

Desde aquí, busque y añada el bloque Párrafo clásico a la página.

Add the classic paragraph block to the page

Ahora puede utilizar el menú desplegable “Tamaños de fuente” para cambiar el tamaño del texto del bloque “Párrafo clásico”.

Por último, haga clic en “Actualizar” o “Publicar” para guardar los ajustes de su entrada o página.

Font size field

Método 4: Cambiar el tamaño de fuente en todo el sitio usando WPCode

Si quieres cambiar el tamaño de la fuente en todo tu sitio web, entonces este método es para ti.

Puedes cambiar fácilmente el tamaño de la fuente en todo el sitio añadiendo código CSS a tu sitio web mediante WPCode.

Es el mejor plugin de fragmentos de código para WordPress del mercado que hace que sea super fácil y seguro añadir código a tu sitio web.

Primero, necesitas instalar y activar el plugin WPCode. Para obtener instrucciones detalladas, consulte nuestra guía paso a paso sobre cómo instalar un plugin de WordPress.

Una vez activado, diríjase a la página Fragmentos de código ” + Añadir fragmento desde la barra lateral del administrador de WordPress.

Una vez allí, haga clic en el botón “Usar fragmento de código” situado bajo la opción “Añadir su código personalizado (nuevo fragmento de código)”.

Add new snippet

Esto le llevará a la página “Crear fragmento de código personalizado”, donde puede empezar dando un título a su fragmento de código.

A continuación, seleccione la opción “Fragmento de código CSS” del menú desplegable “Tipo de código” situado en la esquina derecha de la pantalla.

Nota: La opción “Fragmento de código CSS” solo está disponible en el plugin WPCode Premium. Sin embargo, si utiliza la versión gratuita, puede seleccionar la opción “Fragmento de código universal”.

Choose CSS Snippet for font size code

A continuación, copie y pegue el siguiente código CSS personalizado en el cuadro “Vista previa del código”:

p {
font-size:16px;
}

Una vez hecho esto, añada el tamaño de texto que desee junto a la línea “font-size” del código CSS.

Debería verse así.

Paste font size code

A continuación, desplácese hasta la sección “Inserción” y elija el modo “Inserción automática”.

Su código se ejecutará automáticamente en su sitio una vez activado.

Choose an insertion method

Por último, desplázate hasta la parte superior de la página y activa el conmutador “Inactivo”.

A continuación, haga clic en el botón “Guardar fragmento de código” para ejecutar el código.

Save font size code

Ahora ha cambiado correctamente el tamaño de la fuente en su sitio de WordPress.

Bonificación: Cambiar el color del texto en WordPress

Además del tamaño, también puede cambiar el color del texto de su sitio web para que el contenido sea más legible y visualmente atractivo. También puede mejorar su imagen de marca / marca y ayudar a resaltar la información importante.

Para cambiar el color del texto, debes abrir una entrada de blog en el editor de bloques y elegir un bloque de Párrafo. Una vez hecho esto, cambia a la pestaña ‘Estilos’ del panel de bloques y haz clic en la opción ‘Texto’.

Esto abrirá la herramienta de selección de color desde donde puede seleccionar un color de texto de su elección para el contenido.

Change text colors

Si desea cambiar los colores del texto en todo el sitio web, entonces usted puede utilizar WPCode, que es el mejor plugin de fragmentos de código de WordPress en el mercado.

Una vez activado, simplemente visite la página Fragmentos de código ” + Añadir fragmento desde la barra lateral del administrador de WordPress y haga clic en “Usar fragmento” bajo la opción “Añadir su código personalizado”.

Esto le llevará a la página “Crear fragmento de código personalizado”, donde deberá seleccionar “Fragmento de código CSS” como tipo de código y, a continuación, copiar y pegar el siguiente código en el cuadro “Vista previa del código”:

p { color:#990000; }

Si desea utilizar un color diferente para los encabezados de su sitio, deberá utilizar los selectores h1, h2, h3 o similares.

Changing the text color using custom code

Por último, haga clic en el botón “Guardar fragmento de código” y cambie el conmutador “Inactivo” a “Activo”.

Ahora ha cambiado correctamente el color del texto en todo su sitio web. Para obtener instrucciones detalladas, consulte nuestro tutorial sobre cómo cambiar el color del texto en WordPress.

Esperamos que este artículo te haya ayudado a aprender cómo cambiar fácilmente el tamaño de la fuente en WordPress. Puede que también quieras ver nuestra guía sobre cómo usar fuentes personalizadas en WordPress o nuestra lista de los mejores plugins de editor de arrastrar y soltar para páginas de WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Descargo: Nuestro contenido está apoyado por los lectores. Esto significa que si hace clic en algunos de nuestros enlaces, podemos ganar una comisión. Vea cómo se financia WPBeginner , por qué es importante, y cómo puede apoyarnos. Aquí está nuestro proceso editorial .

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.

El último kit de herramientas de WordPress

Obtenga acceso GRATUITO a nuestro kit de herramientas - una colección de productos y recursos relacionados con WordPress que todo profesional debería tener!

Reader Interactions

177 comentariosDeja una respuesta

  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

      Administrador

  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.

      Administrador

  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.

      Administrador

  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.

      Administrador

  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.

      Administrador

  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. 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

  14. 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?

  15. 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

  16. 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?

      Administrador

  17. 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.

      Administrador

  18. 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.

      Administrador

  19. 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?

  20. 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

  21. 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.

  22. 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.

  23. 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.

      Administrador

      • 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!

  24. 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.

  25. 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.

  26. 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!

  27. 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?

  28. 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

  29. 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.

  30. 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.

      Administrador

  31. 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.

      Administrador

      • 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?

Deja tu comentario

Gracias por elegir dejar un comentario. Tenga en cuenta que todos los comentarios son moderados de acuerdo con nuestros política de comentarios, y su dirección de correo electrónico NO será publicada. Por favor, NO utilice palabras clave en el campo de nombre. Tengamos una conversación personal y significativa.