WordPress.org

Support

Support » Themes and Templates » [Resolved] adding custom css for a page

[Resolved] adding custom css for a page

  • I would like to add the following css and only have it work on pages:

    #navlist{position:relative;}
    #navlist li{margin:0;padding:0;list-style:none;position:absolute;top:0;}
    #navlist li, #navlist a{height:44px;display:block;}
    
    #home{left:0px;width:46px;}
    #home{background:url('img_navsprites.gif') 0 0;}
    
    #prev{left:63px;width:43px;}
    #prev{background:url('img_navsprites.gif') -47px 0;}
    
    #next{left:129px;width:43px;}
    #next{background:url('img_navsprites.gif') -91px 0;} 
    
    #home a:hover{background: url('img_navsprites_hover.gif') 0 -45px;}
    #prev a:hover{background: url('img_navsprites_hover.gif') -47px -45px;}
    #next a:hover{background: url('img_navsprites_hover.gif') -91px -45px;}

    Any help on how I should format it and add it to the 2011 Style CSS would be appreciated. Many thanks in advance,

    Drew

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] adding custom css for a page’ is closed to new replies.
Skip to toolbar