Home › Forums › Support › How To Add Background Colour In Hook Element? This topic has 3 replies, 2 voices, and was last updated 4 years, 2 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 28, 2020 at 10:21 pm #1147761 Paramvir Hello. I am having fun configuring my GP. However, can’t figure out how to add a background colour to a Hook Element created ‘right after main content’, above the footer, which has ‘WPShowPost’ shortcode displaying 3 random posts. January 29, 2020 at 3:36 am #1147990 DavidStaff Customer Support Hi there, glad to hear you’re enjoying GP 🙂 Edit your Hook Element and add this HTML around your shortcode: <div class="wpsp-wrapper"> [wpsp shortcode goes here] </div> Now add this CSS: .wpsp-wrapper { background-color: #fff; padding: 40px; } @media (max-width: 768px) { .wpsp-wrapper { padding: 30px; } } January 30, 2020 at 4:50 am #1149165 Paramvir Thanks. Works fine. January 30, 2020 at 5:21 am #1149186 DavidStaff Customer Support You’re welcome 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