WebSite X5Help Center

 
Nigel P.
Nigel P.
User

Page Menu Alignment V12 Pro  en

Autor: Nigel P.
Visited 2161, Followers 1, Udostępniony 0  

I have a website that the customer requires that the menu titles are centralised in the Menu Bar, the menu wraps around over 2 lines which breaks and centres nicely in V10 & V11. In V12 the settings are ignored and default to the left.

How to show fault.

1)      Create New Project in V12 , I am using the ‘Pro’ version

2)      {1} Select General Settings -> Template Style -> ‘Main Template Structure’ -> Horizontal – Menu below the header -> ‘Page Section’ – select ‘Menu’ -> Content properties – Set alignment to ‘Centre’ -> then ‘Preview’. You may need to apply background colour to see the positioning, but you will see the menu centred between the Right and Left margins.

3)      {2} Map Creation – Add  4 new pages to the Map (don’t need to enter any details) -> then ‘Preview’. The Menu will now appear in 2 lines but justified to the left even though the settings are set to centre.

This worked OK in V10 and V11 but not in V12

Posted on the
4 ODPOWIEDZI
Incomedia
Claudio D.
Incomedia

Hello Nigel,

The behaviour is correct since now the menu is no longer composed by images but it uses a text and since the menu is wide as the menu bar it moves only a few pixel and any change could bring issues to the responsive menu.

Many thanks!

Czytaj więcej
Posted on the from Claudio D.
John S.
John S.
User

Hello Nigel

You could perhaps in template costumisation, insert html code.

The html-code could look something like :

<style>

#imMnMn{position:fixed; top: 0px; height: 40px; width: 100%; z-index: 1000;}

</style>

The "fixed" makes the menu always be visible when scrolling on a page.

Hope this is helpful.

You can of course style it Your own way.

Kind regards

Schwartz

Czytaj więcej
Posted on the from John S.
John S.
John S.
User

Hello Nigel

Forgot : You set the html code in the header.

Czytaj więcej
Posted on the from John S.
Nigel P.
Nigel P.
User
Autor

Will check it out later as I'm on holiday at the moment and my wife doesnt want me working. 

Czytaj więcej
Posted on the from Nigel P.