• 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

Adjust Agency Pro Buttons

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 › Adjust Agency Pro Buttons

This topic is: resolved

Tagged: agency pro, buttons, css, home

  • This topic has 6 replies, 2 voices, and was last updated 10 years, 9 months ago by brant1121.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 22, 2015 at 10:44 pm #141829
    brant1121
    Participant

    I am trying to move the buttons on the homepage “Meet Our Team” and “Dental Services” to be centered right under the “Family • Cosmetic • Sleep Apnea • Invisalign • Implants” tag. I can’t seem to get it to where I want it.

    http://181.224.137.164/~bcreated/docrockdds.com/

    Any ideas? I appreciate any feedback. Thanks!

    http://181.224.137.164/~bcreated/docrockdds.com/
    February 23, 2015 at 9:17 am #141869
    Victor Font
    Moderator

    The reason for this is because you changed the h elements to be 600px wide but the textwidget itself is much wider. The buttons are centered within the full width of the textwidget. To fix this you need to wrap the buttons in a div element and then adjust the size and position of the div. In your text widget, replace the button code with the following:

    
    <div class="my-buttons">
    <a href="http://181.224.137.164/~bcreated/docrockdds.com/dental-services/" class="button">Our Dental Services</a>
    <a href="http://181.224.137.164/~bcreated/docrockdds.com/about-us/meet-our-team/" class="button">Meet the Team</a>
    </div>
    

    No add the following block to your theme's style.css:

    
    .my-buttons {
        width: 600px;
        position: relative;
        top: -120px;
    }
    

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 23, 2015 at 9:18 am #141870
    Victor Font
    Moderator

    I've been trying to answer this question, but the answer isn't saving.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 23, 2015 at 9:19 am #141871
    Victor Font
    Moderator

    The reason for this is because you changed the h elements to be 600px wide but the textwidget itself is much wider. The buttons are centered within the full width of the textwidget. To fix this you need to wrap the buttons in a div element and then adjust the size and position of the div. In your text widget, replace the button code with the following:

    <div class="my-buttons">
    <a href="http://181.224.137.164/~bcreated/docrockdds.com/dental-services/" class="button">Our Dental Services</a>
    <a href="http://181.224.137.164/~bcreated/docrockdds.com/about-us/meet-our-team/" class="button">Meet the Team</a>
    </div>

    No add the following block to your theme's style.css:

    .my-buttons {
        width: 600px;
        position: relative;
        top: -120px;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 23, 2015 at 9:20 am #141872
    Victor Font
    Moderator

    The reason for this is because you changed the h elements to be 600px wide but the textwidget itself is much wider. The buttons are centered within the full width of the textwidget. To fix this you need to wrap the buttons in a div element and then adjust the size and position of the div. In your text widget, wrap the button code with a div with the class of my-buttons, the add the following code to your style.css:

    .my-buttons {
        width: 600px;
        position: relative;
        top: -120px;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 23, 2015 at 9:21 am #141873
    Victor Font
    Moderator

    So in my original answer I had a block of html for you. It was preventing the answer from being saved.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 23, 2015 at 12:03 pm #141891
    brant1121
    Participant

    Thanks a lot for your help. Worked great!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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

© 2025 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