Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Support request] how to fix wpshowpost tag element flashing

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support how to fix wpshowpost tag element flashing

  • This topic has 5 replies, 2 voices, and was last updated 3 weeks ago by Tom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22366
    Carlo
    Participant

    Hi there,

    please see https://beautycoach.academy

    1) I have noticed that the following issue happens with chrome (both pc and mobile) but it doesn’t with firefox:
    When the page is loading, there is a tag flashing on the website logo (with mobile) or the left of the logo (with pc). It’s just a flash, then the tag disappear since it correctly “moves” over the card of the carousel below the fold.

    I have tried deactivating wprocket and the issue seems to persist.

    Maybe is an issue in my custom css,
    how can I fix it?

    2) In the same page, same list of wpshowpost, I have noticed that from time to time the & that is in the filter string in the shortcode got converted to & (& amp ; without the blank spaces) (and then the filter does not work anymore) it is odd, since the shortocode is in a shortcode gutenberg block. Have you had experienced something similar before? The string is the following:
    [wp_show_posts id="5289" settings="meta_key=online&meta_value=ONLINE"]

    Thank you. Best wishes.

    • This topic was modified 3 weeks, 2 days ago by Carlo.
    • This topic was modified 3 weeks, 2 days ago by Carlo.
    #22406
    Tom
    Keymaster

    Hi there,

    You could try doing something like this:

    .we-wpsp-corsi .wp-show-posts-entry-header {
        position: relative;
    }

    The shortcode thing is a known issue at the moment. You could try building your own shortcode:

    add_shortcode( 'my_shortcode', function() {
        ob_start();
        echo do_shortcode( '[wp_show_posts id="5289" settings="meta_key=online&meta_value=ONLINE"]' );
        return ob_get_clean();
    } );

    Then you can use [my_shortcode] in the block.

    #22449
    Carlo
    Participant

    Hi Tom,

    about the point 1)
    Now the flashing is fixed but the tag is not in the desiderd position anymore (it’s now vertically floating in the middle).
    How can I have it in the same previous position (on top, align to the top border)?

    Note: I had to go back to the previous “wrong” css in order to keep the tag in the right position while waiting for your kind reply 🙂

    Point 2)
    Done, thanks
    Is there a way to be kept updated about when it will be fixed?

    #22472
    Tom
    Keymaster

    I’m not seeing it in the vertical middle, but it is horizontally to the right a little. This is because your CSS is using left: 8.5%. If you change that to 0 it should stay in the top left corner.

    We’ll be turning this plugin into a block so the shortcode will no longer be necessary.

    #22488
    Carlo
    Participant

    I am sorry Tom, I am not sure I understand right: Do you mean you see it on the top now?
    It’s because I had to set the “old” “wrong” css as I said in the note above since I can’t keep the tag in that position for long in the homepage.

    Is there any way you could please check with the inspector? If not, I’ll do a new list in a page apart.

    Thanks.

    #22516
    Tom
    Keymaster

    This is what I’m seeing right now: https://www.screencast.com/t/jwWk1gCmqKK

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.