Support » Fixing WordPress » Modify fonts properties arbitrarily

  • Hello fellow WordPressers,

    this is my very first post, nice meeting you all!

    I would be grateful if you could share any suggestion about the following:

    • How can I prevent text to be broken down in “boxes” every time I create a new paragraph?

    • How can I change the font, the color, and the size of the texts? Like, individual texts, like only in one page or in the home page, or, within a page, only in one text box?

    Thanks a lot!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Joy

    (@joyously)

    How can I prevent text to be broken down in “boxes” every time I create a new paragraph?

    Can you explain more? Browsers will flow the text to fit the space, condensing white space.

    The editor contains tools to change the color and size of text. Changing the font means you have to load the font that is used, so the theme is involved (unless it’s a font that every device has).

    On the new Gutenberg editor, every time you create a new paragraph, a new paragraph block gets created. Is there a reason why you don’t want that feature? It does take some getting used to, but it should be worth it in the long run.

    There are a couple of things you can do if you don’t want to use blocks:

    1. Switch to the code editor. Click on the three dots in the upper right corner and pick Code Editor instead of Visual Editor. The only thing is that you’re going to have to be fairly conversant in HTML, i.e., you’re going to have to be able to enter your own paragraph tags, formatting tags, etc.
    2. Install the Classic Editor plugin, which will allow you to use the old style WordPress editor. But I would learn to use the new Gutenberg editor since there’s no telling how long the Classic Editor will be supported.
    3. If you want to change font properties like color or size, you’ll have to switch to the Code Editor and understand CSS and how to use HTML tags. For example, if you wanted to make a few words in red, you would add a <span> tag like this:
      These next three words <span style="color: red;">are in red</span>.
      If you wanted to change a whole paragraph:
      <p style="font-size: 18px; color: blue">This paragraph has a font size of 18px and the color is blue.</p>

    Thank you so much @joyously and @crouchingbruin
    Mmmm… I wonder, do I have this Gutenberg thingy? I’ll check it out…

    Ok thanks for your suggestions!
    I guess I’m too used to wordprocessors…

    Joy

    (@joyously)

    Gutenberg is the name of the editor since WordPress 5.0. Before that was Classic Editor.
    Forget most of what you know from word processors. Web publishing is different because everything you use on your page has to be downloaded by the visitor in order to see it. And making text look different on every page is a real hassle when you later change your site design.

    If you have the latest version of WordPress (or any version over 5.2), then Gutenberg is the default editor. It’s the one that’s creating all those separate blocks for each paragraph. The old Classic Editor doesn’t do that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Modify fonts properties arbitrarily’ is closed to new replies.