WordPress.org

Support

Support » Themes and Templates » Move post title to top of post and format text

Move post title to top of post and format text

Viewing 11 replies - 1 through 11 (of 11 total)
  • Michael

    @alchymyth

    Forum Moderator

    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

    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!

    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)

    Michael

    @alchymyth

    Forum Moderator

    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()

    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

    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…

    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:
    http://pastebin.com/tUAFrs4S

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

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

    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?

    rileybetka,

    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?

    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.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Move post title to top of post and format text’ is closed to new replies.
Skip to toolbar