tf2012
asked on
css question
I have a wordpress page with an h1 in the content body. And a short code for a paginated gravity forms.. form. I want to hide the H1 that is in the page content on all form paginated views except the first one.
So I was thinking of checking the dom for the gravity form page 1 (I'll add a class to page one), and if found show the H1, else.. hide it. Easy enough with javascript.
Is it possible in css to check if a sibling element contains a child element of a particular class?
So I was thinking of checking the dom for the gravity form page 1 (I'll add a class to page one), and if found show the H1, else.. hide it. Easy enough with javascript.
Is it possible in css to check if a sibling element contains a child element of a particular class?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.