White space in a Twenty Twenty page
-
I’m testing for new theme on my main blog and I chose Twenty Twenty. I created a page that will serve as a homepage and, therefore, I don’t intend to give it a title. So, after being published, I would like the blank space reserved for the title to disappear. How do I do this on this specific page via CSS?
-
Hi @radtrad,
Twenty Twenty has an option built in to hide the page title on the front page, so this doesn’t require CSS – it hides both the title and the space where the title displays. You can find that option under Homepage Settings in the Customizer.
I also wouldn’t recommend not setting a title at all. Even if you don’t want the title to be visible, the title should still be set so it appears in the page’s meta tags in the HTML headers. Among other things, it’s used by search engines to correctly index the page, it’s what the browser looks at to know what to display in the browser tab, and it’s used by screen readers for people with visual impairments so they can know what page on the site they’re viewing.
-
- The topic ‘White space in a Twenty Twenty page’ is closed to new replies.