Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

Displaying ads only once after first topic post  


Liam
Posts: 6
 Liam
Customer
(@liamoc11)
Member
Joined: 3 years ago

Hi 

I want to display an ad one time on the page, directly underneath the first topic post on the page. My pages are set to display 10 posts. If i set the frequency to 1, the ad appears under every post. If I set it to 2, it displays under every second post, and so on. Is there a way to target just between first and second post?

thanks!

Topic Tags
3 Replies
Astghik
Posts: 4512
Admin
(@astghik)
Support Team
Joined: 3 years ago

Hi @liamoc11,

Use the CSS code below:

.wpfp-first ~ .wpforo-ad ~ .wpforo-ad{
display: none !important;
}

The CSS codes should be added in the "Custom CSS code" textarea, located in the Dashboard > Forums > Settings > Styles Tab.  

Please don't forget to delete all caches and press Ctrl+F5 (twice) on the frontend before checking to reload the updated CSS file.    

Reply
Liam
Posts: 6
 Liam
Customer
(@liamoc11)
Member
Joined: 3 years ago

Thank @astghik

I did try this, but unfortunately it did not work. Maybe because I have other CSS already in that styles tab?

Reply
1 Reply
Astghik
Admin
(@astghik)
Joined: 3 years ago

Support Team
Posts: 4512

@liamoc11,

Please leave some example URL to allow us to check the issue. 

Make sure the value if the  "Post List - Banner displaying frequency" option is set 1. We've just checked the code it works fine. 

 

Reply
Share:
Scroll to top