Combined CSS Files - 2 min files appearing in one template

@cbarley Hi Connor, (or anyone available to help if Connor is not available). I am opening up a new thread (as requested) from this thread https://community.hubspot.com/t5/APIs-Integrations/Combined-CSS-File/m-p/227424

My problem is that my web page is pulling in two css (min files), yet I only have one css file listed in the page template. For the life of me, I can not find where the second file is being imported from. Could this problem be similar to the link above??

The photo below shows my template pulling in one css file named BSUS - MJFW_Styles.css

Below is the “inspect” from the browser to show both min files.

I assume that Hubspot has minified the files automatically.

Brief background: I am newly taking over this site development. We are hosting multiple domains on one hubspot instance, and my task is to separate the files so an edit to one css file does not effect the other websites.

Thank you in advance for any insight to what could be causing two files to be pulled in.

Hey @FredSan ,

Have you checked in the site settings? Any global groups that might have a {{ require_css }} in it?

Mind posting a link to the site in question as well?

@jonchim , @alyssamwilie any thoughts?

Hi @dennisedson , Yes, I have checked the settings and there are no stylesheets attached. I can not find any global groups that have a {{require_css}} tag. The website is listed below.

Thank you for looking!

I’m thinking a stylesheet might be attached in the global settings? but a link to the site would help so we can take a closer look.

Hi @jonchim , No css file has been chosen from the settings page.

Hey @FredSan

From the source code I see
<link rel=“stylesheet” href=“https://www.brightsparktravel.com/hs-fs/hub/5071474/hub_generated/template_assets/29629459832/1604070864230/MJFW_BSCA/MJFW_Code_Files/mjfw_styles.min.css”> being called in the site header, when you’re in the global settings are you editing the default settings for all domains? or did you choose a specific one?

Got it @FredSan if you go to the dropdown and choose default settings for all domains instead of brightsparktravel, you should see a spot where you edit the site header (this may change from domain to domain)

Hi @jonchim , yes, I selected the unique url.

Can you select default and check the header settings to see if the css is being called there?

@jonchim and @dennisedson I have found the solution with your help. The file was not being called in the settings area, but it was being called inside a global header that was being pulled into the template. I must have looked there 5 times before. Thank you for your help!!!

Awesome!!