Adblock Plus strikes again

Banners in 2.1.4 worked fine with Adblock Plus istalled - now we have updated to 2.2.1 every banner is blocked.



Am I going to have to turn all of these banner blocks back into HTML blocks or would the superdooper support team cast a knowing eye over the new banner code and advise if there is a quicker solution?



Many thanks folks

I'm not really sure why your adblocker wasn't blocking your 2.1.4 blocks, but now is blocking your 2.2.1 blocks. As far as I can tell, the code that makes adblocker block the ads is the exact same in both versions.



I did a simple fix a while back though. You can see it at Adblock Plus - Issues & Troubleshooting - CS-Cart Community Forums



All CS-Cart really has to do is just change the class name and then adblocker wouldn't have a problem. Of course adblocker is blocking code that is in a class of ad-container.



Hope that helps anyways,



Brandon

[quote name='brandonvd' timestamp='1310705220' post='117352']

I'm not really sure why your adblocker wasn't blocking your 2.1.4 blocks, but now is blocking your 2.2.1 blocks. As far as I can tell, the code that makes adblocker block the ads is the exact same in both versions.



I did a simple fix a while back though. You can see it at Adblock Plus - Issues & Troubleshooting - CS-Cart Community Forums



All CS-Cart really has to do is just change the class name and then adblocker wouldn't have a problem. Of course adblocker is blocking code that is in a class of ad-container.



Hope that helps anyways,



Brandon

[/quote]



You said in that other thread:


[quote]I then copied the style from the CS-Cart style sheet to my style sheet.



Basically made a new style like:



.block-container {

margin: 1px auto 11px;

overflow: hidden;

width: 100%;

}







I hope that helps someone down the line.[/quote]



Which style sheet exactly is this?



I am using the skin Lite Orange so do I amend the style sheet in var/skins_repository/lite_orange/customer?



Thanks

Ammending anything in the var won't do you any good.



In your situation, you would change skins/lite_orange/customer/styles.css



Obviously it would be a lot better if you used the My Changes addon, but if you've already modified your style sheet, then it won't really matter.



Hope that helps,



Brandon

[quote name='brandonvd' timestamp='1313762426' post='119873']

Ammending anything in the var won't do you any good.



In your situation, you would change skins/lite_orange/customer/styles.css



Obviously it would be a lot better if you used the My Changes addon, but if you've already modified your style sheet, then it won't really matter.



Hope that helps,



Brandon

[/quote]



I changed the stylesheet in skins/lite_orange/customer/styles.css but still no change. I put in:


[quote].block-container {

margin: 1px auto 11px;

overflow: hidden;

width: 100%;

}[/quote]





I am using the latest version of the Professional CS Cart and Adblock Plus 1.3.9.



What am I doing wrong?



Thanks