How can I stop the navbar bootstrap back to default color after click?

Hi everyone how are we all?

I do my first navbar "bootstrap". I have her style

It is with css. My problem is all

a link that has been clicked on goes back to the default gray color.

When I go is nice, it's as it should be (in this case red) However

If I click on it, and then move the mouse off it goes back to the gray clear default "bootstrap".

If I click on another link clicked the previous link goes back to the color I want, in this case black.

The toggle button also does.

I imagine it will be something very simple that I'm missing.

Someone has experienced this problem or have any suggestions?

Here is the html code

< nav class = "navbar, navbar-default" >

< div class = "container-fluid" >

<!-brand and toggle get grouped together for better mobile display->

< div class = "bar navigation-header" >

< button type = "button" class = "toggle navigation bar has collapsed" data-toggle = 'collapse' data-target = "#defaultNavbar1" > < span class = "sr only" > toggle navigation </span > Menu < span class = "glyphicon glyphicon-chevron-down" > < / span > < / button >

< a class = 'bar of navigation-brand' href = "#" > < / has > < / div >

<!-collect the nav links, forms, and other content to alternate->

< div class = "navbar-collapse collapse" id = "defaultNavbar1" >

< ul class = "nav justified to nav" >

< li > < a href = "#" > HOME < /a > < /li >

< li > < a href = "#" > ABOUT US < /a > < /li >

< li > < a href = "#" > DISTRIBUTORS < /a > < /li >

< class li = "dropdown" > < a href = "#" class = "menu drop-down-turn" data-toggle = "dropdown" role = "button" aria-haspopup = "true" aria-expanded = "false" > PACKAGES < span class = "circumflex accent" > < / span > < /a >

< ul class = menu "dropdown" >

< li > < a href = "#" > BASIC APP KIT < /a > < /li >

< li > < a href = "#" > VALVE PACKAGES < /a > < /li >

< li > < a href = "#" > SILENCER PACKAGES < /a > < /li >

< li > < a href = "#" > OFFERS COMPLETE < /a > < /li >

< li > < a href = "#" > ORDER NOW! < /a > < /li >

< /ul >

< /li >

< li > < a href = "#" > FACEBOOK < /a > < /li >

< li > < a href = "#" > YOUTUBE < /a > < /li >

< li > < a href = "#" > ORDER NOW! < /a > < /li >

< /ul >

< / div >

<!-/ .navbar-collapse->

< / div >

<!-/ .container-fluid->

< / nav >

and here's the CSS

.NavBar.NavBar - default {}

background-color: #2B2B2B;

border-style: solid none;

border-bottom-color: #DC1F26;

border-bottom-color: #DC1F26;

padding-left: 11px;

top of the margin: 15px;

}

{.navbar-brand

background-image: url (.. / images/Logo_small.jpg);

background-repeat: no-repeat;

background-size: 75px auto;

background-position: 0 65%;

min-width: 85px;

margin-bottom: 0px;

}

{.navbar - toggle.collapsed}

background-color: #5B5B5B;

color: #FFFFFF;

}

{.navbar - toggle.collapsed:hover}

background-color: #dc1f26

}

.NavBar .nav li.dropdown.open > drop-down-toggle, .navbar .nav li.dropdown.active > drop-down-toggle, .navbar .nav li.dropdown.open.active > {drop down-turn

background-color: #000000;

color: #DB1F26;

}

. NAV. Justified-NAV li a {}

color: #FFFFFF;

min-height: 50px;

padding-top: 15px;

}

. NAV. Justified-NAV li a: hover {}

color: #Db1F26;

background-color: #000000;

border-bottom: solid thin #FFFFFF.

min-height: 50px;

padding-top: 15px;

}

dropdown dropdown-menu {}

border-top-style: none;

border-bottom-style: none;

background-color: #000000;

}

#defaultNavbar1.nav.nav - justified dropdown {}

}

{menu drop-down}

min-width: 200px;

}

menu dropdown li a {}

background-color: #000000;

}

. Fluid container #defaultNavbar1 {}

margin left: 65px;

}

@media (max-width: 649px) {}

{.navbar-brand

margin-bottom: 0px;

background-position: 0% 104%;

}

. Fluid container #defaultNavbar1 {}

left margin: 0px;

}

{menu drop-down}

min-width: 0px;

}

Any help would be appreciated muchly

PS bootstrap in dreamweaver is so much better than layouts fluid grid!

OnClick assumes the ACTIVE Bootstrap class. So you need to set it in your custom CSS overrides.

http://GetBootstrap.com/customize/#NavBar

Nancy O.

Tags: Dreamweaver

Similar Questions

  • How can I stop the printer to print an information page after each print job

    Original title: print

    How can I stop the printer to print an information page after each print job

    Word 2007

    1. Click the Microsoft Office button, and then click Word Options.
    2. In the Print Options area, clear the print document properties check box, and then click OK.

    Word 2000, 2002 and 2003

    1. On the Tools menu, click Options, and then click the print tab.
    2. In the Include document box, clear the check box Of the Document properties , and then click OK.
  • How can I stop the on screen keyboard to appear even after I tried to stop it from appearing in the normal way, but still continues to appear?

    To the login page when I first start the computer, I took a glance on the keyboard on the screen and since then I tried to get the keyboard to appear by turning off the coast of the normal way, but he still continues to appear no matter how I try to stop it from appearing.  Can someone help me because I don't want to have to re - install the OS again?  Or is it far from uninstall the keyboard on the screen?

    In the Page of newspaper here an accessibility option. Turn if off from there and see if that helps.

  • How can I stop the sound of reading back to me, when the voice recording

    How can I stop the replay to me a second after that I recorded (audio narration). First 14 elements?

    Roger

    I think that perhaps this is the only option, Bob. I couldn't find another way.

    Unfortunately, if you are wearing your headphones and listen to the audio of the film, when you save, you will hear the echo too.

    It's just the way it works and there is no way to stop doing that I know.

  • How can I stop the looping SOUND?

    Newbie here.

    I created a movie that makes a loop at the end of the last image. I have a built-in Sountrack'u which exceeds the sum of the last frame of the movie. When initially film loops, another copy of the audio clip starts playing on top of the initial melody (MP3). How can I stop the audio clip to restart when the movie back surrounds? I want just the 1st copy of the sound at the end and STOPS when the fact... or restart... I don't want it to start on top of itself...

    Cody21,

    > How can I stop the audio clip to restart when
    > the movie back surrounds? I want just the 1st copy
    > the sound at the end and STOPS when the fact... or restart
    > .... I don't want it to start on top of itself...

    Well, the sound is positioned in frame 1, probably, no? During the
    playhead enters frame 1, the sound goes off again. There are a number
    ways to configure your sound. Two basic methods are events and streams, which
    You can see the area of synchronization of the property inspector when you select the
    the frame that contains the sound. Event means that the audio load in memory all the
    at the same time and plays; Stream means that it has locked in step with the timeline.
    Stream means it does not start on top of itself - but it also means that audio
    stop when the timeline does.

    If your audio starts an image 1, I could see Adding a quick
    action gotoAndPlay (2) in the last frame of your timeline. Who would jump
    the playhead spent Framework 1.

    David Stiller
    Adobe Community Expert
    Dev blog, http://www.quip.net/blog/
    "Luck is the residue of good design."

  • How can I stop the beach ball in safari in el capitan of spinning

    How can I stop the beach ball in safari in el capitan of spinning

    To start, please publish a report of Etrecheck: http://etrecheck.com

  • How can I stop the Firefox "remember" the password for a particular Web site?

    Usually, I like that Firefox remembered passwords. However, I don't want it to remember the password for my Yahoo email account. How can I stop the he remembering only this password, without losing other passwords remembers?

    You can use the following steps to delete the recorded data (form) in a drop-down list:

    1. Click on the (empty) input field on the web page to open the drop-down list
    2. Select an entry in the drop-down list with the mouse or the cursor key
      do not click with the mouse or press the Enter key
    3. Press the DELETE key (on a Mac: shift + del) to delete the highlighted entry

    See also:

    • Tools > Options > Security: passwords: "saved passwords" > "show passwords".

    Details such as websites to remember you (automatically log you) are stored in a cookie.
    So, you can erase cookies from Yahoo to Yahoo forget you, in the case where you put a check mark in the box to have Yahoo don't forget you.

    You can control and manage cookies for the domain currently selected tab:

    • Click the address bar onthe Site identity button"(globe/lock)
    • Click on 'More information' to open ' tools > Page Info "with the Security tab is selected
    • Click on "View Cookies" to view the cookies for the domain currently selected tab
    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".
  • How can I stop the sharing of credit card on iTunes?

    How can I stop the sharing of credit card on the same itunes account. \ ?

    sharing with WHO

  • I get the pop-up Alexa Sparky everytime I open Firefox, it does not provide a 'no' option... How can I stop the popup?

    Whenever I open Firefox, I get a pop-up asking me to install the Alexa Sparky toolbar - which I don't want. The popup box does not offer an option to say 'no' or "do not ask me again", which is VERY annoying. How can I stop the popup?

    Hello jhart, this popup also appears when you start firefox in safe mode?

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

  • How can I stop the supprt Assistant

    How can I stop the suppport of HP running?  It's driving me crazy?

    Hello

    Please try:

    To disable checking for automatic updates:

    1. launch HPSA,
    2. click on Settings below on the left.
    3. click on the tab health analysis above,.
    4. Select do not check updates,
    5. click on OK.

    To turn off the auto focus:

    1. launch HPSA,
    2. click on settings in the lower left corner.
    3. click on tab optimization on high,
    4. click on the frequency.
    5. Select NEVER in the bottom of the list,
    6. click on OK.

    And finally do not start:

    1. Control Panel > administrative tools > Task Scheduler.
    2. Find HP Support Assistant
    3. You can play with it here (up to your decisions) under triggers

    Kind regards.

  • goes into infinity "tabs" loop when I type any email 'Contact us' button how can I stop the loop?

    goes into infinity "tabs" loop when I type any email 'Contact us' button how can I stop the loop?

    You use a Mac, or you're on another platform?

    Any other use of platforms:

    • Mac: Firefox > Preferences
    • Linux: Edit > Preferences
    • Windows: Firefox > Options

    Press F10, if the menu bar is hidden under Windows and Linux, or use "> Firefox Options/preferences.

  • I just download v4.0. How can I get the third arrow back button navigation, which allows the selection of a page forward or back?

    I just download v4.0. How can I get the third arrow back button navigation, which allows the selection of a page forward or back?

    Don't know how to get the exact button back (sorry) I dig around too much to do...
    But! Today, I found by chance that by clicking and holding on the back button the same box to popup in last-12-sites and you can stream on the list to return to that particular site.

    Not exactly what you (and me) tried but at least the functionality is there.

    Good luck!

  • How can I stop the last post showing when I want to send this person a new Imessage.  I have an Iphone 5s

    How can I stop the last post showing when I want to send this person a new Imessage.  I don't want an old conversation appears constantly when I am a Messenger contact.  I have an Iphone 5s

    I don't know, but let me see if I understand what you're asking. You do not want to see the thread you have with a particular contact when you go to send them another message? The only way to do this is to remove the previous message thread. If you send a message to someone that you already have a thread of conversation with, it will continue to post in this thread. There is no such thing as having multiple threads with the same person. All conversations with the same person would remain in the same thread, unless you remove the previous discussions. If you delete your previous conversation, when you go to start a new conversation, he won't have any of the other answers.

  • How can I stop the safari asking to save the password

    How can I stop the safari asking to save the password on the secure site. I can remove the login preferences, but whenever I connect it always asks me to save password. I have only the option to the above

    I would like to than safari to remember the login, but not the password.

    Billy

    Just a question Safari to automatically populate the data connection and not the password does not work. Connection data include the user name and password.

  • How can I stop the "Splash Screen" to appear please.

    Hello
    I have two monitors, model S230HLbd. How can I stop the "Splash Screen" to appear please.

    By Splash Screen, I mean the 'Acer' and 'Energy Star' logos that appear when you turn on the screens. I think they slow down the display of what you want to see.

    There is no way to stop the boot process.

Maybe you are looking for

  • 6 "x 9" envelopes with officejet pro 8600 premium

    I try to print 6 "x 9" envelopes of greeting cards on my new officejet pro 8600 premium and get error message paper size mismatch. " With my old photosmart printer I was able to create a custom size envelop for this problem. But this option is not av

  • Legend of unwanted cursor position reset

    Good afternoon I use an XY Chart with a legend of visible cursor, in LabVIEW 2009. The legend of cursor has 5 sliders on it, but because of space constraints, two can only be visible at once, and you use the scroll bar to see the lower sliders. Howev

  • Pavilion dv7: password Bios - HP Pavilion dv7

    Hello I'm looking for my BIOS password enter the BIOS menu, however, I can't find my self. Could you please help me to get? Here's my stop code: 54976016 Thank you very much. Martin.

  • Edition of msconfig

    Is there a way to know which items listed in msconfig are addon by other software that put their activations of service here? I want to change the list, leaving only the essential elements for the computer to function properly.

  • U2415 - when I changed the monitor upside down I hear something like a screw wandering inside.

    Greetings from the Greece. I apologize for my bad English. Has just delivered my new u2415. But when I turn the monitor upside down, there is something like a screw that moves from one side of the screen to the other.  The monitor works perfectly whe