Not signed in ( Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorFrancisco
    • CommentTimeSep 3rd 2010 edited
     permalink
    Hello, good to all, I use a ton of time since flatpress, the truth is that a good script, and I love it, and I then decided to make a template, but ...

    http://flatpress.site11.com/

    It seems that the header is deformed, but do not know why, I edited the header, and as I put the original template flatpress I pass, but when I edited the entry-default.tpl, it began to deform the header. ..

    I asked a friend who will review it and this is the conclusion:

    Image for the post

    What the left and I have worked, but the problem is on the right ...

    They say the missing "/ li /" on the menu, but I reviewed the template, and seems to be all in order ...

    Os the two template files that I edited:

    Entry-default:

    <div id="page">
    <div id="page-bgtop">
    <div id="content">
    <div class="post">
    <div class="meta" class="date {$date|date_format:"y-%Y m-%m d-%d"}">
    <h2 class="title"><a href="{$id|link:post_link}">{$subject|tag:the_titl e} </a></h2>
    {include file=shared:entryadminctrls.tpl}
    <div class="entry">
    {$content|tag:the_content}
    </div>
    <ul class="info">
    <li><span>{$author}</span><span>{$date|date_format:"%e"}, {$date|date_format:"%b"}, {$date|date_format:"%Y"}</span><span>{if ($categories)} {$categories|@filed}{/if}</span></li>
    {if !(in_array('commslock', $categories) && !$comments)}
    <li><a href="{$id|link:comments_link}#comments">{$comment s|tag:comments_number} {if isset($views)}(<strong>{$views}</strong> views){/if}</a></li>
    {/if}
    </ul>
    </div><!-- end of .entry -->


    Header

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>{$flatpress.title|tag:wp_title:'&raquo;'}{$ flatpress.page}</title>
    <meta http-equiv="Content-Type" content="text/html; charset={$flatpress.charset}" />
    {action hook=wp_head}
    </head>

    <body>
    <div id="header-wrapper">
    <div id="header">
    <div id="menu">
    <ul>
    {widgets pos=menubar}
    {$content}
    {/widgets}
    </ul>
    </div>
    <div id="container">

    <div id="menu">

    {widgets pos=menubar}
    {$content}
    {/widgets}
    </div><!-- end of #menu -->
    <div id="search">
    <form method="get" action="search.php">
    <fieldset>
    <input type="text" name="s" id="search-text" size="15" />
    <input type="submit" id="search-submit" value="GO" />
    </fieldset>
    </form>
    </div>
    <div id="logo">

    <h1><a href="{$flatpress.www}" title="{$flatpress.title}">{$flatpress.title}</a></h1>
    <p><em>{$flatpress.subtitle}</em></p>
    </div>
    <hr />
    <!-- end #logo -->
    </div><!-- end of #header -->