Archived topic
Element Not Displaying Correct Width
3 replies · Started by Benjamin on December 21, 2020
Hi, I built an author box on one of my sites using the block element. Unfortunately, it seems like the box isn't displaying the correct width, which should be the same as the post width. I have exactly the same box design on another site using GP just with some other info and it is working perfectly, not sure why this is happening. I'll leave the URL to the site below, just scroll down to the bottom of any one of the blog posts to see what I mean.
Thanks.
Hi there,
your author box is constructed of a Container Block inside another Conatainer Block. I am not sure that you need to have the nested containers. If you do then simply remove the 40px padding from the Outer Container Block.
Thanks, that solved it. Dumb mistake. Sorry.
No problems - glad to be of help