Help Designing my Content Twenty Eleven child theme (6 posts)

  1. WP Designer
    Posted 5 years ago #


    I am re-designing my wordpress Twenty Eleven child theme and would like to know if anybody can explain how I might be able to create a content with the date, title, entry excerpt all on the same horizontal line like http://www.wilsonminer.com/. I would like to know the right way to go about tweaking this so I can still retain all the functionality of Twenty Eleven just would like to make it look different. P.S. I am pretty good with tweaking the child theme, however, this one is throwing me off because if I play with the margins and padding it effects the single post pages.


  2. George
    Posted 5 years ago #

    What you can do is perhaps make a specific page template for the home page, which
    you can style separately without affecting other pages.

    Simply make a file like homepage.php or frontpage.php (or whatever you want, honestly. bacon.php is always a good choice).

    at the top of the page use

    Template Name: Bruce Willis (or whatever you want to call it)

    This will create a new page template you can use for your home page. Then you can copy and past the code for the posts loop or work with other code and make all your own divs, arrange things like you want, etc. Simply targeting everything to the specific body class in your CSS file will keep the styles from affecting other templates :)

    You can check out more about Page Templates here: http://codex.wordpress.org/Pages#Page_Templates.

    Hope that helps. Let me know if it does!

  3. WP Designer
    Posted 5 years ago #

    looking for the post loop... Not sure where to find it?

  4. George
    Posted 5 years ago #

    It'd be in loop-post.php in the main theme, not the child theme.

  5. esmi
    Forum Moderator
    Posted 5 years ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues.

    Create a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

  6. George
    Posted 5 years ago #

    @esmi he is using a child theme, I meant to copy the code from the main theme and re-use it in the child theme.

Topic Closed

This topic has been closed to new replies.

About this Topic