[Support request] Home page displays a video post in header for logged in user

Home Forums Support Home page displays a video post in header for logged in user

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1360465
    Latinx

    Hello,

    I’ve had GP Premium on my site for about a year, and recently I see an issue with how it displays for a logged in user.

    Not sure when this issue occurred, as I am working on the site only part time and did not see the issue until today. It seemed to be working on 27 Feb 2020 (today is 11 Jul 2020).

    The site looks as normal when not logged in.

    After login, a video appears in the header, full page width, covering up the header image, and the “recent post” list appears in its normal position, but is now overlapping that video.

    When I log in, the page appears normal for a split second, then is overwritten by the video.

    Confession – I saw that I had a few plugins to update (one is GP Premium which failed – guess I need to read how to do this correctly). I restored to yesterday’s backup, but the problem persists.

    Any suggestions, steps to take, etc. are appreciated!

    Thanks.

    #1360476
    Latinx

    BTW – This video was in a post. I unpublished the post that contained the video, and the site went back to normal. This is the only post that contains a video.

    #1361067
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    So is it gone now when you’re logged in?

    How did you add the video to the post?

    #1361237
    Latinx

    Hello,

    Yes, with the post unpublished, the page goes back to normal.

    Looks like the video was embedded this way:

    <figure class=”wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio”>

    then I used a command called “embed” for the link.
    [ embed ]https://www.youtube.com/watch?v=UWLr2va3hu0[ /embed ]

    Note – I thought this was working correctly and did not see the issue until recently.

    #1361403
    Tom
    Lead Developer
    Lead Developer

    Is there any way for me to see the issue? Maybe on a staging site?

    #1366059
    Latinx

    Hello again, Tom.

    I wanted to provide a staging site so you could check on this issue, but now I’m having trouble with setting up the staging site. :-0

    As soon as I get that resolved, I’ll send you that info.

    Is there a place to send the info securely (not on a public forum)?

    – Thanks.

    #1366153
    Tom
    Lead Developer
    Lead Developer

    Absolutely, you can use our contact form here: https://generatepress.com/contact

    Just be sure to link to the topic 🙂

    Thanks!

    #1368854
    Latinx

    In the pre-sales contact form, I sent the login info to a staging site for my blog. On the staging site I went back and published the video post that is causing the issue.

    Issue: The home page appears for a moment, and then the screen fills with a video embedded in a post.

    I noticed today that a user does not have to be logged in for the video post to appear in the header.

    Please view the staging site, and if needed, log into the admin side to see why this is happening and how to fix it.

    Many thanks.

    p.s. to send the info, I had to check a box that said this was *not* a technical support question…?

    #1369079
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That’s strange, the video is set to position: absolute which is causing the issue.

    Do you have any of the embed settings set in the block?

    You should be able to fix it like this:

    .wp-block-embed-youtube {
        position: relative;
        min-height: 300px;
    }
    #1370313
    Latinx

    Hi,

    I started a new block and added the video link, then I commented out the code that displayed the video originally.

    I am not seeing the issue right now on the site.

    Please take a look and see if the home page of the blog looks normal or if it displays a video in the header.

    Thanks.

    #1371085
    Tom
    Lead Developer
    Lead Developer

    I’m not seeing the issue on your staging site now 🙂

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