adding left side bar and logo

abqaria - June 4, 2006 - 20:06
Project:Internet Center Theme
Version:4.7.x-1.x-dev
Component:Code
Category:support request
Priority:minor
Assigned:Unassigned
Status:active
Description

dear all

i cannot show up my logo on this theme , why ?

Also , can i add a leftside bar ?

#1

ckclarke - June 17, 2006 - 03:43

I don't know about the left side bar, but I got the logo to show up by doing the following:

Opening up the page.tpl.php page for Internet Center theme in a code editor...

Removing everything from between the <div class="logo">   ... </div> tags:

And replacing it with line 16 of the page.tpl.php from the Bluemarine theme - it's a PHP statement that has if ($logo) in it. I'd paste it in here, but I can't get the code to paste in properly, and look right.

Once you've made those changes, upload the new page.tpl.php to your server.

Assuming you have your theme configured to display a logo, and assuming you've used the admin screen to upload your logo to the Drupal site, the logo should now display.

You may have to change the header properties in the style.css file to accomodate your logo. For example, if your logo is 114 pixels high, you'll have to open the style.css file for the internet theme in an editor, and look for

.header {

and change the height setting appropriately, ie,

height: 115px;

Hope that helps.

 
 

Drupal is a registered trademark of Dries Buytaert.