• 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

background image in modern portfolio

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 › background image in modern portfolio

This topic is: not resolved

Tagged: background image

  • This topic has 5 replies, 3 voices, and was last updated 13 years, 4 months ago by bandj.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • March 6, 2013 at 3:39 pm #24624
    yellowdog
    Member

    hi
    I would like to achieve the following with my site that is using modern portfolio.
    I would like to add a full size background like the Metro Theme when viewed on a desktop.

    do any of you pro's know how I can do this without upsetting the responsiveness of the site?

    I am slowly getting into CSS and have overcome a few little issues but this is out of my league I think.

    thx in advance

    March 6, 2013 at 10:18 pm #24728
    Brad Dalton
    Participant

    Have you tried using the page i.d or adding a custom class in the layout settings for that specific page?

    Then create a new rule using that class with your background-image declaration.

    Or install a plugin http://wordpress.org/extend/plugins/background-per-page/screenshots/


    Tutorials for StudioPress Themes.

    March 7, 2013 at 12:41 am #24745
    yellowdog
    Member

    ok I wil look at your suggestions

    thx

    March 7, 2013 at 2:32 pm #24847
    yellowdog
    Member

    Think i will use the plugin - looks way easier to me!

    March 7, 2013 at 2:54 pm #24857
    yellowdog
    Member

    One more..I cant seem to work out the optimum size for my background image - in metro its 1440 x 900 but it seems to stretch to fit larger monitors?

    It seems to use this class

    <div class="backstretch" style="left: 0px; top: 0px; overflow: hidden; margin: 0px; padding: 0px; height: 1350px; width: 2526px; z-index: -999999; position: fixed;"><img style="position: absolute; margin: 0px; padding: 0px; border: none; width: 2526px; height: 1578.75px; max-width: none; z-index: -999999; left: 0px; top: -114.375px;" src="http://demo.studiopress.com/metro/files/2013/01/bg.jpg"></div>

    I would like to implement this feature - can anybody advise or is it out of reach for a beginner?

    March 9, 2013 at 6:27 am #25172
    bandj
    Member

    backstretch is a jquery plugin that Brian first used on the Stretch theme. I think he talks about it on his blog.

    if you use an image that is bigger, say 2000px X 1000px you could try adding background-size: contain; to your css

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