Remove Home-Top and Bottom on Agency Pro

Community Forums Forums Design Tips and Tricks Remove Home-Top and Bottom on Agency Pro

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  braddalton 9 months, 2 weeks ago.

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

    Liz
    Participant
    Post count: 41

    I’d like my home page to just have the 6 home-middle widgets, and no home-top and no home-bottom, removing the fadeout effect and just have the home middle section as static on the page. I have already omitted items in the home-top area but there is a big blank space on home page, I’d like home-middle to be near the nav bar.

    I’ve seen this on Agency Pro items in the showcase.

    I can edit the code and the CSS but don’t really know what to put in there, coding snippets please!

    thanks!!

    http://www.passiongoddess.com/test/
    #73496

    sdbroker
    Participant
    Post count: 106

    add display: none; under .home-top .wrap & .home-bottom

    #73529

    braddalton
    Participant
    Post count: 9320

    This is what i did with the front-page.php file and it works very well.

    https://gist.github.com/braddalton/235e6afe28793b319046


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #73888

    Liz
    Participant
    Post count: 41

    thank you, Brad. I tried this and it looked pretty much the same as leaving the home-top and home-bottom widgets empty, i.e. there is still space above the home-middle between it and the nav bar.

    #73894

    braddalton
    Participant
    Post count: 9320

    Yes thats right however i personally like a bit of space.

    You can modify or remove this CSS if you want to change or remove the space:
    [css]
    .home-middle {
    padding: 10% 0 5%;
    }
    [/css]

    agency pro


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

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

You must be logged in to reply to this topic.