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.

possible header issue in wordpress. need some insight.

Discussion in 'HTML & Website Design' started by driven, Feb 17, 2007.

  1. #1
    on this site, of mine which is built on Wordpress, i notice that when I click on a blog entry such as these;

    http://crossroadsclub.net/2007/02/11/the-dc-linkedin-project-business-mixer-22207/
    http://crossroadsclub.net/2007/02/06/movers-and-mixer-networking-feb-28th/

    my beta logo would not appear. But I notice that beta logo will appear on pages. What could be causing this? Can anyone shed some light, especially if you are familiar with wordpress at all. My best guess is that there is something wrong with either the header.php file or the single.php file but I've been unable to locate the problem
     
    driven, Feb 17, 2007 IP
  2. Monty

    Monty Peon

    Messages:
    1,363
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Because if you look at the image property, you'll see the image adresse is this one : h**p://crossroadsclub.net/2007/02/11/the-dc-linkedin-project-business-mixer-22207/wp-content/themes/crossroadsclub/img/beta1.jpg

    which is false, the correct one is this :
    h**p://crossroadsclub.net/wp-content/themes/crossroadsclub/img/beta1.jpg

    You can try with the full path in your template.
     
    Monty, Feb 17, 2007 IP
    driven likes this.
  3. nwk

    nwk Well-Known Member

    Messages:
    385
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    158
    #3
    I also had such problems. It can be best solved if you link the image from the "style.css" file rather than the "header.php" file. You can do it as follows.
    
    .logo {
    width: 40px;   /* width of image*/
    height: 40px;  /*height of image*/
    margin: 20px, 400px, 5px; / *set corresponding to the suitable location of the logo*/ 
    background: transparent url(img/beta1.jpg) no-repeat;
    }
    
    Code (markup):
    and remove the link to the image in the "header" file.


    In another way try changing this (in the header file)
    
    <img class="logo" src="wp-content/themes/crossroadsclub/img/beta1.jpg" alt="logo"  />
    
    Code (markup):
    to this
    
    <img class="logo" src="http://crossroadsclub.net/wp-content/themes/crossroadsclub/img/beta1.jpg" alt="logo"  />
    
    Code (markup):
    :)
     
    nwk, Feb 17, 2007 IP
    driven likes this.