Forums

Indent Before Title (7 posts)

  1. kelp
    Member
    Posted 5 years ago #

    In my theme's source code, the title shows up like the following:
    <title>[space]Title</title>

    Here's the code I use to display my title:

    <title><?php wp_title(' '); ?><?php if(wp_title(' ', false)) { echo ' - '; } ?><?php bloginfo('name'); ?><?php if (is_home()) echo " - description"; ?></title>

  2. Yosemite
    Member
    Posted 5 years ago #

    No css for title?

  3. kelp
    Member
    Posted 5 years ago #

    Nope.

  4. Yosemite
    Member
    Posted 5 years ago #

    Then make one. It's usually covered by H1 or #blogtitle, in which case I would have suspected a left margin causing the space...

    Ooops, you did say in your source... n/m (snipe-hunt)

  5. Samuel B
    moderator
    Posted 5 years ago #

    Is it at all possible that in Options -> General
    your blog title has a space before it?

  6. kelp
    Member
    Posted 5 years ago #

    The way I have my title, it will display the subject first and then my site title. But if it is on the homepage it will display the site title and then a description of the site.
    Normal Page:
    Contact - Website Name
    Front Page:
    Website Name - Description

    This doesn't really matter much since the visitor can't see it unless they look at the source, but it is really bugging me.

    I checked the options and they are fine.

  7. lapantoja
    Member
    Posted 5 years ago #

    I have the same problem, helpp please!!!!!!!

    PD: Its only occurs when using K2.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.