0
How I access class selector beneath an ID and other three classes?
I want to access the class custom-logo-link in this code: <header id="masthead" class="site-header" role="banner"> <div class="container"> <div class="site-branding"> <a href="http://xx.xxx.xxx/" class="custom-logo-link" rel="home" itemprop="url"><img width="100" height="137" src="http://xx.xxx.xxx/wp-content/uploads/0000/00/logo_100x137.png" class="custom-logo" alt="" itemprop="logo"> I access directly like: #masthead .custom-logo-link or how?. Thanks!.
2 ответов
+ 1
you can't access directly.
you need to write it step by step...
".site-header .container .site-header .custom-logo-link {
style
}"
OR directly by:
".site-branding .custom-logo-link"
0
It worked accessing directly, thanks!.