Custom css to flatly Loaded but no vissible change on the page



  • Hi there,

    I'm having a problem with adding my own custom css file to the flatly theme. I've added it to the theme as posted in another topic, but it doesn't apply the css. The strange thing is that my browser is successfully loading my custom css. This is what I did:

    1 Place your custom.css in [root]/Themes/Flatty... not in [root]/public/themes/flatty
    2 publish theme assets php artisan asgard:publish:theme Flatty & php artisan view:clear
    3 Include your custom css in flatty published template via {!! Theme::style('css/custom.css') !!}

    This is the output from my chrome network inspector:
    home.css
    /public/assets
    GET 200
    OK
    stylesheet nl:21
    Parser
    383 B
    76 B
    21 ms
    20 ms

    And when I go to the network section in chrome, I can see the file with my custom css. When I click it to open it, I see the following css that I've added:

    .body {
    background-color: black !important;
    padding-top: 500px;
    }

    However, the css doen't get applyed to my frontend website. So what am I missing here ?

    Thanks in advance


Log in to reply
 

Looks like your connection to AsgardCms was lost, please wait while we try to reconnect.