Joe Link Well-known member Jan 5, 2015 #1 I'd like to put a responsive ad at the top of each category, in a container that looks like the standard node container. What's the best way to do this?
I'd like to put a responsive ad at the top of each category, in a container that looks like the standard node container. What's the best way to do this?
P Paul B XenForo moderator Staff member Jan 5, 2015 #2 You will need to add the relevant HTML and CSS as a wrapper for the ad. Upvote 0 Downvote
Joe Link Well-known member Jan 5, 2015 #3 So I make it look like a node, then edit the template to place it between the category listing and the node display? Would it be better/easier to create another node, then change the look of that particular node? Thanks Brogan. Upvote 0 Downvote
So I make it look like a node, then edit the template to place it between the category listing and the node display? Would it be better/easier to create another node, then change the look of that particular node? Thanks Brogan.
P Paul B XenForo moderator Staff member Jan 5, 2015 #4 Don't create a node - just wrap the ad content in the relevant HTML and CSS. See here for an example to make an ad look like a post using the ad_message_below template: https://xenforo.com/community/resources/responsive-adsense.2084/ Upvote 0 Downvote
Don't create a node - just wrap the ad content in the relevant HTML and CSS. See here for an example to make an ad look like a post using the ad_message_below template: https://xenforo.com/community/resources/responsive-adsense.2084/