Home › Forums › Support › Unification of page hero vertical sizes This topic has 7 replies, 3 voices, and was last updated 2 years ago by Fernando. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts April 13, 2022 at 2:06 pm #2188072 Hiroki I’m using page hero on my home, post, and category archive pages and there are three types of page hero. I want to unify all page hero vertical sizes regardless of the length of the text inside. How can i do this? https://nakagawahiroki.com April 13, 2022 at 2:36 pm #2188086 YingStaff Customer Support Hi Hiroki, You can add a custom CSS class to the container, for eg. page-hero, then you can use this CSS to target all the page heros: .gb-container.page-hero { height: 400px; overflow: hidden; } How to add custom CSS class to blocks: https://wordpress.com/support/wordpress-editor/adding-additional-css-classes-to-blocks/ April 13, 2022 at 6:44 pm #2188179 Hiroki Do I have to add to all three? Is 400px changeable? April 13, 2022 at 6:51 pm #2188181 Fernando Customer Support Hi Hiroki, Yes, you would need to add page-hero to all three. Moreover, yes, 400px is changeable. Hope this clarifies. Feel free to reach out if further assistance regarding this is needed. 🙂 April 13, 2022 at 6:59 pm #2188189 Hiroki This means limiting the height to 400 in any situation, right? April 13, 2022 at 7:05 pm #2188195 Fernando Customer Support Yes, it would. 🙂 April 13, 2022 at 7:15 pm #2188199 Hiroki Thank you! April 13, 2022 at 7:17 pm #2188201 Fernando Customer Support You’re welcome Hiroki! 🙂 Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In