Global / loca css issue

i have set a global css in the customizer for “h2” -

h2 {

border-bottom: 1px solid #e4e4e4;

}

now i want to override that one for my home page
with " border-bottom: 0px solid #e4e4e4; "
but its not working

steps taken -

  • i have tried putting the local css in VC custom css section for home page
  • set “lhomepage” as css class for homepage and tried using that

plz help me what i am doing wrong

site link-
https://www.lazzycreator.com/ ( element - all the “h2” elements ")

Hi There @akash

Thanks for writing in! To target your homepage h2 elements, you can add the following CSS rule into your Theme Options > Global CSS area.

.home h2 {
    color: #fff !important;
}

Hope that helps.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.