Encountering a problem where the Craft CMS website loaded the homepage from the default page, we executed the following solution. Initially, we updated Composer with the necessary information. Subsequently, we adjusted the default homepage path to point to a custom file and made essential modifications to style locations, directing them to a custom folder. By rebuilding the package with Composer, the style files were seamlessly updated on a designated path. Consequently, every page loaded thereafter fetched CSS styles from the custom path, successfully resolving the issue.