+1-888-365-2779
Try Now
More in this section

Forums / Project Feather / How to stop feather navigation widget showing a drop down above the menu?

How to stop feather navigation widget showing a drop down above the menu?

3 posts, 0 answered
  1. Kuba
    Kuba avatar
    0 posts
    Registered:
    07 Aug 2016
    07 Aug
    Link to this post

    Hi,

    When I add the feather navigation widget, it renders a bootstrap nav menu OK. However, above the menu it's showing a drop down of the site as well. I can't see how to turn this off - I'm sure I'm missing something simple! Any pointers?

    Thanks!

    Kuba

  2. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    08 Aug in reply to Kuba
    Link to this post
    Hi Kuba. If you want to remove dropdown, you need to modify widget template. You can find information how to do it here: http://docs.sitefinity.com/feather-modify-widget-templates
  3. Kuba
    Kuba avatar
    0 posts
    Registered:
    07 Aug 2016
    09 Aug in reply to Victor Leontyev
    Link to this post

    Hi, thanks for the pointer. I did manage to find that in the end and am getting there!

    So within my SitefinityWebApp project, I created a "Navigation" folder under "Mvc\Views" and created a file "NavigationView.XXX.cshtml" and copied the contents of "NavigationView.Horizontal.cshtml" in the bootstrap resource packages folder. I just changed the Brand text to prove it works. The bootstrap submenu wasn't working until I realised I needed to point the Url.WidgetContent to "ResourcePacakges/Bootstrap/assets/etc..." and now the menu is rendering to my template and the bootstrap submenu is working good.

    So final thing (for now) is that the drop down menu is not rendering even though I've not excluded it yet (so there is a line the does a @Html.Action("Getview" etc. for the Dropdown view.) I'm guessing this is happening because the Dropdown view is now not relative to this template? How would I still reference it if I needed it? (which I don't, but so I know)

    I also tried copying that same Dropdown.cshtml into my project folder but it's not picking that up either.

    Thanks for your help!

    Kuba

3 posts, 0 answered