• 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

Adding Container Div to Grid Images?

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 › Adding Container Div to Grid Images?

This topic is: not resolved

Tagged: circular images, css, minimum, safari

  • This topic has 1 reply, 1 voice, and was last updated 10 years, 1 month ago by goddess.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 28, 2013 at 1:40 pm #15622
    goddess
    Member

    Hello. I have made my grid thumbnails circular with a border and I'm quite happy with the display except in Safari. See the site here - http://www.afoolsjourney.com

    Screenshot of the problem here: http://www.flickr.com/photos/goddessdix/8423841931/

    The fixes I'm finding generally require adding a container div to the image and setting the border-radius on the container div instead of the image itself. So it looks like I need to add a container for these image classes:

    .genesis-grid img, .genesis-grid-1 img

    I've seen suggestions about jquery wrap to create the container dynamically (which I'm WAY not a coder); so that's a possibility if I can figure it out...But I was wondering if there were hooks in genesis that would allow a function to add these instead? It's basically just on the home page that needs the fix.

    Suggestions appreciated.

    January 28, 2013 at 5:26 pm #15793
    goddess
    Member

    I resolved this by using the mobile-responsive section of the style sheet to remove the border for those particular images.

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