• 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

Chrome & FF Displaying Gallery Differently

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 › Chrome & FF Displaying Gallery Differently

This topic is: not resolved

Tagged: gallery

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago by jrotem.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 11, 2015 at 3:28 pm #155901
    jrotem
    Participant

    Hello!

    I hope someone can help with this, although I am not sure if it's a WP/browser question or Genesis/browser question.
    I am using the WP gallery in ExecutivePro.
    When I click on the images in FireFox the single images appear center against a black background -- not a lightbox but ok looking.
    In Chrome, however, the single image appears anchored to the top left of the window, and with a white background, looking like a default image link (which it is but I prefer the pseudo-lightbox effect.) Is there a way to adjust so that Chrome looks the same, or do I need to use a gallery plugin?

    Thank you!


    “It’s always something.” — Rosanne Roseannadanna

    http://new.darrylepollack.com/my-art/
    June 12, 2015 at 6:03 pm #156026
    Graham
    Member

    Sounds like you're setting the link on the gallery images to the image file itself. These are the default image file displays for Firefox and chrome.
    Use an image attachment template to have more control

    The Executive pro theme does not have a image attachment template.... (Disappointingly, I've not seen one yet in a StudioPress theme, but happy to be corrected), so WordPress defaults to using the next available template in the theme following the hierarchy.

    https://developer.wordpress.org/themes/basics/template-hierarchy/

    In this case, the single.php that is found in the parent Genesis theme ( the same that is used to display single blog posts )

    An option would be to customise the Executive Pro theme by adding your own template file for displaying image attachments ( image.php )

    ___

    Other options could be using a carousel to display the gallery, check the one that comes with Jetpack as an example


    My JustGiving page: https://www.justgiving.com/helping-graham-give

    June 12, 2015 at 8:31 pm #156040
    jrotem
    Participant

    Thank you, Graham. As I read I was already starting to think "Maybe I could created my own image template." so I was pleased to see that's exactly what you suggested. It means things are starting to sink in. 😉

    jean


    “It’s always something.” — Rosanne Roseannadanna

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