Change header and subheader color on slider

Hi all,

I need to change the colour of the text in the header, subheader and button on the second slide. The other slides should not change colour.

Website link: https://okbeauty.me/

1 Like

@liorkvalery

sorry for that issue can you please try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.owl-carousel .owl-item:nth-child(2) h2.font--section-heading {
    color: #fff;
}
.owl-carousel .owl-item:nth-child(2) p.sub-title.font--paragraph {
    color: #fff;
}
.owl-carousel .owl-item:nth-child(2) a.slide-button {
    background: #fff;
}
1 Like

Thank you!
It works :slightly_smiling_face:

1 Like

@liorkvalery

it’s my pleasure to help us

1 Like