Sign in

Can’t override style.css

  • This topic has 2 replies, 2 voices, and was last updated 1 week, 3 days ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5673
    Coder33

    I want to override the default cookie color #24a931 of “simple” theme to #5FD9F3. The overridden file location is “…/input/themes/simple-override/assets/css/style.css”. However even this file is getting overridden. I read somewhere that “main.css” churns out “style.css”. Could this be the problem? How can I solve this? Help please!

    #5674
    shaun2k

    Publii’s rendering process is explained here: https://getpublii.com/dev/how-the-theme-is-rendered

    The final css generated is a sum of five CSS sources
    `theme-variables.js output + main.css + GDPR popup CSS + visual-overrides.js output + custom CSS`
    So you should not edit the styles.css, but instead edit main.css or add via Publii Left menu bar>Tools>Custom CSS

    #5676
    Coder33

    @shaun2k Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Can’t override style.css’ is closed to new replies.