Expand my Community achievements bar.

SOLVED

Creating a new page without top navigation bar

Avatar

Level 1

Hello 

 

I am trying to create a new page on the website, but it's not indexed to any of the menu items and I would like to remove the navigation bar completely from the page to avoid people clicking on other parts of the website. 

 

Is that something we can do? 

 

Thanks

Pascale

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @PascaleCo 

I think you are using X-walk and there header tag is added by default. and based on this tag, Nav content is loaded.

You can ask agency to provide option in the page properties to not load nav.

 

arunpatidar_0-1737702641219.png

 



Arun Patidar

View solution in original post

10 Replies

Avatar

Community Advisor

Hi Pascale,

 

Just so I undertand your question, the new page that you have is not part of the menu and hence you want to remove navigation when user is viewing this page, right?

 

This is totally achievable. There are different ways of doing this:

- If you are using a different template for these pages, you can remove navigation from the structure of the template. That way it will not be there in any of the page created from this template.

- If you are using same template for these pages as well, you could add a authorable field in page property, to allow authors to disable navigation from the page. You could then use this property in navigation component to hide it as needed.

 

Let me know if this helps!

 

Cheers!

Avatar

Level 1

Thanks for the quick response! I guess I'm struggling to see where i could find such a property. I should mention that I am not a developer and we had an agency build the website for us. Is that something that they would have had to do? 

 

Screenshot 2025-01-23 at 14.37.46.png

Avatar

Community Advisor

If you give agency that requirement, they would have been able to do it. Assuming you do not have that agency now, you could try creating a new template by following https://experienceleague.adobe.com/en/docs/experience-manager-65/content/sites/authoring/siteandpage...

While configuring you can exclude navigation from there

Avatar

Level 1

I tried to do that but I think we have it setup differently trough the agency as I couldn't find the option of creating a page from  template. Screenshot 2025-01-23 at 21.18.26.png

Avatar

Level 5

If you are using core components component for navigation, I think "Hide in Navigation" page property will help in hiding a page from navigation.

Avatar

Level 7

Hi @PascaleCo 

 

Yes, you can use sightly / Javascript to hide the navigation bar completely from the page you want to create. It can be based on template condition / property check on page template level

 

Hope this helps

 

Thanks

 

 

Avatar

Level 1

Thanks for the reply! I'm afraid I don't have access to the javascript as it site with the agency, we will have to ask them to do it. 

But thanks! 

Avatar

Correct answer by
Community Advisor

Hi @PascaleCo 

I think you are using X-walk and there header tag is added by default. and based on this tag, Nav content is loaded.

You can ask agency to provide option in the page properties to not load nav.

 

arunpatidar_0-1737702641219.png

 



Arun Patidar

Avatar

Administrator

@PascaleCo Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni

Avatar

Level 1

I am not able to know if it would work because our agency contract has expired but I'm assuming that it's the only way to go about it