Hi,
I have applied a portfolio page which is acting as my home page. On this page I have customised the header to be sticky so that it appears under a video on loading the page and as you scroll down it sticks to the top. This works perfect on the home page but it is the only page that i want it to appear. It doesnt happen on the contact us or about page however at the moment it is appearing on the portfolio subpages which are linked to the home page. Does anyone know how to exclude this style from appearing on the subpages. Below is the code I have currently
<style>
@media screen and (min-width: 768px) {
#header {
position: sticky;
top: 0;
display: none;
z-index: 10000;
}
main .page-section:first-child + #header {
display: block;
}
main .page-section:first-child {
min-height: calc(100vh - 93px)!important;
}
}
</style>