WebSite X5Help Center

 
Heiko K.
Heiko K.
User

Custom Template - header picture distance to top page border  de

Author: Heiko K.
Visited 645, Followers 1, Shared 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

Posted on the
2 ANSWERS
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.

Read more
Posted on the from Claudio D.
Heiko K.
Heiko K.
User
Author

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.

Read more
Posted on the from Heiko K.