Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter whitezero

    (@whitezero)

    Thanks, it worked, except I had to add it to <html> instead of <body>. I guess it just depends on how the theme is built.

    Thread Starter whitezero

    (@whitezero)

    I figured it out myself. I screwed up CSS on my own earlier… too long to explain. I found a mistake using Chrome ‘Inspect Element’ feature.

    Thread Starter whitezero

    (@whitezero)

    Am i looking in the wrong place?

    Thread Starter whitezero

    (@whitezero)

    Logo is at the top of the page. I can’t find page.php or single.php ,but I do have content-page.php and content-single.php

    Here is the code in content-page.php
    <!– tpl: content page –>

    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <header class=”entry-header”>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    </header><!– .entry-header –>

    <div class=”entry-content”>
    <?php the_content(); ?>
    <div class=”clear”></div>
    <?php wp_link_pages(array(‘before’ => ‘<div class=”page-link”><span>’ . __(‘Pages:’, ‘jc-one-lite’) . ‘</span>’, ‘after’ => ‘</div>’)); ?>
    </div><!– .entry-content –>

    <?php edit_post_link(__(‘Edit’, ‘jc-one-lite’), ‘<span class=”edit-link”>’, ‘</span>’); ?>

    </article><!– #post-<?php the_ID(); ?> –>

    …and code in content-single.php
    <!– tpl: content single –>
    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <header class=”entry-header”>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    <?php if (‘post’ == get_post_type()) : ?>
    <div class=”entry-meta”>
    — <?php printf(__(‘by %s on’, ‘jc-one-lite’), get_the_author()); ?> <?php the_date(); ?>
    </div><!– .entry-meta –>
    <?php endif; ?>
    </header><!– .entry-header –>

    <?php if (has_post_thumbnail()) {
    the_post_thumbnail(‘large-feature’);
    } ?>

    <div class=”entry-content”>
    <?php the_content(); ?>
    <div class=”clear”></div>
    <?php wp_link_pages(array(‘before’ => ‘<div class=”page-link”><span>’ . __(‘Pages:’, ‘jc-one-lite’) . ‘</span>’, ‘after’ => ‘</div>’)); ?>
    </div><!– .entry-content –>

    <?php if (‘post’ == get_post_type()) {
    $categories_list = get_the_category_list( __( ‘, ‘, ‘jc-one-lite’ ) );
    $tags_list = get_the_tag_list(”, __(‘, ‘, ‘jc-one-lite’));
    if ($categories_list || $tags_list){
    ?>
    <footer class=”entry-meta”>
    <?php
    if ( $categories_list ) { ?>
    <div class=”entry-categories”>
    <?php printf(__(‘<span>Posted in</span> %1$s’, ‘jc-one-lite’), $categories_list); ?>
    </div><!– .entry-categories –>
    <?php
    }

    if ($tags_list){
    ?>
    <div class=”entry-tags”>
    <?php printf(__(‘<span>Tagged</span> %1$s’, ‘jc-one-lite’), $tags_list); ?>
    </div><!– .entry-tags –>
    <?php } ?>
    </footer>
    <?php }} ?>

    </article><!– #post-<?php the_ID(); ?> –>

    Let me know if you see the problem.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)