Need help recreating Menu Nav












0















I've been trying to replicate the icons with the dropdown in the navigation bar on this website https://www.vannuysmaserati.com/



This is what I have so far. I'm not using icons yet. I would like the dropdowns to use one dropdown menu instead of having a dropdown for each.



I want the Icons to share the same dropdown but change the content depending which icon you're hovered on. or maybe use multiple dropdowns that are positioned in the same place.



Here is a codepen with my code:



https://codepen.io/dmads2355/pen/bQPgbJ



<div class="container example2">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar2">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://disputebills.com"><img src="https://res.cloudinary.com/candidbusiness/image/upload/v1455406304/dispute-bills-chicago.png" alt="Dispute Bills">
</a>
</div>
<div id="navbar2" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">P <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<p>phone</p>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">H <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<p>Hours</p>
</ul>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
<!--/.container-fluid -->
</nav>
</div>









share|improve this question




















  • 1





    You mean the dropdowns from call|maps|hours|service? It's not a single dropdown, it just overlaps all dropdowns using absolute positioning.

    – arieljuod
    Jan 3 at 18:26











  • @arieljuod Yes, that is what I mean and I also thought that was possibly what was happening. I will look into recreating that. Thanks for your quick answer. Feel free to post more if you want but that is enough information for me to start.

    – ember Wolf
    Jan 3 at 18:28











  • Just open the inspector and check the styles that are set by bootstrap, you'll need to override some of them (like min-width of the .dropdown-menu, or position on some of the elements).

    – arieljuod
    Jan 3 at 18:59
















0















I've been trying to replicate the icons with the dropdown in the navigation bar on this website https://www.vannuysmaserati.com/



This is what I have so far. I'm not using icons yet. I would like the dropdowns to use one dropdown menu instead of having a dropdown for each.



I want the Icons to share the same dropdown but change the content depending which icon you're hovered on. or maybe use multiple dropdowns that are positioned in the same place.



Here is a codepen with my code:



https://codepen.io/dmads2355/pen/bQPgbJ



<div class="container example2">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar2">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://disputebills.com"><img src="https://res.cloudinary.com/candidbusiness/image/upload/v1455406304/dispute-bills-chicago.png" alt="Dispute Bills">
</a>
</div>
<div id="navbar2" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">P <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<p>phone</p>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">H <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<p>Hours</p>
</ul>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
<!--/.container-fluid -->
</nav>
</div>









share|improve this question




















  • 1





    You mean the dropdowns from call|maps|hours|service? It's not a single dropdown, it just overlaps all dropdowns using absolute positioning.

    – arieljuod
    Jan 3 at 18:26











  • @arieljuod Yes, that is what I mean and I also thought that was possibly what was happening. I will look into recreating that. Thanks for your quick answer. Feel free to post more if you want but that is enough information for me to start.

    – ember Wolf
    Jan 3 at 18:28











  • Just open the inspector and check the styles that are set by bootstrap, you'll need to override some of them (like min-width of the .dropdown-menu, or position on some of the elements).

    – arieljuod
    Jan 3 at 18:59














0












0








0








I've been trying to replicate the icons with the dropdown in the navigation bar on this website https://www.vannuysmaserati.com/



This is what I have so far. I'm not using icons yet. I would like the dropdowns to use one dropdown menu instead of having a dropdown for each.



I want the Icons to share the same dropdown but change the content depending which icon you're hovered on. or maybe use multiple dropdowns that are positioned in the same place.



Here is a codepen with my code:



https://codepen.io/dmads2355/pen/bQPgbJ



<div class="container example2">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar2">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://disputebills.com"><img src="https://res.cloudinary.com/candidbusiness/image/upload/v1455406304/dispute-bills-chicago.png" alt="Dispute Bills">
</a>
</div>
<div id="navbar2" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">P <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<p>phone</p>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">H <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<p>Hours</p>
</ul>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
<!--/.container-fluid -->
</nav>
</div>









share|improve this question
















I've been trying to replicate the icons with the dropdown in the navigation bar on this website https://www.vannuysmaserati.com/



This is what I have so far. I'm not using icons yet. I would like the dropdowns to use one dropdown menu instead of having a dropdown for each.



I want the Icons to share the same dropdown but change the content depending which icon you're hovered on. or maybe use multiple dropdowns that are positioned in the same place.



Here is a codepen with my code:



https://codepen.io/dmads2355/pen/bQPgbJ



<div class="container example2">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar2">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://disputebills.com"><img src="https://res.cloudinary.com/candidbusiness/image/upload/v1455406304/dispute-bills-chicago.png" alt="Dispute Bills">
</a>
</div>
<div id="navbar2" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">P <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<p>phone</p>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">H <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<p>Hours</p>
</ul>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
<!--/.container-fluid -->
</nav>
</div>






javascript html css






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 at 18:26







ember Wolf

















asked Jan 3 at 18:21









ember Wolfember Wolf

62




62








  • 1





    You mean the dropdowns from call|maps|hours|service? It's not a single dropdown, it just overlaps all dropdowns using absolute positioning.

    – arieljuod
    Jan 3 at 18:26











  • @arieljuod Yes, that is what I mean and I also thought that was possibly what was happening. I will look into recreating that. Thanks for your quick answer. Feel free to post more if you want but that is enough information for me to start.

    – ember Wolf
    Jan 3 at 18:28











  • Just open the inspector and check the styles that are set by bootstrap, you'll need to override some of them (like min-width of the .dropdown-menu, or position on some of the elements).

    – arieljuod
    Jan 3 at 18:59














  • 1





    You mean the dropdowns from call|maps|hours|service? It's not a single dropdown, it just overlaps all dropdowns using absolute positioning.

    – arieljuod
    Jan 3 at 18:26











  • @arieljuod Yes, that is what I mean and I also thought that was possibly what was happening. I will look into recreating that. Thanks for your quick answer. Feel free to post more if you want but that is enough information for me to start.

    – ember Wolf
    Jan 3 at 18:28











  • Just open the inspector and check the styles that are set by bootstrap, you'll need to override some of them (like min-width of the .dropdown-menu, or position on some of the elements).

    – arieljuod
    Jan 3 at 18:59








1




1





You mean the dropdowns from call|maps|hours|service? It's not a single dropdown, it just overlaps all dropdowns using absolute positioning.

– arieljuod
Jan 3 at 18:26





You mean the dropdowns from call|maps|hours|service? It's not a single dropdown, it just overlaps all dropdowns using absolute positioning.

– arieljuod
Jan 3 at 18:26













@arieljuod Yes, that is what I mean and I also thought that was possibly what was happening. I will look into recreating that. Thanks for your quick answer. Feel free to post more if you want but that is enough information for me to start.

– ember Wolf
Jan 3 at 18:28





@arieljuod Yes, that is what I mean and I also thought that was possibly what was happening. I will look into recreating that. Thanks for your quick answer. Feel free to post more if you want but that is enough information for me to start.

– ember Wolf
Jan 3 at 18:28













Just open the inspector and check the styles that are set by bootstrap, you'll need to override some of them (like min-width of the .dropdown-menu, or position on some of the elements).

– arieljuod
Jan 3 at 18:59





Just open the inspector and check the styles that are set by bootstrap, you'll need to override some of them (like min-width of the .dropdown-menu, or position on some of the elements).

– arieljuod
Jan 3 at 18:59












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54027752%2fneed-help-recreating-menu-nav%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54027752%2fneed-help-recreating-menu-nav%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas