CSS Stylesheets: Managing stylesheets
CSS Stylesheets in Hubhus let you create reusable CSS files hosted on a public URL — reference them across multiple web pages, emails, and templates for consistent styling.
TL;DR
Access: Account → Web Resources → CSS Stylesheets → + New stylesheet. Write CSS. Save → gets a public URL (with optional custom subpath). Include in web pages via <link rel="stylesheet" href="[stylesheet-url]"> or reference in a page layout. Files are browser-cached for performance. Edit in-place — changes take effect on next cache expiry or browser refresh.
3 things to know
Creating a stylesheet
Go to Account → Web Resources → CSS Stylesheets → + New stylesheet. Set a name and optional subpath (URL slug). Write your CSS in the editor. Save → Hubhus generates a public URL (leadvalidator.dk/css/[account]/[subpath].css or similar). Copy the URL from the stylesheet list.
Using the stylesheet
Reference the stylesheet URL in any web page, email, or page layout: <link rel="stylesheet" href="https://leadvalidator.dk/css/...">. Or reference it in a page layout's <head> section so all pages using that layout inherit the styles automatically. Best for: brand colors, typography, form styling, layout grids shared across multiple pages.
Editing and caching
Edit CSS via the orange edit icon in the stylesheet list. Changes are saved immediately but browsers may cache the old version. To force a refresh during development, append a version parameter to the URL: ?v=2. For production, allow browsers to cache — this improves page load speed for returning visitors.
Common searches
CSS stylesheet • reusable CSS • web resources CSS • stylesheet URL • shared styling • page styling
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article