The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Superfish Class for Items With Dropdown?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #35215

    I’m using superfish on a theme I’m building:

    I’ve applied a border radius to the top menu items but would only like this border radius to be applied to those items without a dropdown menu. Those with a dropdown I would like to apply the border-radius to the top of the item only. The problem is I can’t figure out if there is a class I can integrate for those items only.

    Here is how the radius is currently being applied.

    .sf-menu > li:hover, .sf-menu > li.sfHover,
    .sf-menu > li a:focus, .sf-menu > li a:hover, .sf-menu > li a:active {
    background: #787878;
    outline: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px
Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.