Post pages are using css and js from homepage's Cornerstone settings

We have some custom css and js within the Cornerstone settings for our homepage using X-Theme, however, we only want this css and js to appear on the homepage. Recently, we noticed that this css and js is being loaded on dynamic pages too, including the posts lists subpages (page 2, 3, etc.). This happens on the previous version of X-Theme. After upgrading to the latest version, this also happens on the post main page.

Is this a known bug, and is there a workaround you can suggest? This custom css and js is supposed to be exlusive to our homepage, so we never entered it into the global css or js areas within Cornerstone settings.

Please advise.

1 Like

Hi There,

Thanks for asking!

Please edit the home page in cornerstone and you will find the CSS and JS edit link in the left side of the page. Remove the CSS and JS from global section and use it there.
I am assuming you are using the latest version of the Cornerstone and X theme.

Hope this help.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.