Minimum Theme: How to change the page title area to be a widget area

Community Forums Forums Design Tips and Tricks Minimum Theme: How to change the page title area to be a widget area

This topic is: not resolved

Tagged: 

This topic contains 6 replies, has 2 voices, and was last updated by  joeroberson 1 year ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #67990

    joeroberson
    Participant
    Post count: 18

    I’d like to change the Page Title area on the miminum theme homepage (the area under the featured image section to be a widget area. Can anyone please explain how to do this? I know how to locate my functions.php file and replace stuff in it.

    Thanks
    Joe

    http://www.mindofmyown.org.uk
    #68143

    Sridhar Katakam
    Participant
    Post count: 1068
    #68154

    joeroberson
    Participant
    Post count: 18

    Thankyou Sridhar. Will this work in Minimum 2.0 (that’s what I’m running)?

    Joe

    #68172

    Sridhar Katakam
    Participant
    Post count: 1068

    In Minimum 2.0, make these changes:

    1) In functions.php, comment out or delete

    add_action( 'genesis_after_header', 'minimum_page_title' );

    2) Instead of the CSS in my above article, just use this:

    .featured {
    	margin-top: 30px;
    }

    Everything else applies.


    #68693

    joeroberson
    Participant
    Post count: 18

    Thanks again Sridhar

    I’ve added some text to the widget area but it strays right over to the left of the screen. What CSS do I need to put in a margin on the left in line with the rest of the minimum 2.0 homepage elements? Can I copy this from the css of the old page title area that was here?!

    Thanks
    Joe

    #68714

    joeroberson
    Participant
    Post count: 18

    I think I’ve done it.

    The code Ive used is:
    /* Featured widget area in place of tagline
    ——————————————— */
    .featured {
    padding: 0;
    margin: 0 auto;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e4e4e4;
    border-top: 1px solid #e4e4e4;
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    padding: 25px 60px 20px 60px;
    }

    What do you reckong? Its at http://www.mindofmyown.org.uk

    #69309

    joeroberson
    Participant
    Post count: 18

    I’ve sorted this now – thankyou!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.