Site logo

[Support request] Shift of Hero Image after 2-3 seconds

Home Forums Support [Support request] Shift of Hero Image after 2-3 seconds

Home Forums Support Shift of Hero Image after 2-3 seconds

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2438133
    John

    Once the homepage of my site loads (link shared privately), the bottom of the hero image shifts up after 2 or 3 seconds and becomes shorter. I’ve tried removing the padding and margins, but this still happens. This started happening two releases ago of GeneratePress but did not happen before that.

    Please let me know if you have any ideas as to why this is happening. Thanks.

    #2438174
    Fernando
    Customer Support

    Hi John,

    It’s not caused by GeneratePress.

    It’s caused by the margin of your Subscribe button. Initially, it has a 20px margin-bottom, but then, a later CSS rule is loading turning it to 0.

    How are you specifically changing this Margin? The Button isn’t from GB or GP nor are the codes causing the issue.

    Currently, you also have WP Rocket, which can also be a factor as to why this is occurring.

    #2438257
    John

    Thanks Fernando! With your help I was able to fix it quickly. It’s the mail plugin inserting multiple conflicting CSS rules in several places. Thanks again!

    #2438259
    Fernando
    Customer Support

    You’re welcome, John!

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