Linking css file from html to directory

Within my themes html file, I have just added a css file. I would like to link this file to a new directory that I have just created. How would I do that?

Hi,

I’m not sure what you mean by “new directory” as you cant create new directory’s in Shopify in terms of a Folder Directory.

However create your new CSS file under Code editor - Assets and link to your themes html file like this.

{{ 'my-new.css' | asset_url | stylesheet_tag }}

If you require more control of the link html.


Regards

I have another question: I own the domain youutekk.com This link
youutekk.com/.well-known/apple-developer-merchantid-domain-association
<>ion> directs me to a domain confirmation number that I am trying to get
confirmed via Braintree. However, I can’t control its path via the online
store html code redirecting nor the redirecting function you have provided.
Is there a way I can obtain control of where this link takes me?
youutekk.com/.well-known/apple-developer-merchantid-domain-association
<>ion> Is there any reason Braintree would not accept when trying to add
apple pay?

Hi,

Do you have a guide you’re following as this looks correct for what Apple is expecting.
https://developer.apple.com/documentation/applepaywebmerchantregistrationapi/preparing_merchant_domains_for_verification
Do you have instructions to provide code to Braintree in a particular way via HTML or file etc.
Regards

Hi. I am using this same guide. However, the point in which I am trying to validate the domain just gives me an error message. I got to the domain link and it showed the license that was required. However, we still receive an error message.

Hi @ZAAK

Seems you have done step 1, is the error happening on step 2 - what error message are you receiving?

  1. Host your domain-verification file at the following path for each domain you’re registering:

https://[DOMAIN_NAME]/.well-known/apple-developer-merchantid-domain-association

  1. The domain-verification file must be in place before you invoke the Register Merchant API.
    Be sure to use the domain-verification file associated with the merchant ID that you provide in the encryptTo field.

Regards