Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • levelusion 13 posts 93 karma points
    Nov 19, 2015 @ 14:36
    levelusion
    0

    partialview and bootstrap menu is gone

    Hey

    When i add my partialview for login it works fine. But when i do my browser window to a smartphone size. My navigation menu is gone (no menu anymore)

    How can i fix this ??

    i have only create the standard partialview from umbraco changed nothing in that file. and added only the partialview in my footer

    <div class="row">
            <!-- Copyright -->
            <div id="copyright">
                &copy; @DateTime.Now.Year @Umbraco.Field("copyright", recursive: true) | Images: <a href="http://fotogrph.com">fotogrph</a> + <a href="http://iconify.it">Iconify.it</a> | Design: <a href="http://html5up.net/">HTML5 UP</a>
    
                    </div>
            <!-- /Copyright -->
                      @{ Html.RenderPartial("umbLogin"); }
        </div>
    </footer>
    <!-- /Footer -->
    
  • Nathan Sleigh 109 posts 353 karma points
    Nov 19, 2015 @ 14:41
    Nathan Sleigh
    0

    Hi Levelusion,

    I don't know why just adding a Partial to a page would make the navigation disappear. Are you sure it isn't the CSS?

    Nathan

  • levelusion 13 posts 93 karma points
    Nov 19, 2015 @ 15:01
    levelusion
    0

    no, i created a partialview for member login.

    @{ Html.RenderPartial("umbLogin"); }

    but when my screen is on smartphone menu my banner is 0 pixels from the top. And i haven't a menu anymore

    when i remove @{ Html.RenderPartial("umbLogin"); } i have my menu back.

    idk bevcause i haven't changed my css files

  • Nathan Sleigh 109 posts 353 karma points
    Nov 19, 2015 @ 16:01
    Nathan Sleigh
    0

    Unless you are importing a stylesheet or script file in that partial there is no reason why your menu should just disappear when you add that partial into the page.

    Nathan

Please Sign in or register to post replies

Write your reply to:

Draft