Thanks to greenday2k I managed to find everything and get it all running.
(turns out the line wasn't in the same order in the news file, and that's why grep couldn't find it)
Either way, for anyone wanting to update the PH2_Blue theme ( and also PH2_Final ) on their site, so their site can still be visible by people that use ad blockers, here is some easy and simple instructions on how to adjust the code to get around the Rogue ad-blocking rule.
| Code:: |
Open: \PH2_Blue\template\header.html
Find: <table style="border: 1px solid #000000;" align="center" cellspacing="0" cellpadding="0" border="0" width="100%">
(Should be around line 12)
Replace with: <table class="table_border" align="center" cellspacing="0" cellpadding="0" border="0" width="100%">
Save and Close.
Open: \PH2_New\template\news\index.html
Find: <table width="100%" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #444444;">
(Should be around Line 20)
Replace with: <table class="news_table_border" cellspacing="0" cellpadding="0" border="0" width="100%">
Save and Close.
Open: \PH2_Blue\style\style.css
Find:
/* --------------------------------------------------
CLASS DEFINITIONS
-------------------------------------------------- */
Add After:
.table_border { border: 1px solid #000000 }
.news_table_border { border: 1px solid #444444 }
Save and Close.
Clear the sites Cache and reload the page and it should look exactly the same as before, just now it wont be blocked by a Rogue ad filter. |
Thanks again to greenday2k, for pointing me in the right direction to get this fixed!