Shopify themes, liquid, logos, and UX
Hi, and thanks for your time.
Theme used : Craft.
Website : thedudworkshop.com
I have been planning to put my portfolio on my website, but I have been struggling with the layout. I have a specific idea in mind for the looks of the page, which I can achieve with the Shopify editor, but I have a problem : my header and footer do not fit the aesthetic of the page, but I can't hide them without also hiding them everywhere else on my website.
The problem is the same for my announcement bar, which I would like to change to have a different color than the one on the main page and a different text, or if that's not possible, hide altogether as well.
I have tried several solutions found on this forum, such as this kind of addition to the layout\theme.liquid section :
{% if page.id == 134914736465 %} <style> #shopify-section-announcement-bar, #shopify-section-header, #shopify-section-footer { display: none !important; } </style> {% endif %}
but nothing has worked.
I would appreciate your help !
Axel
How it looks :
(footer not shown for screenshot reasons, but it's there)
What I want it to look like :
Hi @Axel_Todorovic, You can try with this code:
{% assign full_url = request.host | append: request.path %}
{% if full_url contains '134914736465' %}
<style>
#shopify-section-announcement-bar,
#shopify-section-header,
#shopify-section-footer {
display: none !important;
}
</style>
{% endif %}
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
I have tried to put the code you gave me in my theme.liquid (inside the <head> section, see screenshot for reference), but it hasn't done anything. I also tried to place it in the <body> section, but had the same result, i. e nothing.
Please inform me if I am simply using the code wrong or if that's where it should be placed.
Thank you for your help !
Hi @Axel_Todorovic,
Can you kindly share the details of your problem (link page) with us? We will check it and suggest you a solution if possible.
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Here is what the page looks like now, it's a WIP still : https://thedudworkshop.com/pages/portfolio
The rest of the details you've already seen in the original post.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025