Site logo

Archived topic

H1 Tag of Please wait, copying in progress... and spacing issue with page

4 replies · Started by Adam on December 20, 2022

Viewing posts 1–5 of 5

My pages are loading with an extra H1 tag that is showing up as Please wait, copying in progress... at the top of the page. I don't see it when I look at the page but it shows up when the pages are being read by various tools. How can I remove that H1 tag and keep while still keeping the current title?

Also, how do I reduce the space between the Author and publish date as well as between the publish date and featured image on the page? Right now it's a huge gap.

Page example provided in the private info.

thanks!

Hi there,

this user had the exact same issue - see here, as he reported it was a plugin creating the 2nd H1:

https://generatepress.com/forums/topic/strage-second-h1/#post-2456490

For the spacing issue. You have a block Element that is displaying your Post Meta. Each meta item is in its own GB Grid column container. Edit both columns and set its Layout:

Flex Grow: 0
Flex Shrink: 1
Flex Basis: auto

And then remove the % value from the width.
Those columns will now sit aside each other.
You will want to add a little right padding to the first column to stop the text from touching

Thanks for the help David. I don't think I was clear on the spacing issue I'm having. It is primarily for Mobile where there is a lot of empty space between the author and date and then also even more blank space between the date and featured image. I'd also like to shrink the space between the featured image and date for Desktop too but it looks worse on mobile. Thanks!

Thanks for the help David. I don’t think I was clear on the spacing issue I’m having. It is primarily for Mobile where there is a lot of empty space between the author and date and then also even more blank space between the date and featured image. I’d also like to shrink the space between the featured image and date for Desktop too but it looks worse on mobile. Thanks!

there is a lot of empty space between the author and date

It's coming from the vertical gap of the Grid block set for mobile, you can reduce or remove that value.

even more blank space between the date and featured image

It's the vertical gap of the Grid block + the default theme top-margin added to the featured image.

Try adding this CSS to set the margin to 0:

@media (max-width:767px){
    .single .featured-image.page-header-image-single {
        margin-top: 0 !important;
    }
}
This archived topic is closed to new replies.