Re: How to get only one of the main menus to open with a new tab

How to get only one of the main menus to open with a new tab

jihyun_55
Excursionist
15 1 1

My store is using an aura theme, and the address is https://eu.nakyangyarn.com/ 
The cookie policy is not perfect and is protected, and the password is 'aaa0123'.

I'm using a third-party theme called 'Aurora'.


I would like to make sure that only the 'WHOLESALE' menu is opened with a new tab among the main menus on my website.
And can I set the 'WHOLESALE' menu to look grey only?

jihyun_55_0-1713405519674.png

I've looked at a lot of code but I don't know which liquid I should add the code to.

 

Replies 5 (5)

AnneLuo
Shopify Partner
1126 210 231


You can try this code to change color by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code to the head tag

<style>
  .header__item--wholesale {
     color: grey !important;
  }
</style>

 

Open page with a new tab:

You need to find the location of the WHOLESALE tag and set the target="_blank" attribute.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If you require any more help, please don't hesitate to reach out.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

jihyun_55
Excursionist
15 1 1

Thank you! The grey tag works fine.

 

Can you tell me how to locate the wholesale tag easily?

I've tried opening a lot of codes, but I couldn't find the location of the "wholesale" tag.

AnneLuo
Shopify Partner
1126 210 231

It need to add condition in the code. If necessary, I can help you implement it. so I need to access your store as a collaborator if possible. 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

jihyun_55
Excursionist
15 1 1

Can I get some help? What should I set up to give you access as a collaborator?

AnnAshen
Shopify Partner
18 1 2

Hi! Ann from Aurora dev team here. A small addition regarding coloring the 'WHOLESALE' menu item. In the new Aurora version (3.1.0) it is possible to color menu items right in the theme, without using CSS or custom code.