Recent Topics

1 Apr 02, 2008 08:13    

My b2evolution Version: 1.10.x

Hi, I want to add a transparent gif into the header of my miami_blue skin that links back to my home page but have failed so far.

I opened the skin's main.php in kompozer and inserted the gif using html but that made _skins.funcs.php unhappy. Can you tell i have no idea what i'm talking about ?

Can someone suggest some code that will allow me to do this?

Cheers

2 Apr 02, 2008 08:34

I think you will get a quicker result if you can post a link to your blog.

Also, moving this post to Templates, Skins etc

3 Apr 02, 2008 14:27

browse your ftp;

 http://"yoursite".com/skins/miami_blue/img/ 

folder

upload the new header you would like, then open

 http://"yoursite".com/skins/miami_blue/img/style.css 

replace the line

	background: #6aa1d7 url("img/header.png") no-repeat center top;

with

background: #6aa1d7 url("img/newheader.png") no-repeat center top;

5 Apr 02, 2008 14:59

limaike wrote:

http://lickorish.info/sinoblogic/

I need to place a transparent gif over the logo on the right hand side of the header (as http://lickorish.info/Language%20services.html) without messing up the css.

Is there a quick fix for this? I have an ominous feeling I need to learn some coding to make this work.

,

ok i see what you are getting at, then open your style css and insert the newheader.gif without touching the other one and use 'absolute positioning' ..

or; assuming you want to both keep old header image and insert your new transparent gif over the old one, why dont u just edit it through a picture editor place the new one over it and re-upload

7 Apr 02, 2008 17:01

oh right! why did my reply appear after yours? Thanks for your advice tilqicom. Actually I have been doing what you suggest, by modifying the graphics directly on the original header.png file. Will try the CSS you suggest. Thanks again for your help.

8 Apr 03, 2008 10:15

This is the code that eventually worked. I had to insert the image between <div class="pageHeader"> and <h1 id="pageTitle"> in the _main.php file. Thanks to personman.

<div class="pageHeader">

<?php
// --------------------------- BLOG LIST INCLUDED HERE -----------------------------
require dirname(__FILE__).'/_bloglist.php';
// ------------------------------- END OF BLOG LIST --------------------------------
?>

<a href="../../../index.html"><img style="border: 0px solid ; position: absolute; width: 269px; height: 88px; top: 70px; left: 595px;"
alt="Home" src="../../../graphics/homelink.gif" /></a>

<h1 id="pageTitle"><a href="<?php $Blog->disp( 'url', 'raw' ) ?>"><?php $Blog->disp( 'name', 'htmlbody' ) ?></a></h1>


Form is loading...