i need my website https://alto.7180.eu/it/ to have a sticky header.
I tried setting the position to sticky but it seems it's not enough, i think i need to have some other elements set to position relative, but i don't know which ones.
I'm using a slightly modified version of the original Classic template for prestashop 1.7.6
As of right now this is the structure of the site:
<body>
<main>
<header style="position: fixed;">
<!--Header Code with logo, menu... -->
</header>
<!--Page Code-->
</main>
</body>
Could you please help me? Feel free to ask anything if needed. Thanks.
使用z-index: 1
和width: 100%
进行显示。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.