Custom ID Elements + Custom CSS

Ok, so I edited the following ...

<div id="rt-utility"><div class="rt-block fp-roksprocket-grids-utility title5 jmoddiv">

      

just by adding the following to my custom.css

#rt-utility .rt-block {CODE HERE}

      

but when i try to change ...

<div id="rt-sideslider-overlay"><header id="rt-header-surround">

      

from

#rt-sideslider-overlay .header-rt-header-surround {CODE HERE}

      

it doesn't work ... Is it related to its title id and not div id?

+3


source to share


2 answers


Just use:



#rt-header-surround {}

      

+3


source


small error:

replace

#rt-sideslider-overlay .header-rt-header-surround {CODE HERE}

      

from



#rt-sideslider-overlay header#rt-header-surround {CODE HERE}

      

because the tag name selector is just

header

      

read more in css selectors: http://www.w3.org/TR/CSS21/selector.html

+1


source







All Articles