By cakefortress on
I've done a bit of searching for this but not come across a solution to my problem so far. For the sections on the site which have clean URLs it does not display the CSS background images I've assigned in the Theme style.css file. I'm wondering how I can get background images to display correctly in both node views and clean url paths.
Thanks!
Comments
Clean URLs shouldn't have
Clean URLs shouldn't have anything to do with your CSS styles, only with the file paths generated by Drupal. I'd definitely double-check the image URLs in your CSS file and make sure they're OK.
If you've got a URL for us to look at that would be very helpful in figuring out what the problem is.
That is correct. Clean URLs
That is correct. Clean URLs are only applied if an actual file doesn't exist.
Contact me to contract me for D7 -> D10/11 migrations.
code snippet
Hi there,
this is the code i'm using in my CSS for background images:
background:url(cssimg/followus.gif) no-repeat center left;
That code will be looking for
That code will be looking for a folder named cssimg that is inside the folder where the CSS file is.
If your cssimg folder is int he top of your site, you need to use:
/cssimg/followus.gif
Contact me to contract me for D7 -> D10/11 migrations.