• I want to change the header font color for my site but when I do it also changes the font in the slider box (which I want to keep white. Does anyone know the best way to go about this?

    the code I am using to change header font color:

    h1, h2, h3, h4, h5, h6 {
    	font-weight: bold;
    	color: #C4302B;
    	font-family: gungsughche;
    }

    the code I thought I was supposed to use in order to keep slider header color white:

    .iview-caption {
    	color: #ffffff;
    }

    I am new to html and css as of the past month so still trying to figure it all our. thanks for the help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try:

    .iview-caption h2 {
    	color: #ffffff;
    }
    Thread Starter bradzazzara

    (@bradzazzara)

    Hey Rod, when I add that css is tells me that “Heading h2 should not be qualified.” and “Heading h2 has already been defined.”, likely because of my first css?

    That being said, it works perfectly! Do i need to be worried about anything? Thanks so much for your help.

    I have never seen messages like “Heading h2 should not be qualified.” and “Heading h2 has already been defined.” If it works, I do not think there is anything to worry about.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘change font color for my sites headers except in slider’ is closed to new replies.