I am attempting to conceal all div elements except the initial one within a specific ID. Despite my efforts to create a custom jQuery script, it does not appear to be functioning.
$("div.hero-featureSwap:not(:first)").css({display:none});
Is this script intended to hide all div tags with an ID of "hero-featureSwap" except for the first one? That is the outcome I am aiming for.