Support » Fixing WordPress » Targeting a single instance of a widget.

  • Hi
    I’m using the Shapely theme for my parralax website.
    It’s a great theme.
    Basically it works by adding a series of widgets to the home page.
    Now my problem is: I’ve got the parralax widget several times on my home page.
    I want to add some custom css to one instance. How can I target I single use of a widget?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • If you view the source code, every parallax section has a unique ID. So via CSS you could use one of these:

    #shapely_home_parallax-2 { }
    #shapely_home_parallax-5 { }
    #shapely_home_parallax-10 { }
    #shapely_home_parallax-15 { }
    #shapely_home_contact-2 { }

Viewing 1 replies (of 1 total)
  • The topic ‘Targeting a single instance of a widget.’ is closed to new replies.