The CSS is trying to reference salamanderskins/salamander16/images/mini/*.* (and so on for the other skins) instead of salamanderskins/images/mini/*.*

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Florian’s picture

Category: bug » support

I am sorry but I can not reproduce your problem. Did you installed the theme in the appropriate folder (sites/all/themes/salamanderskins)? Please see http://d6.sofpedia.ro/

Florian’s picture

FileSize
70.36 KB

I am sorry I had to change the theme. Take a look at the screenshot.... everything is ok.

vegantriathlete’s picture

To answer your first question: Yes, I have installed the theme under sites/all/themes/salamanderskins

With regards to your second reply: Have you updated the theme? Do I need to download a new release? How do I correct the problem?

Florian’s picture

I suspect it is a problem with css aggregation. I will look to solve this but probably next week.

vegantriathlete’s picture

This is not an error with css aggregation. The issue is that you import style-mini.css into style-base.css. style-base.css is imported into the style.css for each of the skins. So, all of the skins expect to see the mini folder located under their own images folder on account of style-mini.css using url(images/mini/[filename.ext]).

Additionally, the s12, s13, s14, and s15 folders contain the two different versions of those skins. So, these are one level deeper still, which requires another images folder to be added along with a copy of the mini folder.

vegantriathlete’s picture

This screen print in comment #2 shows the graphics that are contained in the images/all folder not in the images/mini folder. All of the individual style.css files refer to the images/all in an explicit fashion i.e., they use url(images/all/[filename.ext]) || url(../images/all/[filename.ext]) || url(../../images/all/[filename.ext]) and make sure to back up the correct number of levels.

vegantriathlete’s picture

The way that I was thinking about addressing this was to pull the style-base.css and style-mini.css files into each subdirectory and leave the images/mini files in one location. However, the total size of the images/mini files is 7.07 KB, while the size of the unmodified style-base.css and style-mini.css files is 11.41 KB. The total size would actually increase once I added the necessary changes to the path references in each file. So, it actually takes up less disk space to copy the images/mini files into all the necessary locations.

vegantriathlete’s picture

The style-base.css (which is imported into each style.css) references url(images/all/icon-comment.png), url(images/all/forum-container.jpg) and url(images/all/forum-link.png). So, for each of the sub themed skins (salamander 1 - 16) they are expecting to have an all/*.* located under their images directory. Remember also, that the problem is doubly compounded for the s12, s13, s14, and s15 directories.

Florian’s picture

Status: Active » Closed (fixed)

Solved in salamanderskins 6.x-1.2