WordPress.org

Ready to get started?Download WordPress

Forums

Flash instead of background.jpg (6 posts)

  1. Wesleyvw
    Member
    Posted 5 years ago #

    Hi,

    I was wondering:
    I want to replace the background in my Theme. Right now it's setup like background.jpg. I Want to have a flash (.SWF) in the background. How am I supposed to do this ?

    STYLESHEET

    body {
    	background: #CCD8E0 url('img/bg.jpg') repeat-x left bottom;
    	color: #444;
    	font: normal 62.5% Tahoma, sans-serif
  2. educationthemes
    Member
    Posted 5 years ago #

    You cannot place a flash swf file as a background image.

  3. Hanliang
    Member
    Posted 5 years ago #

    you may try this:

    make a flash that include your blog name and info.

    add the flash in the template header.php and delete the following and other necessary code:

    <h1>< a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></ a ></h1>
    <p class="XXXXX"><?php bloginfo('description'); ?></p>

  4. Wesleyvw
    Member
    Posted 5 years ago #

    Shit, damn shame.

    Are there any WP Flash theme's that are working?

  5. dingosmoov
    Member
    Posted 5 years ago #

    Has anyone been able to make this work?

  6. Friedrich72
    Member
    Posted 4 years ago #

    Yes, it's possible. Although you can't do it directly by changing the css to point to the .swf file.
    I did it using the kimili plug in and then used a suggestion from this site http://www.trap17.com/index.php/Flash-Movie-Background_t9115.html that recommends this bit of css "<div id="layer" style="position:absolute; width:'100%'; height:'100%'; z-index:100; left: 1px; top: 1px"> ".

    After a few hours of tweeking the styles to make the layers display properly it appears to work.

    You can see the beginnings of something that I am designing here. The title of the page is a layer on top of the flash image. http://www.chadbeatty.com/jfoures

Topic Closed

This topic has been closed to new replies.

About this Topic