Issue with Loading CSS File in HubSpot CMS using require_css and get_asset_url

I am currently following the “HubSpot CMS for Developers” course, and I’ve encountered an issue while working with the drag and drop area in the CMS.

In one of the lectures, the instructor links a CSS file using the following code:
{{ require_css(get_asset_url(‘boilerplate/css/layout.css’)) }}
In my case, the CSS file I need to link is located at:css/objects/layout.css

So I used the following path:
{{ require_css(get_asset_url(‘boilerplate/css/objects/layout.css’)) }}

However, the file does not seem to load, and no styles are being applied. I have confirmed that the file exists in the specified location within the Design Manager.

Could you please assist me in identifying what might be going wrong here? Is there a different or correct way to reference this file in my case?

Looking forward to your support.

@Ikram8147 is the file you created in the boilerplate? or in your theme? I think the issue might be the boilerplate/ directory in the path and you should replace that with your theme name.