# Pro theme CSS taking priority over Child theme CSS prevents theme settings to be applied

**URL:** <https://community.hubspot.com/t/pro-theme-css-taking-priority-over-child-theme-css-prevents-theme-settings-to-be-applied/42155>\
**Category:** CMS Development\
**Created:** [August 11, 2021, 3:02pm UTC](https://community.hubspot.com/t/pro-theme-css-taking-priority-over-child-theme-css-prevents-theme-settings-to-be-applied/42155 "2021-08-11T15:02:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![guillaume\_ang](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/guillaume_ang/32/34870_2.png) [@guillaume\_ang](https://community.hubspot.com/u/guillaume_ang)\
**Post date:** [August 11, 2021, 3:02pm UTC](https://community.hubspot.com/t/pro-theme-css-taking-priority-over-child-theme-css-prevents-theme-settings-to-be-applied/42155/1 "2021-08-11T15:02:07Z")

</div>

Hi,

We recently purchased the PRO theme Atlas by Kalungi.

We created a child theme to be able to customise the CSS.

[http://upflowy-20526282.hs-sites.com/test](http://upflowy-20526282.hs-sites.com/test)

Unfortunately, it seems that the main.min.css of the PRO theme is loading AFTER the main.min.css of the CHILD theme, taking priority. As a consequence, the theme settings are not applied as they are overridden by the default values of the PRO theme.

 ![guillaume_ang_0-1628694078565.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/c/cf6a7ec115f764129d71fc991d79522760b3a8c3.png)

The whole website should use the Nunito font, instead of the Rubik or Inter font family.

 ![Screen Shot 2021-08-12 at 12.53.45 am.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/1/21ebe0efce7e0e9eda96f24efd5598a85d83c072.png)

How can that be fixed?

Thanks a lot for your help

---

<div class="post-metadata">

**Author:** ![miljkovicmisa](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miljkovicmisa/32/86357_2.png) [@miljkovicmisa](https://community.hubspot.com/u/miljkovicmisa)\
**Post date:** [August 12, 2021, 7:47am UTC](https://community.hubspot.com/t/pro-theme-css-taking-priority-over-child-theme-css-prevents-theme-settings-to-be-applied/42155/2 "2021-08-12T07:47:13Z")

</div>

Hello [@guillaume\_ang](https://community.hubspot.com/t5/user/viewprofilepage/user-id/134462) , thank you for writing,  
Could you post the code from the template file?  
It will possibly be in the “templates” folder and then inside the “layouts” folder of the child theme folder you created in the design manager. The filename will be something like “layout.html”. The ordering is done from within the template so you should change it from there, its very likely to look something like this:

```auto
{{ require_css(get_asset_url("../0_upflowy_atlas/css/main.css")) }}
{{ require_css(get_asset_url("../0_upflowy_atlas/css/custom.css")) }}
{{ require_css(get_asset_url("../../kalungi_com/Atlas_Pro_SaaS_Website_Theme/css/main.css")) }}

```

So you only need to change the order so that the desired css be at the bottom.

If you need help navigating in the design manager [this page will help you.](https://knowledge.hubspot.com/design-manager/a-quick-tour-of-the-design-manager)

If you need further assistance you can always post here with further details.  
_ **If my answer was helpful please mark it as a solution.** _
