Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6094599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:41:54+00:00 2026-05-23T12:41:54+00:00

I downloaded a html theme from a website and i’m trying to put it

  • 0

I downloaded a html theme from a website and i’m trying to put it in my codeigniter project. I copy and pasted the .html file from the downloaded theme folder into my view “index_v.php”. I also copied the css folder directly into the views folder. The index_v.php file calls the .css file like this

<link rel="stylesheet" href="style.css"> 

Yet when I load the page it doesn’t load the .css file.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:41:55+00:00Added an answer on May 23, 2026 at 12:41 pm

    You’re probably running into an issue with relative paths. If your URL is /users/welcome/, it’s looking for the file /users/welcome/style.css

    Solutions:

    • Use a full URL: <link rel="stylesheet" href="http://example.com/style.css">

    • Use CI’s link_tag() which will prepend your base url to the path

    • Use an absolute path: <link rel="stylesheet" href="/style.css">

    If you are unable to access the file directly, check your .htaccess file if you are using it. Most CI installations use something like this:

    RewriteCond $1 !^(index\.php|public|robots\.txt)
    RewriteRule ^(.*)$ /index.php?/$1 [L] 
    

    With this rule, there are two files and one directory that are allowed direct access (index.php, a directory named public, robots.txt). The rest is routed through index.php.

    It’s best to create a directory for all your static files (images, css etc.) and add this directory name to the exclusion list. Keeping those files in the directory root is just going to cause tons of clutter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use the WebClient class to download a html file from another
I have a site, from which you can download an HTML file. This HTML
Having downloaded Pango and GLib from the GTK+ Project's Win32 downloads page and having
I have an hybrid application, it's basically a website running from the application folder
i've just downloaded the Yahoo BOSS Mashup framework from http://developer.yahoo.com/search/boss/mashup.html , and I have
I'm using mingw. I downloaded OpenSSl and zlib from http://curl.haxx.se/download.html links for Windows. Change
I went to http://www.json.org/js.html and downloaded the json2.js, thinking i'd be fine, afterall that
I downloaded Hex Workshop, and I was told to read a .dbc file. It
have downloaded Orca to edit an MSI file. I want to remove some banner
I have a website from which I want to enable browser users to download

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.