WebSite X5Help Center

 
Mandar V.
Mandar V.
User

Can I display different header to different pages?  en

Autor: Mandar V.
Besucht 587, Followers 1, Geteilt 0  

Please visit www.sagarsawali.com

I think this is my best creation since I started using Website X5; Way back 12 years ago I guess.

To make this website more attractive & user friendly, I need help.

Can I display different headers on different pages?

Awaiting for your reply. 

Mandar

Gepostet am
8 ANTWORTEN
John S.
John S.
User

Answer to your question: No - and yes.

Normally the X5 header will be the same on all pages.

But you can make your "own" header by having no X5-header but have an object on each page. You can then make this "header" sticky by using code.

What will you have in the "header"?

Mehr lesen
Gepostet am von John S.
Mandar V.
Mandar V.
User
Autor

I need 4 different headers on 4 different pages. 

@Ladghar

@Karde

@Murud

@Wedding

Will you please guide me with the code? I'm very poor at coding; I am sorry. 

Thank you in advance.

Mehr lesen
Gepostet am von Mandar V.
John S.
John S.
User

I have on this site: https://www.bramminginfo.dk/

made sticky left-menus that adapts to the levels. It is a very handy navigation for desktops. When the screen gets smaller the menus turn into hambutgers. Each page has the head menu that disappears on scroll and then a level-menu that is to the left or as a sticky hamburger on smaller screens.

I have also made an offset for anchors so that anchor-links is not hidden by a sticky top-menu.

All this is rather complicated. I think you will not succeed with such a solution. And it will be like shoot sparrows with canons, I think. I have several hundreds pages in this project and also many levels.

In my next post(s) I will suggest some solutions for you. If I understand it correct, you want to have the sub-level-pages to be "visible" in a kind of menu for that level.

Mehr lesen
Gepostet am von John S.
John S.
John S.
User

Suggestion 1:

On this page: https://www.bramminginfo.dk/ribe-by.html

You will see a menu to the left for the level. If you choose the lower menu "Områder", you will see a page

with a top-menu with 3 extra menu items (4 in total)

This is X5 standard that requires no special code. Disadvantage with this solution is that the menu disappears on scrolling. Advantage is, that it requires no special code.

Mehr lesen
Gepostet am von John S.
John S.
John S.
User

Suggestion 2:

On this page: https://www.bramminginfo.dk/drivvejen.html

you will see the same "problem" solved in another way. I have a kind of menu under the upper image. This menu is made as links in a text-object. It also disappears on scrolling.

AND I have also made a special menu in lower left corner.

It is a "menu" that will fold/unfold on click. It is made sticky, so it does not disappear on scroll.

On smaller screens it will cover what you else have on the page, so there is made extra space in the bottom of the page where it can be "parked" without covering anything.

Mehr lesen
Gepostet am von John S.
John S.
John S.
User

My suggestion 1, you can make by using the X5 menus on a page.

If you are interested in suggestion 2, let me know and I will try to guide you.

There is many other ways, but I will only suggest these 2.

Mehr lesen
Gepostet am von John S.
John S.
John S.
User

About suggestion 1:

I know there is also the sticky-menu in the lower left for the 3 places. But you should imagine that it will also function if it wasn't theresmile

Mehr lesen
Gepostet am von John S.