Phpbb Header CSS

Discussion in 'CSS' started by clasione, Mar 30, 2006.

  1. #1
    Anyone know how I can make my header css into a clickable link in a phpbb board..... I want to make the header clickable, but the whole header is in the css and I don't use phpbb much at all:
    http://www.volkswagentalk.com/vw/
     
    clasione, Mar 30, 2006 IP
  2. Kat2

    Kat2 Well-Known Member

    Messages:
    143
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Does the board's control panel let you edit the CSS directly?
     
    Kat2, Mar 31, 2006 IP
  3. clasione

    clasione Notable Member

    Messages:
    2,362
    Likes Received:
    158
    Best Answers:
    0
    Trophy Points:
    228
    #3
    I know I can do it in the css file......

    /* Header and Logo */
    .logo-row { background: url(images/logo_mid.gif) no-repeat center center; height: 115px; }
    #buttonstable td { background: url(images/buttons.gif) top left repeat-x; height: 25px; }
    #header-buttons {
    font-size: 11px;
    color: #A1AED0;
    padding-top: 5px;
    }
     
    clasione, Mar 31, 2006 IP
  4. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #4
    edit /templates/xxyourtemplatexx/overall_header.tpl
     
    mdvaldosta, Mar 31, 2006 IP
  5. clasione

    clasione Notable Member

    Messages:
    2,362
    Likes Received:
    158
    Best Answers:
    0
    Trophy Points:
    228
    #5
    That is what the code above is...... How do I edit the above code to make the image images/logo_mid.gif clickable?
     
    clasione, Mar 31, 2006 IP
  6. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Forget the CSS, just go into the overall_header.tpl and replace:

    	<tr>
    		<td align="center" valign="top"><div class="logo-row"><div class="logo-row2"><!-- replace this spacer.gif with ad or logo --><img src="templates/Getaway/images/spacer.gif" width="1" height="71" alt="" /><!-- end of replacement --></div></div></td>
    	</tr>
    Code (markup):
    with:
    	<tr>
    		<td align="center" valign="top"><a href="/"><img src="templates/Getaway/images/logo_mid.gif" width="100%" /></a></td>
    	</tr>
    Code (markup):
    should do the trick...
     
    mdvaldosta, Mar 31, 2006 IP
  7. clasione

    clasione Notable Member

    Messages:
    2,362
    Likes Received:
    158
    Best Answers:
    0
    Trophy Points:
    228
    #7
    BINGO

    You Da' MAn :D
     
    clasione, Mar 31, 2006 IP