Skip to main content Skip to search Skip to main navigation
Shopware Payments ramp-up pricing for 12 months. Limited time only. Learn more
Diese Seite ist auch auf Deutsch verfügbar.
weedesign

Add custom CSS/SCSS

Rating: 5.0

Average rating of 5 out of 5 stars

(1 reviews)
Downloads: <100

Description

Highlights

  • Custom CSS for your storefront, managed in the Administration
  • CSS editor with SCSS syntax and the variables of your theme
  • Custom CSS for selected sales channels or for all of them
  • Custom CSS is compiled into your theme with "Save & Compile"
  • Four permission levels for the CSS editor

Features

  • Custom CSS under Extensions > Add CSS
  • Several custom CSS containers, each with its own name
  • Checkbox "Active" adds the custom CSS of a container to the compile
  • CSS editor with syntax highlighting
  • 135 theme variables to insert in the CSS editor
  • Colour picker inserts hex codes into the CSS editor
  • Custom CSS appended after the styles of your theme
  • No sales channel selected: the custom CSS applies in all of them
  • List of custom CSS containers with status and sales channels
  • With "Save" alone, custom CSS waits for the next theme compile
  • Active custom CSS combined in alphabetical order of the names
  • Other theme compilations include your custom CSS too
  • Custom CSS kept in the database, apart from your theme files
  • View, Edit, Create and Delete for the CSS editor
  • Custom CSS containers removed on uninstall if you remove app data

About the Extension

Custom CSS in the Administration

Add CSS gives you the page "CSS Container" under Extensions > Add CSS. There you keep your custom CSS in containers: each one has the checkbox "Active", a name, a sales channel selection and a code field "CSS/SCSS". The list shows the status, name and sales channels of your containers, sorted by name.

  • "Add Container" opens a new container, which stays inactive until you tick "Active"
  • Only active containers reach the storefront
  • Several active containers are combined in alphabetical order of their names, and identical code is only included once
  • The back arrow next to the page title takes you back to the list

CSS editor with SCSS and theme variables

The code field "CSS/SCSS" is a code editor with syntax highlighting. Your custom CSS is compiled together with the SCSS of your theme, so you can write SCSS and use the variables of your theme.

  • "Add SCSS Variable" inserts one of 135 theme variables, such as $primary, $border-radius or $font-family-base, at the cursor
  • The colour picker inserts the chosen colour as a hex code at the cursor
  • In the colour picker, you set the colour with the colour field, the hue slider or the fields HEX, R, G and B, then click "Set Color"

How custom CSS reaches your storefront

During a theme compilation, the custom CSS of the active containers is appended after the styles of your theme. Saving alone does not change the storefront yet.

  • "Save & Compile" saves the container and compiles the themes of your sales channels
  • "Save" stores your changes, and they reach the storefront with the next theme compilation
  • Other theme compilations include your custom CSS too, for example bin/console theme:compile

Custom CSS per sales channel

In the field "Sales channels", you choose where a container applies.

  • A container without a selected sales channel applies to all of them, and the list shows "all"
  • With sales channels selected, its custom CSS only goes into the themes of those sales channels

Permissions for the CSS editor

The permission "Add CSS" has the levels View, Edit, Create and Delete in the role settings.

  • View: browse the containers
  • Edit: change existing containers
  • Create: add new containers
  • Delete: remove containers in the list
  • The levels do not include each other, so combine Edit, Create or Delete with View, and the role also needs read access to sales channels

Details

  • Available: English, German
  • Latest update: 18 November 2026
  • Publication date: 4 September 2024
  • Version: 2.0.1
  • Category: Special features

Resources

Reviews (1)

Average rating
5.0

Average rating of 5 out of 5 stars

Based on 1 reviews
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support

100 %
0 %
0 %
0 %
0 %

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review
Tolles Plugin
5.0

Average rating of 5 out of 5 stars

by Seb
24 September 2024 15:51
Plugin macht das, was es verspricht.
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support

About the Extension Partner

Partner Status

  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Ø-Rating: 4.9

    Average rating of 4.9 out of 5 stars

  • Partner since: 2019
  • Extensions: 71

Support

  • Based in: Germany
  • Speaks: German, English
  • Response time: Very quickly