![]() |
Adsense in CMS Widget
I am trying to place adsense advertisements on the front page of my CMS. I am using a 180px, 100%, 240px layout for the front page. I did a html static widget that sits right below my sections navigation widget. You can see it here https://vborg.vbsupport.ru/external/2012/02/3.gif
The problem is that the google adsense is 160 px wide and this looks really goofy in that widget. So to make it look better can I: 1. put an advertisement on the sidebar without using a widget? 2. as it appears if I edit the styling it will affect all static html widgets which I don't want it to do, so can I create a widget call advertising widget with its own styling? 3. I think a widget that was transparent with minimal padding and no title would be perfect. thanks tim |
If you go to vbulletin CMS -> Widgets and click on "configure" next to your widget, at the bottom there's a Template Name field that probably says 'vbcms_widget_static_page'. You could copy the vbcms_widget_static_page template code to a new template, enter that new template name on the widget config page, then edit that template to look the way you want.
|
Thank you thank you thank you, that sounds like what I want. I will likely have more questions since I have never copied templates before.
|
I don't know that there's any copy function, I think you just have to select all the code, copy it (to the clipboard), then create a new template and paste it.
|
Thanks again kh99 I got it working.
|
All times are GMT. The time now is 08:21 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|