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 5 months ago.

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

    Liz
    Participant
    Post count: 34

    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: 95

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

    #73529

    braddalton
    Participant
    Post count: 7458

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

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


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #73888

    Liz
    Participant
    Post count: 34

    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: 7458

    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:

    .home-middle {
    padding: 10% 0 5%;
    }
    

    agency pro


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

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

You must be logged in to reply to this topic.