Closed (fixed)
Project:
Acquia Slate
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2009 at 17:45 UTC
Updated:
21 Aug 2010 at 23:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
ckopack commentedI do not claim to be an expert by any means. But I did figure out a cool trick to get the banner images working and rotating through a series of images you place in a folder.
Download the attached img.zip. Unzip it and place it in your acquia_slate folder.
Open style.css located in the same acquia_slate folder.
Find line 406. And change it to read:
#preface-wrapper {
background: transparent url('img/banners/rotate.php') no-repeat left top;
height: 420px;
margin: -33px 0 20px;
overflow: hidden;
position: relative;
width: 960px;
-moz-border-radius: 0 0 10px 10px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
}
Now any images in the banners folder will cycle through! Pretty cool! If you want to change the images just change the images in the banner folder. But its best to make sure the images are sized to 960 x 521.
I got the code from the Marinelli, so thanks to those guys!
Comment #2
mcrawshaw commentedYou might find that if you don't have anything assigned to that region, the front image won't show because the region is collapseable.
Have you assigned something to the frontpage "preface sidebar region"?
http://drupal.org/node/418326
Comment #3
doomed commentedckopack,
this looks like a cool idea
do you have it working on slate v1 or v2 ?
Comment #4
stoltoguzzi commentedfor v2 I had to change line 72 in page-front.tpl.php
<div id="preface-wrapper" class="clearfix" <?php print $banner_image; ?>>to
<div id="preface-wrapper" class="clearfix"maybe there is a bether way to do it?
Comment #5
jeremycaldwell commentedVery cool addition! Seems very well executed too so closing this for now.
Comment #7
srbobc commentedThe key to getting the image to appear is to enable a mission statement in Site Information. The mission statement will appear in the preface sidebar along with your image.