The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Caption Above The h2 Subheading Reply To: Caption Above The h2 Subheading


What part are you needing help with specifically?

Transparency? Have a look in to rgba colours (maybe along with the background-color property or color property), or check out the opacity property (if you’re looking to fade out the whole caption for example)

Positioning? Have a look into CSS margins (can be positive or negative) so that you can pull your H2 closer to your “caption”.

For specific help, please provide a ** reduced** sample in CodePen, showing us what markup you’re working with and the CSS you’ve tried. It might also help to provide a mock-up image of how you want this title/caption combo to ultimately look (these options are preferable to asking folks to look at a website as there will be less distractions)