• 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

Backstretch image size

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 › General Discussion › Backstretch image size

This topic is: not resolved

Tagged: backstretch.js

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 3 months ago by jonbrantingham.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 26, 2013 at 8:04 am #81244
    jonbrantingham
    Participant

    I am currently using minimum pro, and on my homepage, I am using the backstretch.js image. The image however looks very large, and not very good. Is there anyway to limit the backstretch only within the div home-top, which I put on there to have an opt in box?

    I tried changing the code

    jQuery(document).ready(function($) {
    	$("body").backstretch([BackStretchImg.src],{duration:3000,fade:1000});
    });

    To This

    jQuery(document).ready(function($) {
    	$("home-top").backstretch([BackStretchImg.src],{duration:3000,fade:1000});
    });

    But it did not work.

    http://www.artofcomposing.com/
    December 26, 2013 at 8:10 am #81246
    Genesis Developer
    Member

    try this

    jQuery(document).ready(function($) {
    $(".home-top").backstretch([BackStretchImg.src],{duration:3000,fade:1000});
    });


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 26, 2013 at 8:38 am #81254
    jonbrantingham
    Participant

    Thanks, it worked. I had to tweak some css but I think it is all working now.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ 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