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!.

8th Mar 2017, 2:25 AM
Juan Bautista Sartorio Isasi
Juan Bautista Sartorio Isasi - avatar
2 Answers
+ 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"
8th Mar 2017, 2:41 AM
MHM 13
MHM 13 - avatar
0
It worked accessing directly, thanks!.
9th Mar 2017, 8:21 PM
Juan Bautista Sartorio Isasi
Juan Bautista Sartorio Isasi - avatar