Give help. Get help.
I have put a class in my h2 but still showing the heading background. I only want the background to show up in when do not have h2.
I only want to be able to show the bottom border in the heading that has h2.
the two samples are in my code pen
Which background, when?
The background of `
If you don’t want a background on the `
An `h2` is a block level element; there really isn’t any need to wrap in in a div **unless** you want to put some sort of special styling on the **div** itself.
If you want a bottom border only on the `h2′ then just add that.
The way I done is way open cart is
So there is always a `
But if there is an `h2` it has to have a bottom border BUT you don’t want the wrapping `
Is that right?
I am now just modifying it will let you know how I go.
I did it your way using div just about there few things have to fix but all good.
You must be logged in to reply to this topic.