Select “itemprop” With CSS
Needed to target a h3 tag in a div on a Joomla site that was on the home page. The div was in a div with the selector of “itemprop=”articleBody””. I was happy to find my answer quickly from the following link.
https://stackoverflow.com/questions/50579845/targeting-itemprop-in-css
The answer is:
div[itemprop="articleBody"] h3{
/*styles*/
}
I hope this helps someone else out there…
0 Comments