WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
HTML height hiding gallery (4 posts)

  1. philsmart
    Member
    Posted 9 months ago #

    Hi there

    I'm trying to get the Jetpack carousel to work properly, but it is conflicting with the sticky footer technique I'm currently using. The sticky footer requires the HTML element to have a height of 100%.

    The result of this rule is that the gallery won't actually show. You just get the default Chrome patterned background.

    I notice that I can force visiblity:visible on the body attribute, which seems to fix the problem, but I'm concerned that the plugin sets visibility:hidden for a reason, so I'm looking for a better approach.

    One possibility is to use JS to set the height of the HTML element to auto while the carousel is open. Does anybody know of some JS events/callbacks that I can use to achieve this? I would need one when the carousel opens and one when it closes.

    Cheers

    http://wordpress.org/plugins/jetpack/

  2. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    Hi Phil,

    Can you give your site's URL so I can have a look? I'd like to open a Trac ticket for it to get it fixed, but it'd be useful to see a live example. Alternatively, if you want you can open a Trac ticket yourself. Look at http://jetpack.me/contribute for information on how to do that, and open the ticket here: http://plugins.trac.wordpress.org/newticket?component=jetpack Screenshots and any other details would help in making the Trac ticket as complete as possible. Thanks!

  3. philsmart
    Member
    Posted 9 months ago #

    Hi mate

    I don't actually have a live copy for you to see. It's all on my local server at the moment.

  4. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    Hey Phil,

    Well, if you happen to get something live for me, let me know! Alternatively, create a Trac ticket like I mentioned, with screenshots and code to reproduce it. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic