Site logo

Archived topic

Adding a CSS Class to Element Classes on Page Hero not working

3 replies · Started by brentwpeterson on April 7, 2023

Viewing posts 1–4 of 4

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.

I added the inline tages to make the CSS work

I am also unsure on how to remove the page header from the homepage?

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 :)

This archived topic is closed to new replies.