• 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

mikemueller

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 21 through 40 (of 53 total)
← 1 2 3 →
  • Author
    Posts
  • December 23, 2013 at 10:44 pm in reply to: Agency Pro – getting the header image to scroll #81019
    mikemueller
    Participant

    Can I add another to the same?
    On mobile the Nav Bar isn't at the top - how do I make that happen?

    December 18, 2013 at 11:39 am in reply to: Agency Pro static header and menu bar #79977
    mikemueller
    Participant

    Thanks Andrea - that worked!
    And yes I adjusted the site container and reduced the menu bar height.
    Thank you sooooo much for your help!
    🙂
    MM

    December 17, 2013 at 3:24 pm in reply to: Agency Pro static header and menu bar #79819
    mikemueller
    Participant

    Here you go. Sorry for the delay...

    <?php
    //* Start the engine
    include_once( get_template_directory() . '/lib/init.php' );

    //* Set Localization (do not remove)
    load_child_theme_textdomain( 'agency', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'agency' ) );

    //* Child theme (do not remove)
    define( 'CHILD_THEME_NAME', __( 'Agency Pro Theme', 'agency' ) );
    define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/agency/' );
    define( 'CHILD_THEME_VERSION', '3.0.0' );

    //* Add HTML5 markup structure
    add_theme_support( 'html5' );

    //* Add viewport meta tag for mobile browsers
    add_theme_support( 'genesis-responsive-viewport' );

    //* Enqueue EB Garamond and Spinnaker Google fonts
    add_action( 'wp_enqueue_scripts', 'agency_google_fonts' );
    function agency_google_fonts() {

    wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=EB+Garamond|Spinnaker', array(), CHILD_THEME_VERSION );

    }

    //* Enqueue Backstretch script and prepare images for loading
    add_action( 'wp_enqueue_scripts', 'agency_enqueue_backstretch_scripts' );
    function agency_enqueue_backstretch_scripts() {

    //* Load scripts only if custom background is being used
    if ( ! get_background_image() )
    return;

    wp_enqueue_script( 'agency-pro-backstretch', get_bloginfo( 'stylesheet_directory' ) . '/js/backstretch.js', array( 'jquery' ), '1.0.0' );
    wp_enqueue_script( 'agency-pro-backstretch-set', get_bloginfo( 'stylesheet_directory' ).'/js/backstretch-set.js' , array( 'jquery', 'agency-pro-backstretch' ), '1.0.0' );

    wp_localize_script( 'agency-pro-backstretch-set', 'BackStretchImg', array( 'src' => get_background_image() ) );

    }

    //* Add new image sizes
    add_image_size( 'home-bottom', 380, 150, TRUE );
    add_image_size( 'home-middle', 380, 380, TRUE );

    //* Add support for custom background
    add_theme_support( 'custom-background', array( 'wp-head-callback' => 'agency_background_callback' ) );

    //* Add custom background callback for background color
    function agency_background_callback() {

    if ( ! get_background_color() )
    return;

    printf( '<style>body { background-color: #%s; }</style>' . "\n", get_background_color() );

    }

    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    'header_image' => '',
    'header-selector' => '.site-title a',
    'header-text' => false,
    'height' => 145,
    'width' => 300,
    ) );

    //* Add support for additional color style options
    add_theme_support( 'genesis-style-selector', array(
    'agency-pro-blue' => __( 'Agency Pro Blue', 'agency' ),
    'agency-pro-green' => __( 'Agency Pro Green', 'agency' ),
    'agency-pro-orange' => __( 'Agency Pro Orange', 'agency' ),
    'agency-pro-red' => __( 'Agency Pro Red', 'agency' ),
    ) );

    //* Add support for 3-column footer widgets
    add_theme_support( 'genesis-footer-widgets', 3 );

    //* Reposition the header
    remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
    remove_action( 'genesis_header', 'genesis_do_header' );
    remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
    add_action( 'genesis_before', 'genesis_header_markup_open', 5 );
    add_action( 'genesis_before', 'genesis_do_header', 10 );
    add_action( 'genesis_before', 'genesis_header_markup_close', 15 );

    //* Remove the site description
    remove_action( 'genesis_site_description', 'genesis_seo_site_description' );

    //* Register widget areas
    genesis_register_sidebar( array(
    'id' => 'home-top',
    'name' => __( 'Home Top', 'agency' ),
    'description' => __( 'This is the top section of the homepage.', 'agency' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-middle',
    'name' => __( 'Home Middle', 'agency' ),
    'description' => __( 'This is the middle section of the homepage.', 'agency' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-bottom',
    'name' => __( 'Home Bottom', 'agency' ),
    'description' => __( 'This is the bottom section of the homepage.', 'agency' ),
    ) );

    //* Reposition the secondary navigation menu
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    add_action( 'genesis_before_header', 'genesis_do_subnav' );

    December 13, 2013 at 8:39 pm in reply to: middle widget area for Minimum Pro header area #78963
    mikemueller
    Participant

    Thanks Brad!
    Looking at that it looks like that'll add 3 widget areas
    Am I correct in thinking I want just 2 - as in the header image doesn't count as a widget area?

    December 13, 2013 at 3:33 pm in reply to: Agency Pro static header and menu bar #78890
    mikemueller
    Participant

    Yup! copied it directly from the forum page.

    December 13, 2013 at 11:41 am in reply to: Agency Pro static header and menu bar #78841
    mikemueller
    Participant

    Just did that and we're looking better.
    Went with
    .site-container {
    padding-top: 140px;
    padding-top: 14rem;
    }

    Any idea on why the menu bar isn't at the top?

    December 13, 2013 at 11:25 am in reply to: Agency Pro static header and menu bar #78834
    mikemueller
    Participant

    Oh no, it's not you, it's me!
    😉

    I do want to keep both static. But I need the logo to show and not hide behind the menu bar (or layered on top of it).

    I just added your snippet to the bottom of the functions.php for the child theme (via ftp), didn't change anything above it in the file. No change - what did I miss?

    * and I really, really appreciate the help! You rock!
    MM

    December 13, 2013 at 11:12 am in reply to: Agency Pro static header and menu bar #78827
    mikemueller
    Participant

    Awesome Andrea! Thanks! That made both static but...
    Now I need to lower the menu bar enough to get the logo to show OR better yet - put the menu bar at the top above the logo.
    How do I do that?

    October 17, 2013 at 12:50 pm in reply to: CSS help with 3 elements (mobile) #67179
    mikemueller
    Participant

    Solved it myself...

    ` <div style="float: left; width: 360px;">
    <iframe style="background: transparent;" src='http://yadda.com' frameborder='0' scrolling='no' height="450" width="350" align="left"></iframe>
    </div>
    <div style="float: left; width: 300px;">
    texty text text.
    </div>
    <div style="float: left; width: 270px;">
    <iframe style="background: transparent;" src="http://yadda.com" scrolling='no' height="228" width="257" align="right"></iframe>
    </div>
    <br style="clear: left;" />

    September 10, 2013 at 10:03 pm in reply to: Agentpress Archive Pages – no tiles #61831
    mikemueller
    Participant

    Actually just noticed the Legacy theme did not have a taxonomy.php file (AgentPress did).
    FTP'd that up and it's almost working. Like you mentioned - it needs a little tweaking.

    Thanks as always! You rock!

    August 30, 2013 at 7:03 pm in reply to: Agentpress Archive Pages – no tiles #59805
    mikemueller
    Participant

    Doh! Thanks Anita!

    But...
    I just transferred (via ftp) the archive-listing.php file and the parts of the cssI I thought related to the archive-listing.php and nothing!
    Just tried the complete Agentpress css as a replacement for the Legacy css and still nothing.

    mm

    March 7, 2013 at 10:53 pm in reply to: Double images on the Home Page of DECOR #24935
    mikemueller
    Participant

    SCOE - You nailed it!  It was just the featured images that were set in archives.  I had it turned off originally but I think the owner turned it back on.

    Thanks!

     

    MM

    February 13, 2013 at 11:48 pm in reply to: Backcountry Middle Home Widget #20229
    mikemueller
    Participant

    LOL!  I should have seen that!  Thanks Tony!

    Changed it on home.php and it's closer but still skewed.

    Hmmm

    February 12, 2013 at 5:19 pm in reply to: Pretty Young Thing Thumbnails #19954
    mikemueller
    Participant

    I think that's working.

    I left the margin as is but deleted the width.

    Thank you both!

    🙂

    February 12, 2013 at 5:06 pm in reply to: Pretty Young Thing Thumbnails #19945
    mikemueller
    Participant

    Functions has

    /** Add new image sizes */

    add_image_size('grid-thumbnail', 100, 100, TRUE);

    and absolutely nothing 150.

    February 12, 2013 at 4:11 pm in reply to: Pretty Young Thing Thumbnails #19923
    mikemueller
    Participant

    Anita - good thought - just tried that.  Prada (the bag on the home  page) still looks like a squished little bag.  🙁

    February 12, 2013 at 3:50 pm in reply to: Pretty Young Thing Thumbnails #19911
    mikemueller
    Participant

    Anita - there's no widget for the home page on this theme.

    Peter - I tried that too.  It's not that.

    MM

    February 1, 2013 at 8:01 pm in reply to: Responsive Slider, Imported Posts, Internet Explorer – doesn't work #17296
    mikemueller
    Participant

    Just did.  Thanks Anita

    figured this would have been the better place to post it, but ok.

    🙂

    February 1, 2013 at 3:54 pm in reply to: Responsive Slider, Imported Posts, Internet Explorer – doesn't work #17212
    mikemueller
    Participant

    bump

    January 28, 2013 at 12:02 pm in reply to: AgentPress Video Embed Resizing #15593
    mikemueller
    Participant

    Well, it was a nice try.  still the same issue.

    added

    if ( ! isset( $content_width ) ) $content_width = 600;

    to the functions.php file in both AgentPress and Genesis

    🙁

  • Author
    Posts
Viewing 20 posts - 21 through 40 (of 53 total)
← 1 2 3 →
« Previous Page

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