Minimum – need help to add full width text under home page image please

Community Forums Forums Design Tips and Tricks Minimum – need help to add full width text under home page image please

This topic is: resolved

Tagged: ,

This topic contains 4 replies, has 3 voices, and was last updated by  ramseyp 1 year, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #51567

    leannemorrison
    Participant
    Post count: 21

    Hi I am building a site using Minimum theme. I would like to have an area on the home page (under the photo) that can be full-width. I simply want the logo, followed by the menu, then the photo, then some full width text and then the footer.
    I would have used a custom home page, but it doesn’t display responsively on a mobile device with the large picture (unless I’m doing something wrong)

    I don’t want to use the social media icons so have left them blank.

    I deleted the posts area by using this code I found on one of these discussions.
    .home #inner {
    display: none;
    }

    I still have a blank space under the photo, which is where I would like to put some text.

    Any help would be greatly appreciated.
    Thanks
    Leanne

    http://www.launcestonhairdresser.com.au
    #51580

    ramseyp
    Participant
    Post count: 99

    Hi Leanne,

    I think if you set a Page as your homepage, you’ll be better off than editing the CSS to hide .home #inner.

    Try this:

    1) Unhide .home #inner by uncommenting out that CSS.

    2) Select a Page to use as your front page in your Reading Settings.

    3) Make sure that page has a Featured Image.

    4) Edit that Page, giving it the Full-Width layout.

    5) Edit your site Description to say what you want under the image.

    6) Lastly, look in your theme and edit page-title.php. The “Subscribe Now” button is hard-coded in this file. If you don’t want it to show under the image, you need to edit this file. For example, to remove the button when you have a Page as your front page, you’ll look for this:

    elseif ( is_singular( 'page' ) ) {
    echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }

    Edit it so it looks like this:
    elseif ( is_singular( 'page' ) ) {
    echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '</p></div></div>';
    }

    Those steps should give you something that works.

    Cheers!


    #51587

    Anita
    Blocked
    Post count: 7712

    You can also just use Brian Gardner’s instructions to add a widget area to do what you want – (http://www.briangardner.com/welcome-text-widget/) and the use the Visual Hook Guide to hook it under the image (http://genesistutorials.com/visual-hook-guide/). These instructions are for every page, however if you scroll down in the comments, they’ve placed the code for “home page only” also.

    #51824

    leannemorrison
    Participant
    Post count: 21

    thanks so much anitac and ramseyp – I really appreciate your help. I used ramseyp’s instructions and they worked well (sorry anitac, I couldnt find the instructions for the “home page only”. One thing though, I haven’t made the home page image a “featured image” as it made it sit at the top of the page under the menu (see http://www.launcestonhairdresser.com.au), and by making it unfeatured, I was able to place text both above and below it. Will this cause a problem?

    thanks again, leanne

    #52092

    ramseyp
    Participant
    Post count: 99

    Leanne,

    That shouldn’t cause a problem at all.


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

You must be logged in to reply to this topic.