Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Sheffielder Posted September 1, 2021 Posted September 1, 2021 Here's the code I use to put ads in the topic list (e.g. after the 20th topic) using CSS Selector [data-pageapp="forums"][data-pagemodule="forums"][data-pagecontroller="forums"] .cTopicList .ipsDataItem:eq(20) I have also used similar code to put ads after so many posts div[data-role="commentContent"]:eq(14) But does anyone know how to put an ad between actual categories?
Sheffielder Posted September 1, 2021 Author Posted September 1, 2021 Yes that’s what I am using but can’t see a way to do it
Lucas James Posted September 2, 2021 Posted September 2, 2021 (edited) On 9/1/2021 at 5:37 PM, Sheffielder said: But does anyone know how to put an ad between actual categories? Let say you want to place an Ad between Category 3 and Category 4; which also means that the Ad would come after Category 3. So, you might want to configure like: Show Advert: CSS Selector Custom CSS: .cForumList li[data-categoryid="3"] Position: Insert advert after the chosen element Paste your Advert code... Edited September 2, 2021 by Lucas James
Recommended Posts