PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
fr34k123
New Member
New Member


Joined: Mar 29, 2008
Posts: 4

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

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 Back to top

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

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum