Jump to content

Theme not respecting global {style_image_url}[CDN] in css?


Recommended Posts

Posted

Certain images in my theme are not respecting the sitewide {style_image_ur}; despite the fact that the themes css calls the correct syntax.

background: #164269 url("{style_images_url}/background.jpg") repeat-x 0 0;

meaning these image are NOT getting loaded through my content delivery network url: http://pb.mazda626.net/. They are getting pulled through just the root domain http://mazda626.net


In my Settings:General Configuration my image url is set to: http://pb.mazda626.net/

However here is the list of my images that are being pulled from the root domain and not respecting the style_image_url setting .


highlight_faint.png
background.jpg
advanced_search.png
search_icon.png
highlight.png
secondary_nav_bg.png
secondary_nav.png
maintitle.png
subforum_nonew.png
highlight_faint.png

To see the complete list of resources on view: http://tools.pingdom.com/fpt/#!/xSTHnJuCr/http://mazda626.net

I could fix this merely by changing the css file paths to direct links, but thats a bit annoying, and it doesn't explain why I'm seeing this odd behavior in the first place. Any reason I'm seeing this issue?

Any help would be greatly appreciated! I'm just a bit puzzled why the ipb_styles.css calls the correct syntax, but its not pulling the correct style_images_url

Posted

alright so I believe I figured out part of the issue, it looks like it may be caused by the css file being hosted externally. But I can't source the problem percisely, for now I'm just going to direct link to my CDN based files, but if anyone else has insight into this issue would be much appreciated!

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...