Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHPBB
Author Message
fr34k123
New Member
New Member



Joined: Mar 29, 2008
Posts: 4

PostPosted: Sat Feb 28, 2009 10:42 am Reply with quote

Hi wondered if someone could help me.

I'm using phpBB3 and have installed a new theme - ive managed to change the stylesheet.css to have colouring that matches my mainsite, but am having a slight problem with the theme header.

Basically i'm trying to replicate our main site's header for the forum theme by using a png image of our website's header - but am running in to a slight problem because of the following code:

Code:
<div id="logodesc">

      <table width="100%" cellspacing="0">
      <tr>
         <td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
         <td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
      </tr>      
      </table>   
   </div>   


The already preloaded left side logo is 498 x 78 in size but to the right of this is our site name and site description in text. The text is the thing i would like to get rid of and have my own image span the whole length of the header which is 940 x 78

Everetime i change the site logo (498x78) for the one i want which is 940 x 78 - the menu bar underneath is pushed down and doesnt align correctly.

Question is - i need to get rid of the following code from within the overall_header.html:

Code:
<td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>


But how do i do this without knocking the header out of alignment? (i'm a complete noob when it comes to coding - so i'm unsure whether i need to replace the code, remove it altogether or add something extra to the forum theme stylesheet.css)

Here is the code that related to the header from within the theme's stylesheet.css:

Code:
/* Layout

 ------------ */
* {
   /* Reset browsers default margin, padding and font sizes */
   margin: 0;
   padding: 0;   
}

html {
   font-size: 100%;
  background-color: #292929;
   background-image: url('./images/main_bg.png');
   background-repeat: repeat-y;
   background-position: top center;
}

body {
   font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
   font-size: 62.5%;
   color: #292929;   
  background-color: transparent;
}

#wrapheader {
   min-height: 190px;
   height: 200px;
  background: url('./images/header_bg.png') repeat-x;
   padding: 0 0 0 0;
   margin: 0 auto;
  width: 940px;
}

#wrapcentre {
   margin: 0 auto;
   width: 940px;
   padding-top: 45px;   
}

#xtramenu {
   width: 940px;
   margin: 0;
   color: #b4ff00;
   padding-top: 26px;
}

#wrapfooter {
   min-height: 143px;
  background: url('./images/footer_bg.gif') repeat-x;
   margin: 0 auto;
  width: 940px;
   text-align: center;
   vertical-align: middle;
   clear: both;
   padding-top: 5px;   
}

#wrapnav {
   width: 940px;
   margin: 0;
   color: #b4ff00;
   background-color: #ECECEC;
   border-width: 1px;
   border-style: solid;
   border-color: #A9B8C2;
}

#logodesc {
   margin: 0;
   padding: 1px 0 0 0;
   color: #b4ff00;
   border-bottom: 0px solid #4787A7;   
}

#logodesc H1 {
   color: #b4ff00;
}

#logomain {
   margin: 0;
   padding: 5px 0 0px 0;
   min-height: 199px;
   height: 199px;
   width: 100%;
   background: url('./images/logo_main.png') no-repeat;
  _background: url('./images/logo_left.jpg') no-repeat;   
}

#menubar {
   margin: 0;
   _margin: 0;
   padding: 0 5px;
   font-weight: bold;
   color: #b4ff00;
}

#datebar {
   margin: 0;
   padding-top: 10px;
}

#findbar {
   width: 100%;
   margin: 0;
   padding: 0;
   border: 0;
}

.forumrules {
   background-color: #F9CC79;
   border-width: 1px;
   border-style: solid;
   border-color: #BB9860;
   padding: 4px;
   font-weight: normal;
   font-size: 1.1em;
   font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.forumrules h3 {
   color: red;
}

#pageheader { }
#pagecontent { }
#pagefooter { }
#poll { }
#postrow { }
#postdata { }

/*  Text
 --------------------- */
h1 {


Any help is greatly appreciated Smile
 
View user's profile Send private message
trunks
Worker
Worker



Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Sat Feb 28, 2009 1:46 pm Reply with quote

I would suggest asking over at phpbb Smile
 
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHPBB

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©