[SOLVED] Confusion with changing LOGO image

14 years 3 weeks ago #125757 by jakobe75
Replied by jakobe75 on topic Re:Confusion with changing LOGO image
krileon wrote:

You need to add the following to your CSS file if this does not work you need to edit the index.php (line 58) file and adjust the width to the following: 420px, which will display your entire logo appropriately (tested using Firebug).

[code:1]
#logo {
width: 420px;
}
[/code:1]

The width used for the logo is the Left Column Width found in the templates parameters. You can also adjust this to fit your logo.


?


you got me confused now
..my column is set to 225 .. my logo is 300.

I dont want my column to be 300 or my logo to be 225

THESE NEED TO BE SEPARATE VALUES.


edited:
in my last post are the correct line numbers
(my line wasnt 58 but 69)

and a fix.

Post edited by: jakobe75, at: 2010/03/03 01:19

Please Log in to join the conversation.

14 years 3 weeks ago #125759 by jakobe75
Replied by jakobe75 on topic Re:Confusion with changing LOGO image
Okay,

Many have asked and this is kind of confusing as the template developers made it this way and provided no docuenmtatin on this mod but here is the solution...at least it worked for me anyways.


open the file templates/coolness/index.php


on my install it was around line #69

find this code:

[code:1]<?php if ( $logoImage == "false" && $imagePath != "" ) { ?>
#logo { background:url("<?php echo $imagePath; ?>"«») no-repeat 5px 5px; width: <?php echo $leftcol_width; ?>px; }
<?php } ?>[/code:1]


replace with this code:

[code:1]<?php if ( $logoImage == "false" && $imagePath != "" ) { ?>
#logo { background:url("<?php echo $imagePath; ?>"«») no-repeat 5px 5px; width: 300px; }
<?php } ?>[/code:1]


mine was located in lines 67-69
specifically you need to remove this

<?php echo $leftcol_width; ?>

and replace with the width of your logo...mine for example was 300px.

hopefully that helps

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.149 seconds

Facebook Twitter LinkedIn