Shopify themes, liquid, logos, and UX
Hi all
I have two questions:
1.
My homepage has a main Slide with an image that already contains the logo, so I need to remove the logo from the Header section...how can I do that?
If I remove the image, then it leaves the alt-text...I need that gone too.
2.
the Slide section has a button that I use to direct users to my product collection...how can I change the position of the button?
Or is it better if instead of a Slide I use an Image and then add a button on top of it? If so, how can I do that ?
Thank you so much!
Solved! Go to the solution
This is an accepted solution.
unluckily that didn't work.
I ended up using this for the header:
.header__logo {
display: none;
}
and
.button-grid-container {
position: absolute;
}
for the button
Hi @SebTBP ,
You can add below css to hide logo from home page header. But regarding changing position of button, you will have to edit the theme to do this,
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above </body> tag
<style>
body:has(#shopify-section-template--15922817171596__slideshow-1) .header__logo,
body:has(#shopify-section-template--15922817171596__slideshow-1) a.mobile_logo.logo
{
display: none!important;
}
</style>
If you require further help to optimize your store, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
This is an accepted solution.
unluckily that didn't work.
I ended up using this for the header:
.header__logo {
display: none;
}
and
.button-grid-container {
position: absolute;
}
for the button
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025