1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need help altering header text in php

Discussion in 'HTML & Website Design' started by cscott5288, Sep 15, 2009.

  1. #1
    I am using wordpress and am having difficult editing the header text (which is my site name) in the template.

    the site is here.

    I need to alter the h1 heading in the php of the template so that I can add HTML style. Like for example: <i> Said</i> <b>What?</b> The Blog.

    Also is there any easy way I can replace the heading text with an image altogether?

    Thanks ahead for any help!
     
    cscott5288, Sep 15, 2009 IP
  2. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #2
    I think you would be better off creating it as an image, because if you stick any code in there it may show up in other places you don't want it (eg, the title of the page)

    but, now that I think about it

    go into your global header template file, and wherever it has the:
    <div class="header">
    
    		<div class="logo">
    
    Code (markup):
    just take out the variable, and put in your text, including your HTML. That will work just fine :)
     
    crath, Sep 15, 2009 IP
    cscott5288 likes this.
  3. cscott5288

    cscott5288 Active Member

    Messages:
    912
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Thanks, it worked!

    I wonder if anyone could tell me why the small icon in the recent comments widgets (in the right hand side-bar) is overlapping text?
     
    cscott5288, Sep 16, 2009 IP
  4. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #4
    got a link? also, please read my sig (i am soo close to 100 :D)
     
    crath, Sep 18, 2009 IP
  5. cscott5288

    cscott5288 Active Member

    Messages:
    912
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #5
    link is in first post. rep added!
     
    cscott5288, Sep 19, 2009 IP