This module consolidates multiple `<style>` tags found in the body of a page into a single `<style>` tag within the page's `<head>`. This helps to keep CSS organized and reduce the number of inline style blocks.
This module provides grouping of styles in a single tag within the page header.
For example, if you have several style tags within the body. They will be grouped into a single tag inside the head.
Before:
html
head
...
body
div
..
...
style
.style_1{ padding: 1px; }
div
div
style
.style_2{ padding: 2px; }
style
.style_3{ padding: 3px; }
p
Lorem...
div
...
style
.style_4{ padding: 4px; }After:
html
head
...
style
.style_1{ padding: 1px; }
.style_2{ padding: 2px; }
.style_3{ padding: 3px; }
.style_4{ padding: 4px; }
body
div
..
...
div
div
p
Lorem...
div
...
Ask your assistant about Inline Style Aggregation
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.