Closed (fixed)
Project:
Acquia Slate
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2010 at 03:16 UTC
Updated:
25 Feb 2010 at 19:50 UTC
Hello,
I have extracted the theme into the themes directory (I also tried sites/all/themes) and the background image is not appearing. I confirmed that the file is there though. Any ideas?
Thank you,
Dan Silver
Comments
Comment #1
stellaphoto commentedGood question!
I'm trying to figure this one out too.
Cheers,
Chad
Comment #2
stellaphoto commentedOK, here's what to do.
Put any kind of text in the "mission statement" box, even a period, then the banner photo will show up.
(make sure the box is checked)
I used a period and you can barely see it.
Next, I will need to change the color of the text to black so it's not visible.
Hope that helps.
Cheers,
Chad
Comment #3
rolandk commentedThanks - surely this is a bug that can be fixed ?
Comment #4
elcapitan82 commentedInstead of changing the color of the text you can add "display: none" to the css and the text will not be displayed (though it still appears in your source code). However, using "display: none" may be considered bad form by Google...
Comment #5
jeremycaldwell commentedActually that's not a bug but just the way the background image styling works. The idea is that you add a Mission Statement and then if it is enabled on your theme settings page it will load on the front page and display the background image.
If you want it to appear without having to enter a mission statement you'll need to modify the "page-front.tpl.php" file in your theme's folder.
So open that file and change this code:
To this code:
That removes the if statement around the wrapping div that creates the div that holds the background image.