Support » Themes and Templates » Select different style sheets in child theme

  • I have a child theme where I want to add possibility to select different color schemes using the Theme Customizer. When the user select a color scheme for example “blue” I want the css file blue.css to be loaded in the child theme. All the color scheme style sheets should inherit style settings from the parent theme and from a default style sheet from the child theme.

    Blue color scheme selected:
    Child theme\color\blue.css loaded and imports
    Child theme\style.css which imports
    Parent theme\style.css

    Green color scheme selected:
    Child theme\color\green.css loaded and imports
    Child theme\style.csss which imports
    Parent theme\style.css


    Anyone knows how to solve that? It would also be an ok solution to have all child theme style changes included in the different color schemes css files (so the Child theme\style.css is not needed.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Select different style sheets in child theme’ is closed to new replies.