Tagged: x
-
AuthorPosts
-
March 7, 2017 at 11:24 am #1398005
tma_daveParticipantHi,
Can you give me some advice on the best way to add a new div just before the existing <div class=”entry-content content”>, and close it just after the comments div is closed? It’s to better support the way that certain types of ads work on the site, ensuring that both the post content and the comments are enclosed by a particular div that’s targeted by the ad script.
The example as given by the ad company is:
<div id="ad_target"> <div class="entry-content"> ... </div> <div id="comments"> ... </div> </div>Thanks in advance!
March 7, 2017 at 2:13 pm #1398208
Nabeel AModeratorHi there,
Thanks for writing in! Can you please let us know which stack you’re using so we can suggest a solution accordingly?
Thanks!
March 7, 2017 at 2:49 pm #1398250
tma_daveParticipantAhh, sorry. Ethos.
March 8, 2017 at 12:27 am #1398687
RupokMemberHi there,
You can edit a page template with Child theme within /framework/views/ethos/. Let’s grab the existing code from a template from X and use it within Child Theme.
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1398005 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
