It seems styles.css wasn't updated after it was copied from D7. On lines 130 and 135 there are two url() arguments that say "../../misc/an_image.png", which are trying to load the corresponding image from the Drupal core "misc" directory. Were the theme to be in the system "themes" directory this would work. However, placing the theme in the normal location for contrib themes, i.e. "sites/all/themes", the paths are two directories too far down the directory structure, so you end up with lots of "page not found" errors for this path: sites/all/misc/menu-expanded.png

CommentFileSizeAuthor
#1 seven-n927004.patch724 bytesdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new724 bytes

Here's a quick patch to fix the paths so that the normal location for themes, or indeed an "sites/*/themes" location, will work correctly.

fenstrat’s picture

Status: Needs review » Needs work

Themes can be nested folders as well. Wouldn't a more universal approach be to change the path to "/misc/an-image.png"?

mcrittenden’s picture

Status: Needs work » Reviewed & tested by the community

@fenstrat: that won't work either since not all Drupal sites are in the webroot. I'm going ahead and committing the patch since I doubt anyone will have a reason to put Seven in a subfolder.

mcrittenden’s picture

Status: Reviewed & tested by the community » Fixed

Committed to beta12.

damienmckenna’s picture

@fenstrat: As someone who built & managed a (slightly kludgy) multi-site install that used subdirectories, I understand your concern. Unfortunately there's no real way to handle it within CSS other than to copy the necessary images into the theme's directory & then change the CSS to load the local copies. An alternative would be to use JS to assign the correct path, but that feels a little overkill :-\

fenstrat’s picture

Hmm, I hadn't even considered drupal in a sub dir. CSS image paths can be a pita! As a work around I've moved all themes to sites/*/themes

Here's a follow up to make this consistent.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

WilliamB’s picture

Still facing that issue although i'm using a drupal 7.7 installation.
Wasn't seven updated?

EDIT: NM me it's because i copied seven sites/all/themes so that i could customise it without altering the original one.

sorry.

avpaderno’s picture

Version: 6.x-1.0-beta11 » 6.x-1.x-dev
Issue summary: View changes