World news template (modifying logo size)

Stylish Joomla template perfect for news websites with lightweight and modern design.
GK User
Mon Sep 13, 2010 6:12 pm
Hello Gavick Pro,
How do i modify my "world news template" logo area to cover the entire top page.
My client's header logo is 980px width and 175px hieght. please help me.
Many thanks.
David
User avatar
Fresh Boarder

teitbite
Wed Sep 15, 2010 3:45 pm
Hi

Please edit the size in class at template.css:

Code: Select all
#logo {
display:block;
float:left;
height:75px;
width:288px;
}


and also at layout/blocks/header.php

Code: Select all
            <img src="<?php echo str_replace("index.php/","",$this->URI->root()); ?>templates/<?php echo $this->template->template; ?>/images/logo.png" alt="logo"  height="75" width="288"/>

User avatar
Moderator

GK User
Mon Nov 01, 2010 8:27 am
Hello GavickPro,

I am very, very new to this and I am not a programmer nor any kind of IT person :)

How do I use text instead of a logo, using exactly the same fonts, but I want the text to be, for example: Gulf Region News.

The domain is www.GulfRegion.info .

Unlike Corporate2 Template where you can switch between logo and text seamlessly, on the World News template, regardless whether I disable the logo, there is nowhere I can insert the text, if I wanted.

Also, is there a way to center the Copyright, now it is right-alligned?

The first time I log into the template it says: The parameter file /templates/gk_twn/params.ini is writable!
Once I make a change, I get the following message: The parameter file /templates/gk_twn/params.ini is unwritable!

Thank you in advance and have a nice day!

Ross
User avatar
Junior Boarder

teitbite
Tue Nov 02, 2010 6:26 pm
Hi

Please change the permissions on the params.ini file to 755.

You can disable the image logo in template parameters:

The code to make the copyright centered is:

Code: Select all
div#informations {
text-align:center;
width:100%;
}
User avatar
Moderator

GK User
Tue Nov 09, 2010 8:27 am
Dear Gavick,

When I disable the logo, there is no text field to input the text,

What do I need to do?

Thx,

Ross
User avatar
Junior Boarder

teitbite
Thu Nov 11, 2010 11:20 pm
Hi

You are right. There is no such option. To make the logo a text You need to manualy put it in code replacing:

Code: Select all
<a id="logo<?php echo ($logo_as_image) ? '' : '_styled'; ?>" href="./">
            <?php if($logo_as_image) : ?>
            <img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/style1/logo.png" alt="Logo" />
            <?php endif; ?>
         </a>


with for example:

Code: Select all
<a id="logo_styled" href="./">LOGO TEXT</a>


and set the style for this at css.

In Car magazine You will find it in index.php and in TWN in layout/bloks/gk_header.php
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.