CSS (Cascading Style Sheets) is a styling language that determines how HTML elements are displayed on a web page. With CSS you control colours, fonts, margins, layout and animations on your website.
CSS in WordPress
In WordPress CSS is used in several ways:
- Theme stylesheets: every WordPress theme has a
style.cssfile that defines the appearance of your WordPress website. - Customiser: via the WordPress Customiser you can make simple CSS adjustments without writing code.
- Additional CSS: in the WordPress dashboard you can add your own CSS rules under “Appearance > Customise > Additional CSS”.
- Page builders: tools such as Elementor offer visual CSS editing without the need to write code.
Why is CSS important?
CSS is essential for a professional website. It determines not only the appearance but also the user experience. Well-written CSS ensures:
- Responsive design: your website adapts to different screen sizes.
- Fast load times: optimised CSS reduces file size and improves performance.
- Consistency: a uniform design across all pages.
- Accessibility: correct styling makes your website more usable for everyone.