Adding a fixed sticky nav bar which doesn't cover the imagereplace nav bar with back ground colorResponsive website zoomed out to full width on mobilecall bootstrap “Collapse navbar” function manuallyBootstrap 4 responsive navbar that collapses at xs width?Changing the Default settings on a BootStrap nav-barNavbar toggle not working with Angular 4 / ng-bootstrapBootstrap 4 navbar with two rows, bottom row collapsibleFixed nav menu and mobile responsiveUnable to expand navigation barBootstrap 4 sticky-top for nav stopped working

Using credit/debit card details vs swiping a card in a payment (credit card) terminal

Count rotary dial pulses in a phone number (including letters)

How should I introduce map drawing to my players?

How do I split a line feature in segments of a set interval distance in Qgis?

Popcorn is the only acceptable snack to consume while watching a movie

USPS Back Room - Trespassing?

Caught student / friend cheating on the final exam that I proctored

What is a Centaur Thief's climbing speed?

Is the Indo-European language family made up?

Construct a word ladder

Where's this lookout in Nova Scotia?

Pirate democracy at its finest

Is there an online tool which supports shared writing?

The art of clickbait captions

My employer faked my resume to acquire projects

Why didn't Project Mercury advance to an orbital flight on their second mission?

Are these reasonable traits for someone with autism?

Understanding Implicit Delimiters/Terminators

How to know if a folder is a symbolic link?

Realizing cohomology classes by submanifolds

Is "cool" appropriate or offensive to use in IMs?

A steel cutting sword?

Sitecore 9.0 works with solr 7.2.1?

What are the real benefits of using Salesforce DX?



Adding a fixed sticky nav bar which doesn't cover the image


replace nav bar with back ground colorResponsive website zoomed out to full width on mobilecall bootstrap “Collapse navbar” function manuallyBootstrap 4 responsive navbar that collapses at xs width?Changing the Default settings on a BootStrap nav-barNavbar toggle not working with Angular 4 / ng-bootstrapBootstrap 4 navbar with two rows, bottom row collapsibleFixed nav menu and mobile responsiveUnable to expand navigation barBootstrap 4 sticky-top for nav stopped working






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-2















I am trying to create a responsive bootstrap sticky nav to go above the carousel. However the navbar covers the top proportion of the image. How can i change so that it sticks above for desktop/mobile, but doesn't overflow onto the image itself.



<nav class="navbar navbar-expand-lg bg-primary fixed-top navbar " color-on-scroll="400">

<div class="container">
<div class="navbar-translate">
<button class="navbar-toggler navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation" aria-controls="navigation-index" aria-expanded="false" aria-label="Toggle navigation">
<span><i class="fas fa-bars" style="
color: #ffffff;
"></i></span>
</button>
<img src="https://www.w3schools.com/bootstrap/chicago.jpg" class="img-fluid" alt="Responsive image">

</div>
<div class="collapse navbar-collapse justify-content-end" id="navigation" >
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="javascript:void(0)" onclick="scrollToDownload()">
<p>Location</p>









share|improve this question






















  • Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. See: How to create a minimal reproducible example.

    – LGSon
    Mar 24 at 14:55

















-2















I am trying to create a responsive bootstrap sticky nav to go above the carousel. However the navbar covers the top proportion of the image. How can i change so that it sticks above for desktop/mobile, but doesn't overflow onto the image itself.



<nav class="navbar navbar-expand-lg bg-primary fixed-top navbar " color-on-scroll="400">

<div class="container">
<div class="navbar-translate">
<button class="navbar-toggler navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation" aria-controls="navigation-index" aria-expanded="false" aria-label="Toggle navigation">
<span><i class="fas fa-bars" style="
color: #ffffff;
"></i></span>
</button>
<img src="https://www.w3schools.com/bootstrap/chicago.jpg" class="img-fluid" alt="Responsive image">

</div>
<div class="collapse navbar-collapse justify-content-end" id="navigation" >
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="javascript:void(0)" onclick="scrollToDownload()">
<p>Location</p>









