Change the color of the line under a specific header

  • Profile Image
    Kiehl_Lyn
    Asked on February 27, 2021 at 11:11 AM

    I want to change the color of the line under a SPECIFIC Header (h3). I know that I need go into a browser and find the ID for the specific header. I have done that:

    1614441856_603a6d80acbd5_

    The ID is "header_298", but I cannot seem to change the line color under that one. I have tried many different things, but the obvious one does not work:

    #header_298 {

      border-color: red !important;

    }

  • Profile Image
    JohnRex
    Answered on February 27, 2021 at 06:46 PM

    You should target the div (box) where the header is contained:

    #cid_298 > div {
      border-color: red!important;
    }

    Here's the result:

    1614469582_603ad9cee7ce9_