Agentmonkey / Learn /
How to add custom CSS to any website
You can change the look of any site in your own browser with CSS. There are three ways, from a quick experiment to a change that stays.
1. Try it in DevTools
Right-click the element, choose Inspect, and edit the styles in the panel. This is the fastest way to find what works, but the change is gone when you reload.
2. Keep it with a user styles extension
A user styles manager such as Stylus saves your CSS and applies it each time you open the site. You write the CSS yourself or install a theme someone else made.
/* example: hide a sidebar and widen the content */
.sidebar { display: none !important; }
.content { max-width: 100% !important; }3. Ask your AI to write it
With Agentmonkey, your AI app reads the page you have open, finds the right selectors and writes the CSS. You say "hide the sidebar and make the text bigger" and the change is saved as a tweak for that site.
Tips that apply to all three
- Site styles are often specific, so your rules usually need
!important. - Class names on large sites change often. Prefer stable hooks such as element types, roles and data attributes.
- Keep one small rule set per change, so you can switch a single change off.
Related
Questions
Does custom CSS change the site for other people?
No. It is applied in your browser only.