Hurry! Save Up to 50% On Your Purchase | March 2021 X

How to change the design in CodeIgniter?


Please follow the steps below:

  1. Go to the file location in cPanel.
  2. The design files are located inside the views folder under the application folder.
  3. You need to identify the files to modify.
  4. Let's assume that you want to change the design of the homepage.
  5. Check the route file to find out the name of the default controller.
  6. It is home.
  7. Move to the controllers directory.
  8. Open Home.php.
  9. Index is the default function and in the last line you will find the name of the view file associated with the controller function.
  10. It is index.php.
  11. You can edit this file to modify the design of the homepage.
  12. This way you can revamp your entire website.