Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter nwisg

    (@nwisg)

    I see nothing wrong with the Google map code, I did find that the Sharethis js was not validating in HTML 5, they are aware of this and are supposedly working on it. Here nor there I removed the Sharethis code and placed the slider on the Hello World page with some content (No Map). This is running on Twenty Twelve no mode as of yet and there is still content shift.

    You see briefly the loading animation and then slides load fine, which is normal, but if there is any delay in loading up there is a content shift down. There needs to be a placeholder keeping the height during page load so there is no content shift. If this is what should happen it’s not.

    Here you can also see what the W3C says:

    Error Line 83, Column 1056: Element style not allowed as child of element div in this context. (Suppressing further errors from this subtree.)

    …/ul></div></div><style type=”text/css”>.soliloquy-container.soliloquy-preloade…

    Contexts in which element style may be used:
    If the scoped attribute is absent: where metadata content is expected.
    If the scoped attribute is absent: in a noscript element that is a child of a head element.
    If the scoped attribute is present: where flow content is expected, but before any other flow content other than inter-element whitespace, and not as the child of an element whose content model is transparent.
    Content model for element div:
    Flow content.

    I can work around the page shift with css that’s no problem. But your code is not validating with W3C right now and may be why there is content shift at least in HTML 5 I have not tested this in XHTML strict.

    I really like this plugin though especially for the WP challenged client, very easy to use and works well with one, well two exceptions. The W3C is the big one for me.

    For my particular purpose I made these changes below

    I added this to my functions.php

    if ( function_exists( ‘add_image_size’ ) ) {
    add_image_size( ‘feature-post-thumb’, 200, 9999 ); //300 pixels wide (and unlimited height)
    }

    In FP_WidgetClass.php I replaced

    $fpw_img_tag = get_the_post_thumbnail();

    with

    $fpw_img_tag = get_the_post_thumbnail($post->ID, ‘feature-post-thumb’);

    Just FYI, I am experiencing the same problem as Kerfred. I will use his fix. Thanks Kerfred.

    Thread Starter nwisg

    (@nwisg)

    Excellent, looking forward to the new version.

    Thank You!

    Thread Starter nwisg

    (@nwisg)

    Interesting, I’ll have to go in and figure out what plug-in makes the difference. I didn’t make any changes. One is on is on my dev.multisite which is the one offering the Monthly option and the other is a normal install.

    Thanks for your help.

Viewing 5 replies - 1 through 5 (of 5 total)