Closed (fixed)
Project:
Wilderness
Version:
6.x-1.0-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2009 at 19:34 UTC
Updated:
31 Aug 2009 at 03:22 UTC
I'm trying to get a 'local.css' file to work in the awesome Wilderness template. I've tried to add a line to the .info file to include it as a stylesheet--nothing. Should I name my file 'style.local.css'? Suggestions please.
Thank you.
Comments
Comment #1
minoxes commentedThere are css files in the theme pack, look in drupal\themes\wilderness\ and you'll find the file.
Comment #2
bkmatwa commentedThanks for the reply!
OK, either I'm not looking in the wrong location or its not there. Where exactly is the theme pack you are talking about? Is it in the downloaded files or out on the drupal.org site? I've checked both areas and nothing there. Can you please either give the complete URL to the theme pack or the file location in the Wilderness theme I downloaded. Appreciate it.
Comment #3
minoxes commentedit's in the wilderness folder that you downloaded when installing the theme.
Comment #4
bkmatwa commentedNo such folder in my downloaded version of the Wilderness theme. Just to make sure I downloaded it again and after extracting the files--no such folder. I downloaded the Beta1 version that is from Drupal.org (themes)--do you have a different version?
Thanks again. Appreciate your help.
Comment #5
Ashford commentedThe .css files are in ../sites/all/themes/wilderness, not in a separate subfolder.
Comment #6
bkmatwa commentedThank you for the location of the .css file--got that one down. I'm not sure if my original question is understood here...how can I use this theme to allow other .css files? I'm currently using the standard name "style.css" that is included with the theme, but I'm wanting to create my own style sheet to work along (and sometimes over-ride) the set styles. I've tried to alter the "wilderness.info" file to include my style sheet titled "local.css" but didn't work.
As mentioned in earlier messages here, there is no "bonus pack" of style sheets and only one style sheet at a time seems to work right now. Thanks to everyone's help. Any other ideas?
Comment #7
Ashford commentedUpload your css file to the /wilderness folder. Add the css line to your info file. Careful. If you use both style sheets and duplicate commands, there may be conflicts.
wilderness.info
stylesheets[all][] = style.css
stylesheets[all][] = my_style.css
Where did I learn about how to do this? I would recommend everyone who wants a custom theme to start with the Zen module.
Excerpt from the Zen theme module's template.php file.
Comment #8
bkmatwa commentedYes! It works. Thank you so much Ashford. Appreciate the great information.
Comment #9
agileware commented