• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to stop anchors scrolling too far in Agency Pro

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to stop anchors scrolling too far in Agency Pro

This topic is: not resolved

Tagged: agency pro, anchor

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 7 months ago by William.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 19, 2016 at 10:54 am #195039
    clairedj
    Member

    I added a button on the home page of Agency Pro that will scroll down to a widget in a lower section of the home page.

    The top of the widget area gets cut off by the header though. Example: https://www.supportdogs.org/#home-middle

    Is there a way to fix this?

    I tried adding <span class="home-middle-anchor"></span> to the home middle widget in front-page.php and then added the following in style.css

    .home-middle-anchor {
    display: block;
    height: 200px;
    margin-top: -200px;
    visibility: hidden;
    }

    This didn't work though.

    https://www.supportdogs.org/#home-middle
    October 19, 2016 at 12:48 pm #195043
    William
    Member

    Yes 🙂

    
    #home-middle {
        margin-top: -100px;
        padding-top: 100px;
    }

    Genesis Customization Service | Quick fixes whenever you need them ! | Contact me at Fixmysite.com !

    October 19, 2016 at 1:44 pm #195055
    clairedj
    Member

    Thanks! I tried that and it is still scrolling too far. Do you have any suggestions for what else I would try?

    October 20, 2016 at 1:05 am #195084
    William
    Member

    I am positive that the above CSS works 🙂


    Genesis Customization Service | Quick fixes whenever you need them ! | Contact me at Fixmysite.com !

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble