Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Adblock Plus strikes again Rate Topic   - - - - -

 
  • Catch1fish
  • Member
  • Members
  • Join Date: 26-May 09
  • 82 posts

Posted 14 July 2011 - 01:02 AM #1

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
cs-cart V2.1.4

 
  • brandonvd
  • is Super Awesome
  • Members
  • Join Date: 19-Dec 06
  • 2633 posts

Posted 15 July 2011 - 04:47 AM #2

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 http://forum.cs-cart...h__1#entry98374

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

 
  • autotronics
  • Junior Member
  • Members
  • Join Date: 28-Feb 11
  • 44 posts

Posted 19 August 2011 - 08:36 AM #3

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 http://forum.cs-cart...h__1#entry98374

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


You said in that other thread:

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.


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

 
  • brandonvd
  • is Super Awesome
  • Members
  • Join Date: 19-Dec 06
  • 2633 posts

Posted 19 August 2011 - 02:00 PM #4

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

 
  • autotronics
  • Junior Member
  • Members
  • Join Date: 28-Feb 11
  • 44 posts

Posted 22 August 2011 - 10:31 AM #5

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


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

.block-container {
margin: 1px auto 11px;
overflow: hidden;
width: 100%;
}



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

What am I doing wrong?

Thanks