SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Feb 2006
    Posts
    980
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Coding sprite on WP widget

    I know how to do sprites (and know WP pretty well) but I have to add a sprite to the sidebar widget on a WP site and have no clue how to start except that I created the sprite :-). The styles mix me up even when I look via Inspect Element. Can anyone help? Not sure where to start. I Googled it as well but didn't find anything. Thanks so much.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,301
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    The widget will be made up of elements with classes/IDs, so all you need to do is find the element you want to place the sprite on, find the nearest class or ID (on the element itself or on a parent element) and you are good to go with your CSS.

  3. #3
    SitePoint Guru
    Join Date
    Feb 2006
    Posts
    980
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Ralph.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •