Site logo

Archived topic

Images appearing very large on certain posts on mobile

33 replies · Started by Devin on February 24, 2022

Viewing posts 16–30 of 34

That made it disappear completely.

That doesn't sound right. Can you show me the page?

Oops, I'm sorry. It actually ended up popping up under the "All articles" text on mobile, I just didn't scroll down enough.

Just to confirm that you have set the hook name of featured article section to inside_site_container instead of after header?

Yes, I'll send you a screenshot of my settings to confirm.

Can you change the element type to hook instead of page hero?

It's set but still no change 😣

I mean change the element type to hook, andinside_site_container as hook name.

And leave the priority field blank.

Thanks!

Okay, done! The page hero is now back underneath the "all articles" text.

Hi Devin,

If you wish to move the “All articles” section below the page hero, you can hook it to inside_site_container as well, with a higher value of priority. Ex. try 11.

Kindly let us know how it goes. :)

Alright that seemed to work, but now the page hero and separating line for desktop is contained. I've tried messing around with the editor and container width but nothing seemed to make a difference.

The page hero section should still usepage heroas element type.

Okay, I've changed it. It still seems to be contained. I should be keeping the inside_site_container hook, correct?

No! Page hero element type should be using after_header hook by default.

Alright, thanks. This is what I had it set to originally that was causing the issue on mobile. It's now set back to page hero with the after header hook and on mobile it's now back above the header.

That's really wired, as after_header hook should be showing after header as its name, including mobile header.

What you are having now is not the default GP behavior.

Can you make sure no priority is set for this page hero?

This archived topic is closed to new replies.