WebSite X5Help Center

 
Nigel A.
Nigel A.
User

Sticky Bar - how to display all the time?  en

Autor: Nigel A.
Besucht 977, Followers 1, Geteilt 0  

Quick question.

I'm new to WebSite X5 and I have a question about the Sticky Bar.

I would like the Sticky Bar menu to appear all the time, but it seeems when you open a page you have to scroll down before it displays.

I have a couple of pages that are not long enought to scroll in, menu never appears!

Nigel.

Gepostet am
7 ANTWORTEN - 1 NüTZLICH
Daniel W.
Daniel W.
User

Why should short pages show a sticky bar at all?

The sticky bar is sort of a replacement for the header area on long pages.

Mehr lesen
Gepostet am von Daniel W.
Franz-Josef H.
Franz-Josef H.
Moderator

In step 2 "Template" you can use the options 'Template structure' and 'Template content' to define a header that has the same size and appearance as the StickyBar. so you have the same header on all pages and when scrolling on long pages, the StickyBar appears, which looks just like the header.

Mehr lesen
Gepostet am von Franz-Josef H.
Nigel A.
Nigel A.
User
Autor

Franz-Josef, I've been playing around with the Template Structure and Template Content side of things, still learning this software. I've found a way of doing what I wanted without needing to duplicate the menu in two places. I'm sure this is probably a bug, but it's one I would hope they never fixinnocent

1/ Open Template Structure and set the Heading height to what you need it to be.

2/ Go to Template Content and define your Header in normal way (Logo, Text, Image ...) but do not add a menu item if you are wanting to use the Stick Bar.

3/ Define your sticky bar with watever you would like to display on every page.

4/ Back to Template Structure and now under Page Section > Header, set the height to 0 (zero).

5/ Make a note what the working height was before setting to 0!! 

You will now get your Header and Sticky Bar menu displaying correctly. See attached image from my live web site. The menu and social icons are in the Sticky Bar, The Nigel Aves Photography graphic is in the Header.

Hope this helps someone else. Took me ages to get this to work cool

Nigel.

Mehr lesen
Gepostet am von Nigel A.
Pavel M.
Pavel M.
User

It is necessary to make a zero header in the template

Mehr lesen
Gepostet am von Pavel M.
Nigel A.
Nigel A.
User
Autor

Pavel and Franz-Josef, 

I've just discovered that my messy workaround only seems to work on my Home page.

It was a good try though!

I think in the Sticky Bar description "to make navigation menu always available", we seem to have redefined what the the word Always means! cool

Nigel.

Mehr lesen
Gepostet am von Nigel A.
Esahc ..
Esahc ..
Moderator

Nigel, do as Pavel suggested. Remove all existing content from the header, in the template structure, set header height to zero. The sticky bar (if defined) will now immediately display.

Mehr lesen
Gepostet am von Esahc ..
Nigel A.
Nigel A.
User
Autor

Esahc,

I did do that, sort of found it on my own as well (1) but as I needed the header with a lot more information to display on all pages I went back to the standard menu.

With the "page to top" icon on the bottom left, I can live with it as it is.

Bit of a shame though, I'm sure some programmer could look at it and say, "You know, I can fix this!" or even "Sai, posso aggiustarlo!" cool

Nigel

Mehr lesen
Gepostet am von Nigel A.