Dear all,
Can anyone assist me with making the pages show below the header?
This needs to be done only in pages and not on landing page.
Currently it’s overlapping as per attached picture
Would be really appreciated.
Website: https://b6c7e8-65.myshopify.com
Pass: test
Kind regards,
Lisa,
1 Like
Hi @Lisavdijk , Add the below code to your “theme.liquid” before tag.
{% if template contins 'page' %}
{% style %}
#MainContent section:first-child {
margin-top: 80px;
}
{% endstyle %}
{% endif %}
AT…
Hello @Lisavdijk
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
@media screen and (max-width: 767px){
h2.rich-text__heading.rte.inline-richtext.h2.scroll-trigger.animate--slide-in {
padding-top: 54px !important;
}
}
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Please add this code to theme.liquid file, after in Online Store > Themes > Edit code
{% if template == 'index' %}
@media (max-width: 990px) {
body .header-wrapper {
background: transparent !important;
position: absolute !important;
width: 100% !important;
top: 0px;
}
}
{% else %}
@media (max-width: 990px) {
body .header-wrapper {
position: relative !important;
width: 100% !important;
top: 0px;
}
}
{% endif %}
- Here is the solution for you @Lisavdijk
- Please follow these steps:
- Go to Online Store → Theme → Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before and press ‘Save’ to save it
{% if template.name != "index" %}
{% endif %}
- Here is the result you will achieve:
- Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
1 Like
Hi all,
Sorry for my late reply, had a busy week.
This worked, appreciate your help 
Kind regards,
Lisa
1 Like
Glad to help you. Have a good day.
1 Like