WebSite X5Help Center

 
Esahc ..
Esahc ..
Moderator

Objects in Header - Mobile view only  en

Autore: Esahc ..
Visite 2522, Followers 1, Condiviso 0  

Is the inability to centre or right flush any object (text, image, animation) in the header for the mobile resolution a bug?

If you create a new project, select empty template, responsive and then go to headers then mobile resolution, it is possible to place any object left justified, but it is not possible to centre or right justify any object.

I have worked around this issue by pretending that I have purposefully set the header content to left justify for mobile view, but in fact nothing else works and it is becoming a little frustrating.

In the attached image you will see I have added text to the header (mobile view), ensured the text box is the exact size of the header and set the text to right justified in the text box. The preview clearly shows the header text is not right flush (neither can I set it centred). Even if I resize the text box to the minimum width of the contained text, manually placing the box flush right or centred does not work.

Many thanks for investigating.

Postato il
2 RISPOSTE - 1 CORRETTO
Incomedia
Claudio D.
Incomedia

Hello Esahc,

Do you mean the breakpoint lfro 480px to 0px?

In this one the position of the object is centered only when you reach the correct width for this resolution which is 320px in this template.

I would suggest you to set the breakpoint from 480px to 320px since the last one which goes to 0px is only showing the content on small devices.

Many thanks!

Leggi di più
Postato il da Claudio D.
Esahc ..
Esahc ..
Moderator
Autore

How odd!

Still, that explains a great deal - many thanks.

Leggi di più
Postato il da Esahc ..