Currently this is the code used which makes all the pages transparent.
I would like the header to not be transparent on all the pages. Only the homepage.
Currently this is the code used which makes all the pages transparent.
I would like the header to not be transparent on all the pages. Only the homepage.
Hello @Rose1212
It’s GemPages support team and glad to support you today.
Please move that code to theme.liquid file, paste that code before and add liquid code
{% if template == 'index' %}
{% endif %}
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
Hi @Rose1212
You can try this code by following these steps:
Go to Online store => themes => actions => edit code and add this code on file theme.liquid before tag
{% if template.name == "index" %}
{% style %}
.header-wrapper {
display: block;
position: absolute !important;
background-color: transparent !important;
width: 100%;
}
{% endstyle %}
{% endif %}
Hope this answer helps.
Best regards,
Victor | PageFly