Re: Hide register link on login page Dawn

Solved

How can I hide the register link on the login page in Dawn?

IMYOURGIRL
Shopify Partner
51 1 11

Hi guys,

Is it possible to hide only the register link on login page, but keep the 'lost password' link?

I tried to use this code, but of course it hides all links:

.login a {
    display: none;
}

I want to hide this, because I want to manually add customers to my store, because only registered customers can shop (B2B). Therefor I don't want everybody to just register to get access to the store,

 

Thanks!

 

Accepted Solution (1)
Dan-From-Ryviu
Shopify Partner
10094 2006 2058

This is an accepted solution.

Go to your Online store > Themes > Edit code > open main-login.liquid, add this code below after {%- style -%} element

.customer a[href="/account/register"] { display: none !important; }

Screenshot_3.jpg

- Helpful? Like and Accept solution! OR Buy me coffee ❤️
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 5 (5)

Dan-From-Ryviu
Shopify Partner
10094 2006 2058

Hi @IMYOURGIRL 

Could you share your login page URL?

- Helpful? Like and Accept solution! OR Buy me coffee ❤️
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

IMYOURGIRL
Shopify Partner
51 1 11

Hi @Dan-From-Ryviu 

This is the development store

Pass protection = dba

Thanks for looking with me 🙂

Dan-From-Ryviu
Shopify Partner
10094 2006 2058

This is an accepted solution.

Go to your Online store > Themes > Edit code > open main-login.liquid, add this code below after {%- style -%} element

.customer a[href="/account/register"] { display: none !important; }

Screenshot_3.jpg

- Helpful? Like and Accept solution! OR Buy me coffee ❤️
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

IMYOURGIRL
Shopify Partner
51 1 11

Thank you @Dan-From-Ryviu ! I've added this in my custom CSS which I prefer because of updating the theme regularly ;). But it works there aswel, so thank you!

Dan-From-Ryviu
Shopify Partner
10094 2006 2058

You are very welcome. @IMYOURGIRL 

- Helpful? Like and Accept solution! OR Buy me coffee ❤️
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.