Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
is it possible to place a flash file (SWF) in the header area. I can place PNG images in the header and they show up just fine, but swf file does not show up? anything else i need to do besides making the changes in fusion-acquia-marina-style.css and uploading my swf file in correct directory?
Comment | File | Size | Author |
---|---|---|---|
#2 | Screen shot 2010-07-12 at 9.23.29 PM.png | 95.21 KB | Desi Raaj |
Comments
Comment #1
jeremycaldwell CreditAttribution: jeremycaldwell commentedYou can load a .swf in a block and place it on your site but be sure to change the input formats (/admin/settings/filters) for it to allow the embed code or however you plan on loading it.
This post might be helpful as well: http://drupal.org/node/305940
Comment #2
Desi Raaj CreditAttribution: Desi Raaj commentedi know that i can do that, but it makes the header area larger than it should be, but i want to place the swf file in #header-group-wrapper
this is what i have right now
#header-group-wrapper {
background: #FFF url(../images/top-banner.png) no-repeat center;
}
check out the attachment for the image...i would like an swf file there instead (i'm hoping i made my self clear :P)
Comment #3
jeremycaldwell CreditAttribution: jeremycaldwell commentedGotcha, still need to place the block in the header area but then like you said the header is then too big. Once you have the block in place you can write some CSS to change the height of the wrapping div and set it to "overflow: hidden;" so it makes it that height and sticks to it.
If you can provide us with a link to your site and place the block in the "Header" region I can try to suggest some specific CSS that might help you out.
Comment #4
goody815 CreditAttribution: goody815 commentedmarking as fixed/closed as there were no replies to eternalistic's solution from July 2010
Comment #5
nellngun CreditAttribution: nellngun commentedSame problem, can somebody send a code please !!!