WebSite X5Help Center

 
Heiko K.
Heiko K.
User

Custom Template - header picture distance to top page border  de

Auteur : Heiko K.
Visité 650, Followers 1, Partagé 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

Posté le
2 RéPONSES
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.

Lire plus
Posté le de Claudio D.
Heiko K.
Heiko K.
User
Auteur

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.

Lire plus
Posté le de Heiko K.