How to add background color to text header?

Hi,

I’m trying to add the text background of the headers to gray and change the color of the text itself to white on just one page, I appreciate any help, thanks.

link to the page: https://www.babysleep.in/pages/group_consultation

P.S. Should be something like this:


AT THE GROUP CONSULTATION, I OFFER YOU.png

hi.. @Babysleep

if you want to do this

https://prnt.sc/Bus5Y6pGs-Ym

step 01:

  1. Go to your Store > Theme > click to edit code.
  2. find this file "Theme.liquid " and open.

step 02:

  1. Paste the code at the end of the file.

this idea helps you

1 Like

Hello @Babysleep

I would like to give you a solution to support you:

  1. Go to Online Store-> Theme-> Edit code
  2. Open your theme.liquid theme file
  3. Paste the below code before :
<style>
.page-group-consultation .featured-content--title {
background-color: grey;
color: white !important;
padding: 10px;
}
</style>

Was my reply helpful? Please Like and Accept Solution. This means alot to me.

1 Like