Search for: Log In Free Support [Resolved] Display ads on Container Wrapper Home › Forums › Support › Display ads on Container Wrapper This topic has 5 replies, 2 voices, and was last updated 6 months, 2 weeks ago by Tom. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts August 21, 2020 at 8:48 am #1412892 Nam Hi, Im trying to display ads next to the main site, like this (in red): How can i do that? (I think the Container Wrapper can do the job, but i don’t know how). Please, Help me. Link picture: https://drive.google.com/file/d/19vBJgzoLaa5bqwCor-M4fw8uVEkXQQqS/view?usp=sharing August 21, 2020 at 3:10 pm #1413263 TomLead Developer Lead Developer Hi there, I think using the wrapper is a good idea. Then, you can try this as long as the ad container is inside the wrapper: .site-wrapper { position: relative; } .your-ad-container { position: absolute; top: 0; left: -200px; /* width of ad */ } Let me know 🙂 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development August 21, 2020 at 8:38 pm #1413391 Nam Hi Tom, I did what you told. But my ad-container keeps getting display: none even i set it .my-ad-container { position: absolute; top: 0; left: -200px; /* width of ad */ } Picture 1. https://drive.google.com/file/d/1WkDUI4Q6-3nWAZ1R_4Wee7hMf7unT5Oz/view?usp=sharing 2. https://drive.google.com/file/d/1LsPGVN3MI62GKDR7eJxyD3pp-6CLB_6Z/view?usp=sharing I try adding display: block (or inline-block) !important; to .my-ad-container but i’t not working either. August 22, 2020 at 9:40 am #1414012 TomLead Developer Lead Developer There must be some javascript on the page doing that. You could display: block !important it in the CSS. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development August 22, 2020 at 9:56 am #1414030 Nam I have already tried display: block !important. I gonna take a look at the javascript. Thank you Tom. August 22, 2020 at 12:33 pm #1414170 TomLead Developer Lead Developer No problem – something is targeting that element and hiding it. Best to deactivate things one by one until you find the culprit. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In