• 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

Make Overflow Property Responsive

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 › Make Overflow Property Responsive

This topic is: not resolved

Tagged: Custom Classes, float, media queries, overflow

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 11 months ago by Christoph.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 9, 2016 at 11:01 am #190988
    agoodwin90
    Member

    Hi everyone,

    I've created a few custom classes within the Simple Custom CSS plugin for a page on my website: http://instituteforbiblereading.org/board-of-advisors/

    .advisor-bio{
      margin-top: 25px;
      margin-bottom: 25px;
    }
    
    .advisor-pic{
      float: left;
    }
    
    .advisor-text{
     overflow: hidden; 
    }

    The advisor-bio class is the container, with the advisor-pic and advisor-text classes obviously inside. I was having a problem with the text flowing underneath the picture, so I gave it an overflow property to keep it aligned properly when in fullscreen. The problem is, depending on screen size, I sometimes WANT the text to flow under the picture. I've tried making adjustments within the media queries but no luck. Essentially I just want to cancel the "overflow: hidden" property for certain media queries, but can't figure out how. The class I created in Simple Custom CSS seems to just override anything I try to do in the Editor.

    Any help would be great!

    http://instituteforbiblereading.org/board-of-advisors/
    August 9, 2016 at 5:45 pm #191004
    Christoph
    Member

    Hi,

    did you try adding the media query in your simple custom css?


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

  • 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

© 2025 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