Need help, new to Shopify

Hi,

I am very new to shopify. I used to run a prestashop website but that was so tedious to maintain and very old fashioned. I have started a new business selling jewellery.
There are just two problems that I can’t seem to solve.

  1. I want a hover option in my header. If people hover over a category that it automatically expands

  2. I have sizes and colour options for my jewellery (for example rings). It now puts a really long list at the bottom of my site. I simply want two drop down menus. How can I change this.

    I am currently using the free theme ‘Trade’.

    I would be really grateful for any help.

hey @LadyJewellery share the URL of your Website so i can help you or if you have any other issue in your website feel free to share it

Hi @LadyJewellery , Please provide store url i can provide you exact solution instantly

I see the online store, but I do not see customize, just edit theme. There is no product template there.

Hello @LadyJewellery Thanks for reaching out to Shopify community with your concern. If you can provide the URL of your store and if it is password protected please share the password too. Or maybe if you can mention the Shopify theme you are using. Thanks

Hi @LadyJewellery

Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.

Best regards,
Devcoder :laptop:

Hello @LadyJewellery ,

Welcome to Shopify!

Making the header menu open on hover (instead of click)

The Trade theme uses <details> and <summary> for dropdown menus, which normally open on click. To make them open smoothly on hover, we added a small CSS animation and a bit of JavaScript.

Step 1 – Add this CSS

Go to:
Online Store → Themes → Edit code → assets → base.css

Add this at the bottom:

.header__submenu {
opacity: 0;
transform: translateY(12px);
transition: opacity 0.25s ease, transform 0.25s ease;
}

.header__inline-menu details[open] > .header__submenu {
opacity: 1;
transform: translateY(0);
}

This adds a smooth fade + slight slide effect.

Step 2 – Add this JavaScript

Go to:
Online Store → Themes → Edit code → layout → theme.liquid

Scroll to the bottom and paste this just before </body>:

<script>
document.querySelectorAll('.header__inline-menu details').forEach((menu) => {
const summary = menu.querySelector('summary');
let timeout;

summary.addEventListener('click', (e) => {
e.preventDefault();
});

menu.addEventListener('mouseenter', () => {
clearTimeout(timeout);
menu.setAttribute('open', '');
});

menu.addEventListener('mouseleave', () => {
timeout = setTimeout(() => {
menu.removeAttribute('open');
}, 200);
});
});
</script>

Now the dropdown opens on hover and closes smoothly when the mouse leaves.

Changing long variant list into dropdown menus (Size & Colour)

If your variants (like ring sizes and colours) are showing as a long list, you can switch them to dropdowns from the theme editor.

Go to:

Online Store → Themes → Edit Theme

Then at the top center dropdown, select:

Products → Default product

On the left panel:

  1. Click Product information

  2. Click Variant picker

  3. Under “Style”, choose Dropdown instead of Pills or Buttons

  4. Save

This will display:

  • Size → Dropdown

  • Colour → Dropdown

Much cleaner, especially for jewellery products.

Let us know if you need further assistance!

Hi @LadyJewellery,

Coming from PrestaShop, you’ll love the stability, but the “Trade” theme does require two quick manual adjustments to get the look you want.

1. The Menu (Hover vs. Mega Menu)

Shopify’s free themes use “Click to Open” for better mobile compatibility. To make it more expansive:

  • Go to Online Store > Themes > Customize.
  • Select the Header section on the left.
  • Change Desktop menu type to Mega menu.
  • Note: If you require a true “hover” (no click), you will need a third-party app or a custom CSS snippet.

2. Collapsing the List (Variant Picker)

Your “Pills” setting is what’s creating that long list. To switch to a clean dropdown:

  • In the Customize editor, navigate to a Product Page.
  • Click the Variant Picker block (under Product Information).
  • Change Picker type from Pills to Dropdown.
  • Click Save.

Regards,
EmbedAny Support