Home › Forums › Support › Adding a CSS Class to Element Classes on Page Hero not working This topic has 3 replies, 2 voices, and was last updated 2 years, 5 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 7, 2023 at 9:55 am #2601215 brentwpeterson I have the following class on my Page Hero <h1 class="home-justify">Attract More Customers and Grow Your Business with the Power of Organic Search</h1> I added this to my Element Classes .home-justify { text-align: left; } When I view my page the text is still centered. April 7, 2023 at 1:25 pm #2601431 LeoStaff Customer Support Hi there, Any chance you can link us to the page in question? You can use the private information field: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information Let me know 🙂 April 9, 2023 at 5:24 am #2602859 brentwpeterson I added the inline tages to make the CSS work I am also unsure on how to remove the page header from the homepage? April 9, 2023 at 12:03 pm #2603299 LeoStaff Customer Support This line is CSS and it cannot be added in the class field: https://www.screencast.com/t/BEMaiSQAZXG I also don’t think you need to create a page hero for that section – have you considered adding that section straight to the home page content? There shouldn’t be any CSS and HTML required if you are already using GenerateBlocks. Let me know 🙂 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In