web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / restoring my header te...
Power Pages
Answered

restoring my header template, web link set to use default

(0) ShareShare
ReportReport
Posted on by 120

After trying to switch to a new link set, I've clobbered my header navigation, so that nothing (beyond logo, background etc) appears. I'd be happy if I could restore back to defaults, while I figure out what I did wrong.

 

My breadcrumbs: I deactivated the Default Link Set, and activated the edited Primary Navigation set. Synched, previewed, saw no change.  Couldn't find the Component drop-down method to change the Link Set, so I edited the Header template per posts by @OliverRodrigues and others but apparently did it wrong > menus disappeared from header, all pages.  Tried to restore it by undoing my edit, to what I thought was there before, so it now reads:

 

 <div id='navbar' class='navbar-collapse collapse'>
 {% assign primary_nav = weblinks.default %}

 

 
Still no menus.  I notice that the posts treat the syntax as weblinks["name"]. Before I try that, I thought I'd ask: any additional clues to what to try next?  thx

 

Categories:
I have the same question (0)
  • StewC Profile Picture
    120 on at

    OK, update: I changed the Header template language to use weblinks["name"] and that restored my default menus. My bad. Now, if I could just figure out why, after changing to a Google font site-wide, the Search menu item displays as a box rather the magnifying glass... 😉

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi  @StewC 

     

    Try applying the google fonts only to the Headers, paragraph and body, rather than the whole site. 

     

    Hope it helps.
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

     

     

  • Verified answer
    Paul_M Profile Picture
    264 on at

    Hi @StewC,

    Try restoring to the saved version of power pages when it was working last.
    You can do it though power platform admin centre. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 50

#2
Valantis Profile Picture

Valantis 26

#3
omkarsupreme Profile Picture

omkarsupreme 24

Last 30 days Overall leaderboard