• Resolved skinflint

    (@skinflint)


    https://www.wotyougot.com/blog/

    can i increase the size of my subject headings per post and make them centered ?

    and can i move the CATEGORY / TAGS bit from the bottom of each post upto the top ?

    …generally can you redesign the look of the POSTS !?

    thanx !

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m sure you can by working with your theme’s post.php and styles.css

    Hello.

    I am currently having an interesting situation with some of the themes. Some of them when I allow a page to post a comment they are not showing up in the comment. Some of the themes allow this and some other don’t,

    WOuld you please let me know if that is something that I can fix through the php or it is not, or what do I need to do, Thanks,

    cR

    on your first question, yes. It’s all in the style.css.

    currently it looks like this:

    .post h2 {
    font-size:1.5em;
    margin:0pt 0pt 0pt 5px;
    padding-top:5px;
    }

    change it to this.

    .post h2 {
    font-size:2em;
    margin:0pt 0pt 0pt 5px;
    padding-top:5px;
    text-align:center;
    }

    The titles are now larger and centered.

    On restructuring the posts, in your index.php file inside th eloop you have this by default:

    <div class="post" id="post-<?php the_ID(); ?>">
    				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    				<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    
    				<div class="entry">
    					<?php the_content('Read the rest of this entry &raquo;'); ?>
    				</div>
    
    				<p class="postmetadata"><?php the_tags('Tags: ', ', ', ''); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    
    			</div>

    Take the whole “p class=”metadata” and moving it up under the h2 like this:

    `<div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
    <p class=”postmetadata”><?php the_tags(‘Tags: ‘, ‘, ‘, ”); ?> Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></p>
    <small><?php the_time(‘F jS, Y’) ?> <!– by <?php the_author() ?> –></small>

    <div class=”entry”>
    <?php the_content(‘Read the rest of this entry »’); ?>
    </div>
    </div>`

    now your posts are structured like:

    title
    tags/categories
    date
    content

    Thread Starter skinflint

    (@skinflint)

    thanx thanx !!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘redesign POSTS’ is closed to new replies.