Archived topic
Press Coverage Hero-type Image / Bar
3 replies · Started by Claire on March 2, 2023
Hi,
How do I create a bar like this grey one for press coverage?
https://credittakeoff.co/
I want it to go underneath my Hero image, but I don't know what element to use?
https://www.herdreambusiness.com/
Thanks,
Claire
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.