WordPress.org

Ready to get started?Download WordPress

Forums

logo does not appear? (5 posts)

  1. Rednose86
    Member
    Posted 3 years ago #

    Hello everyone,

    I'm working on a wordpress website right now and encountered a problem.

    The logo is invisible. I cant see it anywhere. What did i do wrong?

    You can find the site here:

    http://www.hobbieblog.nl/cms/

  2. SpankMarvin
    Member
    Posted 3 years ago #

    Begin by addressing some coding errors. It's likely that these will mess with layout.

    1. In your header.php file, Remove the gap between < and ? for your content-type meta tag:

    <meta http-equiv="Content-Type" content="text/html; charset=< ?php bloginfo('charset'); ?>" />

    becomes

    <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />

    2. Get rid of all link closing tags. The link tag is self-closing and does not require a separate tag for closure.

    E.g.

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://www.hobbieblog.nl/cms/?feed=rss2" />
    </link>

    becomes

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://www.hobbieblog.nl/cms/?feed=rss2" />

    3. Remove the </meta> tag. Again, meta tags are self-closing.

    See if the above fixes your issue?

    J

  3. Rednose86
    Member
    Posted 3 years ago #

    changed it.

    Still does not work.

  4. Rednose86
    Member
    Posted 3 years ago #

    what can be the problem?

    My logo is now invisible AND my navigation!

    This is really puzzling me.

  5. SpankMarvin
    Member
    Posted 3 years ago #

    You need to self-close all meta and link tags. The top of your header is still wrong. Here is what is being produced:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title> CMS</title>
    <link rel="stylesheet" href="http://www.hobbieblog.nl/cms/wp-content/themes/sushitheme/style.css" type="text/css" media="screen">
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://www.hobbieblog.nl/cms/?feed=rss2">
    <link rel="alternate" type="text/xml" title="RSS .92" href="http://www.hobbieblog.nl/cms/?feed=rss">
    <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="http://www.hobbieblog.nl/cms/?feed=atom">
    <link rel="pingback" href="http://www.hobbieblog.nl/cms/xmlrpc.php">

    Here is what SHOULD be produced (note the /> at the end of the meta tag and the link tags)

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title> CMS</title>
    <link rel="stylesheet" href="http://www.hobbieblog.nl/cms/wp-content/themes/sushitheme/style.css" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://www.hobbieblog.nl/cms/?feed=rss2" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="http://www.hobbieblog.nl/cms/?feed=rss" />
    <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="http://www.hobbieblog.nl/cms/?feed=atom" />
    <link rel="pingback" href="http://www.hobbieblog.nl/cms/xmlrpc.php" />

Topic Closed

This topic has been closed to new replies.

About this Topic