RH-Webdesign - Themes
Individual project request
EN
EN
  • Introduction
  • Preparation
    • Shopware Account
    • Install Theme
    • Theme Duplicates
  • Setup
    • Install Demo-Data
    • Footer Copyright
    • Basic settings
    • Status messages
    • Breakpoints for Devices
    • Typography / Fonts
    • Background Images
    • Advanced Color Settings
    • Certificates
    • Product boxes
    • Product Detail Page
    • Social Media
    • Individual Code
  • For Developers
    • Child-Theme
      • Extend configuration
      • Individual SCSS
      • Extend Templates
    • Integrate your own fonts
  • Shopware
    • Create categories
    • Multilanguage
    • Google Analytics - IMG
Powered by GitBook
On this page
  1. For Developers
  2. Child-Theme

Individual SCSS

Add and compile your own styles

Last updated 1 year ago

As a basis, you should have read and internalized the corresponding .

In this example, I will only go into the previously created configuration variable:

Edit and compile SCSS

You can now use the configuration variable to design your child theme. In this example, I will give the header the background color of the configuration field:

// src/Resources/app/storefront/src/scss/base.scss

.header-main{
  background-color: $rhweb-custom-color-field;
}

To compile your child theme, you can either save the theme configuration from the Shopware backend or use the console command bin/console theme:compile.

article in the official Shopware documentation
Extend configuration