• 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 adjust height of responsive sider (agency)

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 adjust height of responsive sider (agency)

This topic is: not resolved

Tagged: Agency Theme, height, responsive slider

  • This topic has 4 replies, 2 voices, and was last updated 9 years, 11 months ago by wp guy.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 12, 2013 at 8:23 am #34979
    webenfoto
    Member

    I would like to adjust the height of the responsive slider on the home page....

    Standard height is 300 px, but I would like it to be 600 px. (and 900 px width)

     

    In the functions.php of my child theme I changed this:

    /** Set Genesis Responsive Slider defaults */
    add_filter( 'genesis_responsive_slider_settings_defaults', 'agency_responsive_slider_defaults' );
    function agency_responsive_slider_defaults( $defaults ) {
    $defaults['slideshow_height'] = '300';
    $defaults['slideshow_width'] = '950';
    return $defaults;
    }

    into

    /** Set Genesis Responsive Slider defaults */
    add_filter( 'genesis_responsive_slider_settings_defaults', 'agency_responsive_slider_defaults' );
    function agency_responsive_slider_defaults( $defaults ) {
    $defaults['slideshow_height'] = '600';
    $defaults['slideshow_width'] = '900';
    return $defaults;
    }

    but it won't work. Any help?!

     

    Thank you!

     

    Monique

    April 12, 2013 at 8:27 am #34981
    wp guy
    Member

    Just a basic question, but have you also adjusted the height in your slider settings?

    April 12, 2013 at 8:33 am #34982
    webenfoto
    Member

    thank you, yes I did!

     

    But I will make it 950 again, since that's more suitable with the theme.

     

    So I 'only' want to adjust the height...

    April 12, 2013 at 8:40 am #34988
    webenfoto
    Member

    wauw!!! it works! I just uploaded new pictures in the right size: 950 x 600 px.

     

    So topic can be closed and thank you wp guy!

    April 12, 2013 at 8:50 am #34995
    wp guy
    Member

    No problem!

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

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