Forums

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

Home Forums CSS Bootstrap dropdown problem

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #243347
    cscodismith
    Participant

    I have a drop down entitled ‘Twitch’ and when its clicked on it shows the background color to be some type of white color by the default bootstrap css but know if you call the exact element correctly I should be able to overwrite that css without having to use the !important in my css.

    Here is a codepen.io of the issue!

    #243348
    cscodismith
    Participant

    Figured out the solution myself. The proper css selector in my case was as followed:
    ul.navbar-nav>li>a.dropdown-toggle:focus

    You can also use the updated codepen.io here if you’d like.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.