danielholanda Posted September 6, 2012 Share Posted September 6, 2012 Hello, Just beggining with PW. I've managed to create the url of the html document correctly with this code: <?php echo $config->urls->templates?> . Ok, easy. I have assigned to different divs a background image with CSS. This is an example of one of them: #music{ background: url(../_img/bg_pages/HBP-Music.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } My file structure is as the picture I uploaded shows for any hints. With this actual file structure it works perfectly when its not in PW. Do I need to paste a code to redirect it? I have several images loaded by CSS and none of them work. I also have checked the template example and I see nothing special within the url. Could you help me out? Link to comment Share on other sites More sharing options...
danielholanda Posted September 6, 2012 Author Share Posted September 6, 2012 sorry, it just worked... I dont want anybody to waste their time with this. It all works, it was a strange display issue. Magically solved! You can delete this... 1 Link to comment Share on other sites More sharing options...
SiNNuT Posted September 7, 2012 Share Posted September 7, 2012 On 9/6/2012 at 10:11 PM, danielholanda said: sorry, it just worked... I dont want anybody to waste their time with this. It all works, it was a strange display issue. Magically solved! You can delete this... let me guess..some browser cache problems there? F5, ctrl+r, ctrl-shift-del, Always the first things to try when i get something unexpected, be it css or js. 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