Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Simple live CSS

Security covered Maintenance fixes only 269 sites

This module allows you to temporarily override existing CSS directly within a page, providing a live preview of your changes. You can then save these modifications to a CSS file that will be applied across your site.

A D8 rewrite of https://www.drupal.org/project/live_css with basic features only.

CSS can be added within the page, with live preview. The changes can then be saved to a CSS file that will be added to every page. Its primary usage purpose is (temporarily) overriding existing css.

Installation

Add the following libraries in your project's composer.json file under 'repositories':

   {
      "type": "package",
      "package": {
        "name": "library-blockui/blockui",
        "version": "2.70",
        "type": "drupal-library",
        "dist": {
          "url": "https://github.com/malsup/blockui/archive/2.70.zip",
          "type": "zip"
        }
      }
    },
    {
      "type": "package",
      "package": {
        "name": "ajaxorg/ace-builds",
        "version": "1.4",
        "type": "drupal-library",
        "dist": {
          "url": "https://github.com/ajaxorg/ace-builds/archive/v1.4.7.zip",
          "type": "zip"
        }
      }
    }

Run composer require library-blockui/blockui:^2.70
Run composer require ajaxorg/ace-builds:^1.4
And finally, run composer require drupal/simple_live_css

Configuration

  • Enable the edit live css permission.
  • Enable the enable admin live css setting on /admin/config/user-interface/simple-live-css if needed. This settings form is protected by the administer admin live css permission.

Administrator live css

When enabled, users with the edit admin live css permission will have a live CSS editor available on pages that use the admin theme. This admin live CSS is completely segregated from the regular live CSS. Changes you make here will only be visible on admin pages.

Drupal 9–10 · not 11

Ask your assistant about Simple live CSS

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2023
Latest release
7 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.x-dev Dev 10–11 Mar 13, 2026
8.x-1.3 Stable 9–10 Aug 18, 2023
8.x-1.2 Stable 9–10 Apr 5, 2023