Ready to get started?Download WordPress


Move post title to top of post and format text (12 posts)

  1. rileybetka
    Posted 1 year ago #

    Hello - I am trying to figure out how to move my post title to the top of the post and make the lettering larger than the rest of the post meta data. Right now it is showing up in tiny letters BELOW the post and this is not what I want. Here is the URL: http://www.daily-mash.com/wordpress2/

    thanks in advance for your help!

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    you seem to have made various customisations to your Twenty Twelve child theme;

    please start by posting the full code of content.php of the child theme;
    please use the pastebin as described in teh forum guidelines: http://codex.wordpress.org/Forum_Welcome#Posting_Code

  3. rileybetka
    Posted 1 year ago #

    http://pastebin.com/X86qnF4Y - content.php

    I think I made one minor change to the content.php - most of the changes that I have made I did using Style.css

    here is my style.css - http://pastebin.com/LZZM6y9m

    it seems like these changes should be pretty easy to make but none of the code I find on the web seems to do anything - thanks for the help!

  4. rileybetka
    Posted 1 year ago #

    There are a couple other things I would like to change in the post content - I would like padding to be smaller so the content doesn't look so stretched out...I want to know how to change the color of the break bar between the posts (it's white now I would like to make it orange)

  5. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    unfortunately, what you posted as content.php is not the one used in your site;

    the html output structure is quite different;
    I would expect to see the post title directly below the featured image abd above the post content, with the structure <h1 class="entry-title"> ... </h1> while the post title in your site appears below the post content, within a structure like:

    <footer class="entry-meta">
    <h1> ... </h1>

    this also makes me think that you have edited the function twentytwelve_entry_meta() ...

  6. rileybetka
    Posted 1 year ago #

    This is the content.php from my childtheme folder: is there any reason that it wouldn't be active?? I can post the one from my twenty twelve theme folder - I haven't changed that one at all

  7. rileybetka
    Posted 1 year ago #

    I am trying to compare the 2 content.php files that I have here - I don't remember what I changed in the one for my childtheme - it looks like the original one is 70 characters less and the same amount of lines...I can't spot the difference yet but give me a minute...

  8. rileybetka
    Posted 1 year ago #

    yeah it says there are more characters but they look identical - I can just start with the base content.php from the twenty twelve theme - I don't think I made any significant changes to it:
    this is the original:

    can you tell me which lines I need to change to adjust the post content?

  9. rileybetka
    Posted 1 year ago #

    I went and deleted the content.php that was in my childtheme and nothing appears to be different

  10. rileybetka
    Posted 1 year ago #

    There seems to be something over-riding my changes to my style.css - for example - I just pasted this into my style.css file and it changed nothing
    body {
    font-size: 25px;
    font-size: 1rem;
    font-family: Helvetica, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    color: #444;

    all of the changes that I made before to my style.css worked but I cannot for the life of me figure out how to change my fonts and stuff - this shouldn't be so complicated... do you have any ideas?

  11. humanfiles
    Posted 12 months ago #


    I was wondering if you found a solution to this problem. On one of my sites, the title of the posts has suddenly moved to the bottom of the post, and I can't figure out why. I had a content.php page in my child theme, and I deleted it as well, but nothing changed. I don't think there's anything in the CSS that would move the title from the top to the bottom.

    Did you find a solution?

  12. humanfiles
    Posted 12 months ago #

    The solution to this problem is so easy it will make you crazy. Where you edit a post, in the sidebar there is "Format". If you've accidentally changed that to "Image", the Title will appear at the bottom of the post. Change it back to "Standard". At least this is the case with the Twenty Twelve theme.

Topic Closed

This topic has been closed to new replies.

About this Topic