How to change the design in CodeIgniter?
Please follow the steps below:
- Go to the file location in cPanel.
- The design files are located inside the views folder under the application folder.
- You need to identify the files to modify.
- Let's assume that you want to change the design of the homepage.
- Check the route file to find out the name of the default controller.
- It is home.
- Move to the controllers directory.
- Open Home.php.
- Index is the default function and in the last line you will find the name of the view file associated with the controller function.
- It is index.php.
- You can edit this file to modify the design of the homepage.
- This way you can revamp your entire website.