Shopify themes, liquid, logos, and UX
Hello All. I've tried searching the forums and got part of the way to a solution, and have tried a few other fixes I found here, but have yet to be able to find a solution that works for my site so I'm hoping someone here can help me. I've included the site information and password below.
site: mesynthesis.com
p/w: leushe
Thanks much for any help you can provide.
Solved! Go to the solution
This is an accepted solution.
Hi, Sorry this post got hide on another notification. Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
nav.header__inline-menu a {
text-decoration: none;
}
.header__menu-item span, .header__menu-item a {
transition: text-decoration var(--duration-short) ease;
}
.header__menu-item:hover span, .header__menu-item:hover a {
text-decoration: underline;
text-underline-offset: 0.3rem;
}
details[open] > nav.header__inline-menu {
text-decoration: underline;
}
details[open]:hover > nav.header__inline-menu {
text-decoration-thickness: 0.2rem;
}
</style>
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @DavidW81 ,
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>
<style>
header-menu a {
text-decoration: none!important;
}
.image-with-text__media img {
max-height: 500px!important;
object-fit: contain!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
Hi @DavidW81
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
nav.header__inline-menu a {
text-decoration: none !important;
}
@media screen and (min-width: 750px){
.image-with-text__media img {
object-fit: contain;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you all! Everyone's solutions helped out with the underlining of links in the menu bar and the last solution from Made4uo-Ribe also helped out to ensure the multi-row images stay a consistent size.
I tried all three solutions for removing the underlining, and all removed the underlining but also produced an unintended side effect. Teh "About" link has the default behavior, and the drop down menu options are no longer underlined, but now they are never underlined so the behavior of the "About" link and all the other links isn't uniform.
The "About" link has the behavior of a default menu item, where it is not underlined normally if just looking at the page. But if you hover over 'About' it then becomes underlined. Then if you click on it and you're on that particular page it remains underlined. Is there a simple way to make all of the links behave that way so everything 'feels' the same when navigating the website?
Hi,
As you said in the post you just like to remove the underlines in the menu. You didnt mention to fully remove when the pages is active, hover or so on. I like to ask it before I give the solution but I leave it that way cause that is only you requested. Please, be more specify what do you like to remove.
Thanks!
Understood. I'm sorry for not being more clear. I'll try to clarify as best I can here.
Thanks much, and again I'm sorry for the previous confusion.
Hello again. I just wanted to follow up and see if there might be an update on how I could accomplish this? Thanks much.
This is an accepted solution.
Hi, Sorry this post got hide on another notification. Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
nav.header__inline-menu a {
text-decoration: none;
}
.header__menu-item span, .header__menu-item a {
transition: text-decoration var(--duration-short) ease;
}
.header__menu-item:hover span, .header__menu-item:hover a {
text-decoration: underline;
text-underline-offset: 0.3rem;
}
details[open] > nav.header__inline-menu {
text-decoration: underline;
}
details[open]:hover > nav.header__inline-menu {
text-decoration-thickness: 0.2rem;
}
</style>
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Worked! Thank you so much!
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024