Forum Home
Press F1
 
Thread ID: 103187 2009-09-15 02:37:00 Updated CSS (forum ads) Erayd (23) Press F1
Post ID Timestamp Content User
810339 2010-11-27 01:20:00 Aaah, gotcha. No, that definitely was not caused by my CSS; the problem was most likely at the ImageF1 end. Erayd (23)
810340 2010-11-27 21:59:00 Hi Erayd, ok I apologize !.

Regards,

Lurking.
Lurking (218)
810341 2010-11-27 22:01:00 It wasn't loading for me either, for a while. But ImageF1 was down or something, it wasn't Erayd's script as far as I know.

Hi Agent, yes I have apologized.

Won't say anything about the front page this morning either, lol.

Lurking.
Lurking (218)
810342 2010-11-29 07:30:00 Now this is what PressF1 is about...

:thumbs::thumbs:
chiefnz (545)
810343 2010-11-30 08:07:00 Gottem:

/*remove ads and misc branding clutter, clean up layout */
table[bgcolor="#DF0026"], /*red banner at top of page*/
#navigation, /*grey fairfax navbar at top*/
td[width="170"], /*left ads*/
div[style="margin:0 0 5px 0"], /*top ads*/
p[align="center"][style="margin:0px auto"], /*more top ads*/
p[align="center"][style="margin: 0px auto;"] ins, /*even more top ads (firefox only)*/
#sponsor_div, /*bottom ads*/
div[style="width:302px; float:left; margin-right:10px; border:1px solid #cccccc; padding:5px; "], /*more bottom ads*/
#adSpace2 /*even more bottom ads*/
{display: none !important;}

/*fix damaged alignment in forum thread list & forum header*/
td[align="center"] {text-align: left;}

GameJunkie, does this solve your issue?

I inserted this below the original "code" you provided but it doesn't remove the ads on an old forum thread?

Any hints on how to get this working?

Using FF 3.6.8

Thank you.
chiefnz (545)
810344 2010-11-30 08:12:00 I inserted this below the original "code" you provided but it doesn't remove the ads on an old forum thread?

Any hints on how to get this working?

Using FF 3.6.8

Thank you.

create a new stylish script and insert the updated CSS, and update FF to 3.6.12 while your at it
GameJunkie (72)
810345 2010-11-30 09:16:00 I inserted this below the original "code" you provided but it doesn't remove the ads on an old forum thread?

Any hints on how to get this working?

Using FF 3.6.8

Thank you.That version is ancient history; I'm not surprised it no longer works. The current version can always be found in the first post of this thread, the mods are pretty nice about editing it when necessary :).

:pf1mobmini:
Erayd (23)
810346 2010-11-30 17:57:00 create a new stylish script and insert the updated CSS, and update FF to 3.6.12 while your at it

Did this but still not working? This is how I pasted the CSS in Stylish...


@namespace url(www.w3.org);

@-moz-document domain("www.pressf1.co.nz") {

/*remove ads and misc branding clutter, clean up layout */
.top_div, /* top PCW navbar area */
td[width="300"], /* right sidebar */
#footer, /* various footer junk */
#cse-search-box, /* google search box that never seems to work */
#adSpace1 /* big banner ad at top */
{display: none !important;}

/* IE7-only hack to remove the sidebar ads */
body > table > tbody > tr > td + td {display: none !ie;}

/* uncomment this to reinstate the google search box */
/* #cse-search-box {display: block !important;} */

/* uncomment this to reinstate the top header */
/* .top_div {display: block !important;} */

/* comment out this section to hide the top navbar as well */
.top_div {
display: block !important;
height: 0 !important;
}
.logo, .pressf1_logo, .icons {
display: none;
}
#topnav {
left: -1px !important;
position: fixed !important; /* change 'fixed' to 'absolute' if you experience poor rendering performance */
top: -1px !important;
}

/* ***** Changelog *****
*
* 2009-10-29 12:56
* Changed width of left ad column (thanks R2x1 for noticing this)
* Removed a new div containing more top ads
* Removed google ads iframes
* Removed the new logo
*
* 2010-02-11 21:27
* Removed a new banner ad at the top of the forum
*
* 2010-09-23
* Removed all adbureau.net links (incl. images)
*
* 2010-11-22
* Complete rewrite to work with the new PCW site theme
*
* 2010-11-25
* Added support for IE 7+
*/
}

Thanks,
chiefnz (545)
810347 2010-11-30 18:28:00 You might need to change this line


@-moz-document domain("www.pressf1.co.nz") {

to include http://pressf1.pcworld.co.nz
Netsukeninja (13296)
810348 2011-08-30 07:00:00 Updated 20110830 Chilling_Silence (9)
1 2 3 4 5 6 7 8