Jump to content

Recommended Posts

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?

post-663-0-95754700-1346968680_thumb.png

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...