• 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

Digital Pro Mobile Responsive Photo issues since upgrade to Woo 3.0

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 › Digital Pro Mobile Responsive Photo issues since upgrade to Woo 3.0

This topic is: not resolved

Tagged: mobile responsive photo too large

  • This topic has 4 replies, 3 voices, and was last updated 5 years, 6 months ago by egleason.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 10, 2017 at 8:51 am #207558
    kaelin
    Member

    I have 2 similar sites - one using enterprise pro (no problem) & one using Digital Pro (problem)
    SpecializedSaddles.com mobile view
    (Digital Pro - Mobile View) - incorrect
    TW Saddlery Mobile View Enterprise Pro - correct
    TWSaddlery.com Mobile View Enterprise Pro - correct

    Both of these were upgraded to Woo 3.0 with same coding added to functions.php and style.css - I've gone through the coding on both to see what might be missing - changed @media sizing to be the same - no luck. Any advice? guidance? TIA!

    http://specializedsaddles.com/store/product/eurolight-saddle/
    June 11, 2017 at 4:25 am #207596
    Victor Font
    Moderator

    Don't know exactly what the issue is, but it has something to do with the gallery tool you are using to display the images. (Zoom) It is adjusting the image dimensions to width: 800px; and height: 1002px;. The image is on the iPhone, put it is so big and so far to the right of the screen that you can't see it.


    Regards,

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

    June 11, 2017 at 7:59 am #207613
    kaelin
    Member

    Right - I added the Woocommerce 3.0 info to functions

    add_action( 'after_setup_theme', 'digital_theme_setup' );
    function digital_theme_setup() {
      add_theme_support( 'wc-product-gallery-zoom' );
      add_theme_support( 'wc-product-gallery-lightbox' );
      add_theme_support( 'wc-product-gallery-slider' );
    }

    I compared the difference in twsaddlery.com where it is displaying correctly and modified css

    /* Media Queries
    ---------------------------------------------------------------------------------------------------- */
    
    @media only screen and (min-width: 300px) {
    
    	.footer-widgets .wrap {
    		display: -webkit-flex;
    		display: -ms-flexbox;
    		display: flex;
    		 
    		-webkit-flex-wrap: wrap;
    		-ms-flex-wrap: wrap;
    		flex-wrap: wrap;
    	}
    
    }
    
    @media only screen and (max-width: 400px) {
    
    	.site-inner {
    		margin-top: 0;

    I found that Enterprise had this and added it to the style.css - but it didn't change anything

    @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
    	only screen and (-moz-min-device-pixel-ratio: 1.5),
    	only screen and (-o-min-device-pixel-ratio: 3/2),
    	only screen and (min-device-pixel-ratio: 1.5) {
    
    }

    thank you for your response by the way...appreciated!

    June 11, 2017 at 10:07 am #207615
    kaelin
    Member

    I had to set the .css back - it destroyed the settings for desktop/laptop display 🙁

    September 13, 2017 at 10:07 am #211406
    egleason
    Member

    I don't know if you solved this but digital_theme shouldn't be in there. I was searching for the code to fix this and noticed your coding was wrong. At least it worked for me?

    the code should be

    add_action( 'after_setup_theme', 'yourtheme_setup' );

    function yourtheme_setup() {
    add_theme_support( 'wc-product-gallery-zoom' );
    add_theme_support( 'wc-product-gallery-lightbox' );
    add_theme_support( 'wc-product-gallery-slider' );
    }

  • 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