WebSite X5Help Center

 
Marius T.
Marius T.
User

Header full size  en

Автор: Marius T.
Просмотрено 1959, Подписчики 1, Размещенный 0  

I want a header to be full size on width and resizing at lower resolutions. I have read https://helpcenter.websitex5.com/post/86745 but it does not satisfy me.

How can I do this?

How can I make all page responsive but the header image being scaled on lower screens?

Размещено
6 Ответы - 2 Полезно - 1 Корректно
Marius T.
Marius T.
User
Автор

Hello Jamie and thanks, but it is a mistery: how to insert custom code in header section, where ? How ? After editing in Website? I do not want this, I want to be solved inside X5.

And more, about dynamic images there is an asnwer about "some" custom code. What code ??

"if it is just a static image that you want insert an image into your header background then add this in your header section

<style>

#imHeaderBg {
background-size: cover;

</style>"

Читать больше
Размещено От Marius T.
Jamie B.
Jamie B.
User

Hi

place the code in the statistics, seo & code in the expert section place it in the before closing the head tag you can see it works here:

https://www.x5tuts.com/test5/

regards

jamie

Читать больше
Размещено От Jamie B.
Marius T.
Marius T.
User
Автор

Thank you, Jamie. It do not works :-(

It is resizing a bit but under 960 px dissapear. The test page you've shown looks great.

Читать больше
Размещено От Marius T.
Jamie B.
Jamie B.
User

Hi

My mistake you need to tick responsive in evo 12 and then add the same image in the responsive template as well as the main template.

regards

jamie

Читать больше
Размещено От Jamie B.
Marius T.
Marius T.
User
Автор

Now it works! Thank you for your time and effort. of course it should be the same image there, I could figure it myself but ... i didn't.

Thanks, Jamie!

Читать больше
Размещено От Marius T.