• 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

z-index problem with like buttons…

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 › z-index problem with like buttons…

This topic is: resolved

Tagged: going green pro, like button, z-index

  • This topic has 4 replies, 3 voices, and was last updated 12 years, 8 months ago by photastic.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 13, 2013 at 10:51 am #62293
    photastic
    Member

    Hey,

    I have just released a website based on the Going Green Pro theme with Genesis 2.0.1 running on the background.
    I used some custom code to create a shortcode for sharing buttons but the like button for Facebook is stuck "under" my siderbar...

    you can see what I mean if you go to http://www.sint-jozefinstituut.be/ and hit the Like button on one of the categories...

    hopefully you guys can help...

    cheers in advance!

    best regards,
    Hans


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    http://www.sint-jozefinstituut.be/
    September 13, 2013 at 12:11 pm #62317
    Gary Jones
    Member

    It's not a z-index issue - it's an iframe width issue. You've set the data-width attribute as 90 - try increasing that, and you might see the available space in the iframe increase as well. I suspect it's some JS which is deciding there's only a few (71) pixels space between the Like button and the edge of the element, so it's limiting it to that.

    You could float all buttons left, or move the Facebook button to first in the list.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    September 13, 2013 at 12:27 pm #62319
    photastic
    Member

    hey Gary,

    thanks for the answer... I tried your suggestions (both the data-width & the float:left) on all items but it's still cut off...

    any other suggestions?


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    September 13, 2013 at 2:16 pm #62339
    fedelosa
    Member

    I found:

    When I click the Like button, the popup window (or "flyout") doesn't show. Why?

    If the Like button is placed near the edge of an HTML element with the overflow property set to hidden, the flyout may be clipped or completely hidden when the button is clicked. This can be remedied by setting the overflow property to a value other than hidden, such as visible, scroll, or auto.

    From: https://developers.facebook.com/docs/reference/plugins/like/

    But still can't fix it 🙁

    September 16, 2013 at 2:11 am #62784
    photastic
    Member

    got it fixed... the span in which the Facebook like button was sitting, wasn't providing enough room to show the entire flyout...

    I solved it by making the width of the span wide enough to show the entire flyout menu:

    div.fb-like.fb_edge_widget_with_comment.fb_iframe_widget span {
    width: 450px !important;
    }

    The !important was needed to overrule the span's inline css width attribute.


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘z-index problem with like buttons…’ is closed to new 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