WebSite X5Help Center

 
Heiko K.
Heiko K.
User

Custom Template - header picture distance to top page border  de

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

I (still) have Website X5 Version 8.0.0.16.

I try to crate a custom template. It has a header picture, horizontal menu image and background image. The header picture from template always has a distance (maybe 5-10 pix) to the top of the webpage and so it never fits with my background image.

Is there a way to fit the header image to the top of the page?

Best regards

Heiko

Размещено
2 Ответы
Incomedia
Claudio D.
Incomedia

Hello Heiko,

Unfortunately this is a default setting in Version 8 which can be changed only by adding following code in Step 1 - General Settings - in the Expert Tab in the Box for customize the header after the code that is already present:

<style>
#imSite { margin-top: 0px!important}
</style>

Please let me know if it works.

Читать больше
Размещено От Claudio D.
Heiko K.
Heiko K.
User
Автор

Hello Claudio,

yes it worked perfectly. Thank you for the help! My solution was much more expensive. I simply expanded the background image height by the 16 pix offset lol. But of course this will not a practicable solution for everyone. Your tip is better.

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