Site logo

Archived topic

Press Coverage Hero-type Image / Bar

3 replies · Started by Claire on March 2, 2023

Viewing posts 1–4 of 4

Hi there,

if you use the Block Editor, then you can you use a Block Element.
if you want to use HTML or shortcodes then use a Hook Element

And in either Element you set the Hook to generate_after_header and set the priority to 25 and it will come after the page hero.

Thanks for this.

I'm just doing HTML inside the element, how do I get the background to be grey?

Thanks,

Hi Claire,

You can add style="background:grey;" to your HTML element.

Just a kind suggestion, if you use blocks to build your site, it will be so much easier, in most cases, you don't need to add CSS code.

This archived topic is closed to new replies.