Welcome Guest, Not a member yet? Register   Sign In
how to add css to 2.1.3
#1

[eluser]stv[/eluser]
i want to know how to add css on homepage in controller
#2

[eluser]igna vegas[/eluser]
in your view, into <head> tags


Code:
<link rel="stylesheet" href="<?php echo base_url() ?>css/styles.css" type="text/css" media="screen"/>

your css folder, must be in the root. NOT into application folder.

#3

[eluser]stv[/eluser]
<link rel="stylesheet" href="css/styles.css" type="text/css" media="screen"/>
this is also working




Theme © iAndrew 2016 - Forum software by © MyBB