kiko911
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Changing Ad Label PositionGreat, I have changed it and added element to change the font size and it all works! 🙂
div[id^="pol-"][class^="pol-"] { position: relative; margin-bottom: 20px; } .pol-adlabel { position: absolute; bottom: -30px; right: 0px; left: 0px; } .pol-adlabel { font-size: 0.8em; }Thank you so much! 😀
- This reply was modified 6 years ago by kiko911.
Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Changing Ad Label PositionHi @webzunft
I have added this code to Additional CSS, but the Ad Label is still on top:
div[id^="pol-"][class^="pol-"] { position: relative; margin-bottom: 20px; } // label element .pol-adlabel { position: absolute; bottom: -20px; right: 0px; left: 0px; }Am I doing something wrong?
- This reply was modified 6 years ago by kiko911.
Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Ads are displaying in the wrong placeHey @schmidt25
Ok that sounds great! So I will wait 1 week, I will not edit manually functions.php. I am afraid that after theme update I will lose it.If you could, please let me know when it will be implemented.
Thanks and have a great week! 🙂
Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Changing Ad Label PositionHi @webzunft
Sorry for the late reply and thanks for willing to help me 🙂
https://4review.pl/11-of-best-laptops-evaluated-based-on-budget/
In this website there is “inside post” type of ad. I think it’s set to “after 3. paragraph”.Btw. is it possible to change the ad label permanently for all the ads? Just to make a general rule if I want to have it on top or bottom and set a font size. I think that would be great feature for your plugin.
In the AdvancedAds settings I have this:
prefiks ID: “pol-”
Enable label box: marked yes: “Reklama”In Appearance > Additional CSS I have added this:
// adjust the ad wrapper .pol-top { position: relative; margin-bottom: 20px; } // label element .pol-adlabel { position: absolute; bottom: -20px; left: 0px; }Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Ads are displaying in the wrong place@schmidt25 Hope you could help me with that 🙂
Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Changing Ad Label PositionHello @webzunft
Thanks for your message. Not really, what I am inserting is not really working…
Could you help me create the code that I should insert? Maybe I am doing something wrong 🙁
Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Ads are displaying in the wrong placeHello @schmidt25
Thank you very much for all your help!
Could you maybe help me somehow with the Solution number 1?
I understand, that I have to take this code, edit it and paste it in Additional CSS in WordPress?
add_filter( 'advanced-ads-content-injection-nodes-without-ads', 'my_content_injection_exclude_nodes' ); function my_content_injection_exclude_nodes( $nodes ){ $nodes[] = array( 'node' => '#do-not-inject-here', 'type' => 'ancestor', ); return $nodes; }I have changed it to this, but it didn’t change anything 😛
add_filter( 'advanced-ads-content-injection-nodes-without-ads', 'my_content_injection_exclude_nodes' ); function my_content_injection_exclude_nodes( $nodes ){ $nodes[] = array( 'node' => '#wpf-widget-recent-replies', 'type' => 'ancestor', ); return $nodes; }Could tell me what exactly should I insert?
P.S. WP-Foro also have section to add additional CSS, maybe I should paste something there?
Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Ads are displaying in the wrong placeHi @schmidt25 I hope you can see my posts 🙂
I have turned off the debugging mode, so I wanted to put here what it shows while it is debugging:
Dane wyjściowe debugowania reklam Reklama jest wyświetlna na stronie obecny wpis: Forum, ID: 646 Reklama: testowa reklama (658) Miejsce reklamy: w poscie (w-poscie) Warunki wyświetlania typ wpisu Reklama wp_the_query post,page page Znajdź rozwiązania w podręcznikuTranslated to English:
Output for debugging ads The ad is displayed on the page current entry: Forum, ID: 646 Advertising: test advertisement (658) Place of advertising: in the post office (in the post office) Display Conditions entry type Advertising wp_the_query Post, page page Find solutions in the manualPlease let me know if you could help me with this displaying ad problem and with ad label position problem. Let me know if you need any other actions from me, thanks! 🙂
Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Ads are displaying in the wrong place@schmidt25 I hope you got my message and could help me 🙂
Please let me know if you want me to do anything else or provide more infoRegards 🙂
Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Ads are displaying in the wrong placeHi @schmidt25 ,
Thank you for your reply! 🙂
I have turned on this debugging mode, but not sure what to do next with it 🙂
https://4review.pl/forum/– Actually the page that you see is a Forum plugin. WP FORO it is a free plugin, you can reproduce it on any theme. This plugin adds Forum Sidebar and I have put there an ad widget -> it works ok but also “Recent forum posts” widget and the “automatic ads inserted into the blog posts – after 2nd paragraph” are appearing also in this Forum plugin.
– It appears in various place, depending the forum subpage. On main forum page it shows in the widget, in forum post it displays in the 1st forum post (this actually I like :D)
https://4review.pl/forum/main-forum/wordpress-quiz-plugin/paged/2/#post-14
– and it shows even on login-page in Forum page:
https://4review.pl/forum/?foro=signinQuestion 2.
I also have another question. I have followed your instruction to move AD LABEL from top to bottom (under the ad)
https://wpadvancedads.com/manual/ad-label-how-to-set-advertisement-label/#utm_source=advanced-ads&utm_medium=link&utm_campaign=settings-advertisement-labelBut unfortunately the ad label is not moving to the bottom, it has disappeared. This is the code I have added to the WordPress Additional CSS:
// adjust the ad wrapper .pol-top { position: relative; margin-bottom: 20px; } // label element .pol-adlabel { position: absolute; bottom: -20px; left: 0px; }In AdvancedAds in settings I have set Prefix ID to:
pol-Could you also tell me what am I doing wrong and how to move ad label to bottom?
Thanks 🙂Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Ads are displaying in the wrong placeI hope you will be able to help me with that 🙂
Forum: Plugins
In reply to: [Advanced Ads – Ad Manager & AdSense] Ads are displaying in the wrong placeHi there,
I have this box checked now and it is still displaying ads in this widget 🙁
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Icons not displaying on mouse hoverOk, it worked, the first problem has been solved, thanks!
But for the second problem, it did not work unfortunately
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Icons not displaying on mouse hoverSo if I just changed the colors from 0,0,0,0 to this:
background-color: rgba(0, 0, 255, 0.3);shouldn’t it be overwritten?
Could you tell me where I could remove it?
Is it a part of my theme CSS code or a part of plugin CSS?Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Icons not displaying on mouse hoverHi, thanks for super quick reply!
I have added those 2 parts to the Additional CSS: (Appearance -> Customize -> Additional CSS)
button.pswp__button, button.pswp__button:hover, button.pswp__button:focus { background: none; background-color: rgba(0, 0, 255, 0.3); background-image: none; } button.pswp__button:hover, butto.pswp__button--close { opacity: 0.75 !important; }It looks like it didn’t change anything … https://4review.pl/current-trends-and-future-prospects-of-mobile-applications/
Am I doing something wrong?