Search code examples
laravel-5virtualmin

Where should store css file in virtualmin laravel


My css file is not working. I store my css file public_html/css/main.css. But it's not working. Where should i put this?


Solution

  • You need to call your css inside <head> tag and specify the path. Maybe you can put the css inside public/css directory. Your link should look like below:

    <head>
       <link rel="stylesheet" type="text/css" href="/css/main.css">
    </head>