Kevinbollen Posted January 23, 2014 Share Posted January 23, 2014 (edited) Hello guys, I have the following problem. I made a website and put it in wordpress. Right now it's hosted on my localhost. The site works perfect. no problems but when i go on another computer or mobile device and i go to my ip address. The Css of the site doesn't work. This is the code which i use to get the css <!-- CSS Code --> <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/style.css"> <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/reset.css"> I don't know what the problem is and my php is not that well. I know the problem is not that I have 2 stylesheets that works perfect. Also it doesn't show any picture. It only shows my html. Sorry for my use of english I hope someone can help Greetz Edited January 23, 2014 by Kevinbollen Link to comment Share on other sites More sharing options...
papabeers Posted January 24, 2014 Share Posted January 24, 2014 This may be a permissions issue. When you view the source for your site, you should be able to see the path to the CSS file. Take that and see if you can load the CSS file from another computer. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now