Template Phoca Nature Header.

General Forum
Johnny Thunder
Phoca Member
Phoca Member
Posts: 11
Joined: 05 Jul 2008, 14:41

Template Phoca Nature Header.

Post by Johnny Thunder »

Hi everyone.

I am considering using the Phoca Nature template for a Joomla 1.5 site because I think it would be perfect for my requirements.
I have installed it on a test site, and have changed a couple of graphics, but I cannot find where to remove, or change the title "Phoca Nature" in the header graphic.
I Have found the actual PNG image to replace, but I would like to know how to centralise the image while keeping it as a hyperlink back to the homepage.

Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47891
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Template Phoca Nature Header.

Post by Jan »

you can change the code in index.php (in the template folder) in header id

Code: Select all

<div class="logo">
   <a href="<?php echo $this->baseurl ?>"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo.png" alt="<?php echo $mainframe->getCfg('sitename') ;?>" /></a>
</div>
If you find Phoca extensions useful, please support the project
Johnny Thunder
Phoca Member
Phoca Member
Posts: 11
Joined: 05 Jul 2008, 14:41

Re: Template Phoca Nature Header.

Post by Johnny Thunder »

Thank you for your reply and help Jan.

Code: Select all

#header .logo {
	margin-top:55px;
}

Do I remove all of this, or include it within?

Also, what do I have to change within the code to make the logo appear in the centre of the background image?

Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47891
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Template Phoca Nature Header.

Post by Jan »

you should center the header or logo div, try to change css (header, logo classes reps ids) ... I didn't try to add the logo into a center, so I don't know what exactly to change :(

Jan
If you find Phoca extensions useful, please support the project
Johnny Thunder
Phoca Member
Phoca Member
Posts: 11
Joined: 05 Jul 2008, 14:41

Re: Template Phoca Nature Header.

Post by Johnny Thunder »

Thank you for all your help Jan.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47891
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Template Phoca Nature Header.

Post by Jan »

maybe you should delete the banner area too:

Code: Select all

<div class="banner">
	<jdoc:include type="modules" name="banner"  />
</div>
because it can collide with your center box
If you find Phoca extensions useful, please support the project
Post Reply