| Thursday, 14 May 2009 | |||||||||||||||||||||||||||||||
#68 - Create a Joomla Flash LogoA frequently asked question in the Joomla forums is how to edit the Joomla logo to a flash logo. The following tip shows you how to do this with the default Joomla template. Go to the template.css in the css folder of your template and change the code <!-- change here --> identified below to suit your needs. Make sure your flash file (referenced here as myjoomlaflashlogo.swf) have uploaded the flash file to images/flash. Make backups! #ja-headerwrap { position: relative; height: 200px; <!-- change here --> width: 600px; <!-- change here --> } .ja-headermask { width: 602px; display: block; background: url(../images/header-mask.png) no-repeat top right; height: 200px; <!-- change here --> position: absolute; top: 0; right: -1px; } #ja-header a { color: #990000; } h1.logo, h1.logo-text { margin: 0 0 0 5px; padding: 0; font-size: 180%; text-transform: uppercase; } /* insert flash instead of image ../images/logo.png*/ h1.logo a { width: 610px; display: block; background: url(../images/flash/myjoomlaflashlogo.swf) no-repeat; <!-- change here --> height: 160px; position: relative; z-index: 100; } After these changes, go to the index.php of the template and do the following changes: <?php width="600" height="200" align="left"> <param name="src" value="images/flash/myjoomlaflashlogo.swf" /><embed type="application/x-shockwave-flash" width="600" height="200" align="left" src="images/flash/myjoomlaflashlogo.swf"></embed></object> Obviously you'll need to insert your own parameters for size and Joomla logo flash file where necessary. And do remember to make BACKUPS before your start!
Only registered users can write comments!
Powered by !JoomlaComment 3.26
3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved." |
|||||||||||||||||||||||||||||||
| Last Updated ( Thursday, 14 May 2009 ) | |||||||||||||||||||||||||||||||