The discussion is about adding custom HTML after the first post in a Discourse forum. valsha shared a script to add an image after the first post, but was unsure how to center and scale it for mobile design. Don provided a solution using CSS, suggesting to add a 100% width to the image for both mobile and desktop views, and a maximum width to #custom-ad for desktop view. valsha attempted to combine the code, but Don clarified that the CSS should be added to separate sections (Common CSS and Desktop CSS). The correct implementation involves adding the script to the Common Header and the CSS to the respective sections.
On Desktop (CSS) view add a maximum width to #custom-ad id to set the banner width same as topic avatar + topic body. Which is going to be the image 100% width, what we add above to the common.