Hey guys, found the below code in another thread - and works great on home page or pages with large banners on the top, but for pages that dont have images, it shows like the attached which isnt ideal - how do I set this code to only apply to the home page? Thanks 
.header {
position: fixed;
top: 40px;
left: 0;
width: 100%;
max-width: 100%;
z-index: 999;
transition: background-color 0.3s ease;
}
.header.transparent {
background-color: transparent;
}
.header.black {
background-color: black;
top:0;
}
{% endif %}
Hi @ByAprilCo
You can change code to this so it will apply to homepage only
{% if template == 'index' %}
{% endif %}
2 Likes
ABSOLUTE LEGEND! Thankyouuuu
You are most welcome, @ByAprilCo
Where do you paste this in the code?