• Which settings in the theme.json file affect the sizing of the gutenberg editor’s default page title size?

    According to the online documentation it seems nothing should, but it’s happening to me. I’m working on creating a block-based theme. At some point, one of the changes written to the theme.json file (using the create block theme plugin) modified the default size of the gutenberg editor’s page title size. (It’s set to the default size rather than the regular default.) I’d like it to return to the default setting size.

    I’m unable to figure out which setting in the theme.json file affects it. No matter what I attempt to edit / change, the page title remains small. The only way i’ve managed to get it to return to the default size is if i go back to a completely blank theme.json file.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    What theme are using? Acquired from?

    Thread Starter jmbod

    (@jmbod)

    No theme is being used. I started with a fresh theme.json and index.html, etc. I created / built up my own theme to better understand block theming. Eventually, when I reached the point of defining styles through the theme editor I started using the Create Block Theme plugin to write the changes to the theme files.

    The issue happens when I set custom heading styles through the editor and then write the changes to the file system using the plugin. The changes to the heading styles set in the theme.json ( styles.elements.h[level].typography.fontSize) breaks the editor display so that the headings in the editor only display as the default paragraph size. The front-end display is correct, though.

    It’s not a plugin problem. These are simply changes to the theme.json. Wouldn’t matter if I made the edits manually or with the plugin.

    • This reply was modified 2 years, 1 month ago by jmbod.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fix theme.json setting modifying editor page title size’ is closed to new replies.