I'm having some trouble , when it comes to calling the external CSS property in Code Igniter. I have a custom css file called custom.css and it is from the assets folder. However, when I am calling it from a View, it does not call it. I have the property as follows:
.project-description{
background-color: #fff;
padding: 20px;
border-radius: 6px;
box-shadow: 0px 0px 3px 1px;
}
I have a custom view called display.php and I call it as follows:
<p id='project-description'>
<?php echo $project_data->project_body; ?>
</p>
And in my main view which is the layouts in which I call the external css file to which the css property resides:
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/custom.css">
In the custom view which is the display.php, it does not call the CSS property even though I already include the external CSS file. What will be the solution to this??