• Resolved whoaloic

    (@whoaloic)


    Hello, I’ve got 2 css files style.css ans style.min.css. When I edit style.css, nothing changes (even if I erase all this file). It seems that only the style.min.css manages the stle of the theme.
    Is that a known issue ?
    Regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try not to edit the theme’s files like that. CSS modifications should either be made through a Child Theme or Custom CSS plugin. The latter is easier to implement.
    http://wordpress.org/plugins/custom-css-manager-plugin

    Thread Starter whoaloic

    (@whoaloic)

    I already try to use a child theme but nothing changes.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you add this to your Child Theme style.css file

    body {
     border: 10px solid red !important;
    }

    And if a 10-pixel red border doesn’t appear on your site then it sounds like you have a syntax error somewhere in your Child Theme style.css file.

    Theme Author ThemesBros

    (@themesbros)

    Hi, sorry cause of late reply.

    Style.min.css is used by default in theme. If you set wp_debug to true in wp-config.php, regular style.css is used.

    Anyway, you shouldn’t edit style.css or style.min.css. You should create child theme to make changes as Andrew said. There’s already a sample child theme available for download here http://themehybrid.com/themes/sukelius-magazine-child.

    I’ll set this as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Edit style.css’ is closed to new replies.