Home › Forums › Support › Related Posts This topic has 3 replies, 2 voices, and was last updated 4 years, 9 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 16, 2019 at 12:43 pm #959608 John Hello I added related posts element in before comment container hook. I want to display related post background full width. How can I do this? July 16, 2019 at 5:47 pm #959788 TomLead Developer Lead Developer You’d have to do something like this: body { overflow-x: hidden; } .wpsp-related-posts.grid-container { margin-left : calc( -100vw / 2 + 100% / 2 ); margin-right : calc( -100vw / 2 + 100% / 2 ); max-width : 100vw; } If you need the inner contents to be contained, you’ll need to add a nested element inside the parent container. July 16, 2019 at 8:52 pm #959859 John It works like a charm. You’re rock Tom. By the way, How can I add a nested element inside the parent container? July 17, 2019 at 9:08 am #960355 TomLead Developer Lead Developer No problem! This should work: <div class="wpsp-related-posts grid-container"> <div class="inside-wpsp-related-posts"> </div> </div> Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In