plasmagames Posted November 14, 2008 Share Posted November 14, 2008 ok, i am redesigning my website and i'm having a problemw ith iamges loading i have in the CSS for the background background:url('images/bg.png'); the background file is int aht directory but its not loading. I have different themes so i ahve a theme directory and a theme changer to change the theme directiory inside of that theme directiry for example it was theme/psg and i enter default in the theme changer and it changes to this theme/default These folders hold the .css file. so if you don't quite understand check the site and if still not sure what i'm talking about post here site is http://plasmasteelgames.net Link to comment https://forums.phpfreaks.com/topic/132752-cssphp-problem/ Share on other sites More sharing options...
wildteen88 Posted November 14, 2008 Share Posted November 14, 2008 use '/theme/default/images/bg.png' instead of 'images/bg.png' Link to comment https://forums.phpfreaks.com/topic/132752-cssphp-problem/#findComment-690377 Share on other sites More sharing options...
BoltZ Posted November 16, 2008 Share Posted November 16, 2008 Try linking absolute path so you know if the file is even referenced right. Link to comment https://forums.phpfreaks.com/topic/132752-cssphp-problem/#findComment-691104 Share on other sites More sharing options...
plasmagames Posted December 3, 2008 Author Share Posted December 3, 2008 wildteen88 that would work but i want it to change with the theme. see the index.php file is set to use the css fiel thats int he theme directory in this case theme/default Link to comment https://forums.phpfreaks.com/topic/132752-cssphp-problem/#findComment-705202 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.