share|improve this question






















  • Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. See: How to create a minimal reproducible example.

    – LGSon
    Mar 24 at 14:55













-2












-2








-2








I am trying to create a responsive bootstrap sticky nav to go above the carousel. However the navbar covers the top proportion of the image. How can i change so that it sticks above for desktop/mobile, but doesn't overflow onto the image itself.



<nav class="navbar navbar-expand-lg bg-primary fixed-top navbar " color-on-scroll="400">

<div class="container">
<div class="navbar-translate">
<button class="navbar-toggler navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation" aria-controls="navigation-index" aria-expanded="false" aria-label="Toggle navigation">
<span><i class="fas fa-bars" style="
color: #ffffff;
"></i></span>
</button>
<img src="https://www.w3schools.com/bootstrap/chicago.jpg" class="img-fluid" alt="Responsive image">

</div>
<div class="collapse navbar-collapse justify-content-end" id="navigation" >
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="javascript:void(0)" onclick="scrollToDownload()">
<p>Location</p>









share|improve this question














I am trying to create a responsive bootstrap sticky nav to go above the carousel. However the navbar covers the top proportion of the image. How can i change so that it sticks above for desktop/mobile, but doesn't overflow onto the image itself.



<nav class="navbar navbar-expand-lg bg-primary fixed-top navbar " color-on-scroll="400">

<div class="container">
<div class="navbar-translate">
<button class="navbar-toggler navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation" aria-controls="navigation-index" aria-expanded="false" aria-label="Toggle navigation">
<span><i class="fas fa-bars" style="
color: #ffffff;
"></i></span>
</button>
<img src="https://www.w3schools.com/bootstrap/chicago.jpg" class="img-fluid" alt="Responsive image">

</div>
<div class="collapse navbar-collapse justify-content-end" id="navigation" >
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="javascript:void(0)" onclick="scrollToDownload()">
<p>Location</p>






css responsive-design bootstrap-4 navbar sticky






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 24 at 3:37









P.SavP.Sav

605




605












  • Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. See: How to create a minimal reproducible example.

    – LGSon
    Mar 24 at 14:55

















  • Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. See: How to create a minimal reproducible example.

    – LGSon
    Mar 24 at 14:55
















Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. See: How to create a minimal reproducible example.

– LGSon
Mar 24 at 14:55





Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. See: How to create a minimal reproducible example.

– LGSon
Mar 24 at 14:55












2 Answers
2






active

oldest

votes


















1














Give margin-top:100px or what is the height of you navigation menu, applying that height to the slider parent div class and it works fine.






share|improve this answer






























    0














    Solution:
    I added body padding-top: 90px;






    share|improve this answer























      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%2f55320524%2fadding-a-fixed-sticky-nav-bar-which-doesnt-cover-the-image%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      Give margin-top:100px or what is the height of you navigation menu, applying that height to the slider parent div class and it works fine.






      share|improve this answer



























        1














        Give margin-top:100px or what is the height of you navigation menu, applying that height to the slider parent div class and it works fine.






        share|improve this answer

























          1












          1








          1







          Give margin-top:100px or what is the height of you navigation menu, applying that height to the slider parent div class and it works fine.






          share|improve this answer













          Give margin-top:100px or what is the height of you navigation menu, applying that height to the slider parent div class and it works fine.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 24 at 4:41









          deepak panwardeepak panwar

          1381213




          1381213























              0














              Solution:
              I added body padding-top: 90px;






              share|improve this answer



























                0














                Solution:
                I added body padding-top: 90px;






                share|improve this answer

























                  0












                  0








                  0







                  Solution:
                  I added body padding-top: 90px;






                  share|improve this answer













                  Solution:
                  I added body padding-top: 90px;







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 24 at 4:03









                  P.SavP.Sav

                  605




                  605



























                      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%2f55320524%2fadding-a-fixed-sticky-nav-bar-which-doesnt-cover-the-image%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

                      SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                      용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

                      155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해