Difference between revisions of "Template:Editnotices/Namespace/File talk/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rd232
imported>Rd232
Line 6: Line 6:
  
 
=== Hiding the message ===
 
=== Hiding the message ===
This template is marked with the CSS id and CSS class name <tt>".file-namespace-editnotice"</tt>, so that editors can apply their own CSS customisation if they wish, in particular to hide it (see [[WP:CSSHIDE]] for details). To hide the message, add
+
This template is marked with the CSS id and CSS class name <tt>".filetalk-namespace-editnotice"</tt>, so that editors can apply their own CSS customisation if they wish, in particular to hide it (see [[WP:CSSHIDE]] for details). To hide the message, add
  
:<tt><nowiki>#file-namespace-editnotice { display: none !important; } </nowiki></tt>
+
:<tt><nowiki>#filetalk-namespace-editnotice { display: none !important; } </nowiki></tt>
  
 
into [[Special:Mypage/monobook.css]], which identifies your monobook.css (open in new tab/window to see). Note that this assumes you're using the Monobook skin; see [[Wikipedia:Skin]] if you're not.
 
into [[Special:Mypage/monobook.css]], which identifies your monobook.css (open in new tab/window to see). Note that this assumes you're using the Monobook skin; see [[Wikipedia:Skin]] if you're not.

Revision as of 08:42, 6 November 2009

Usage

Hiding the message

This template is marked with the CSS id and CSS class name ".filetalk-namespace-editnotice", so that editors can apply their own CSS customisation if they wish, in particular to hide it (see WP:CSSHIDE for details). To hide the message, add

#filetalk-namespace-editnotice { display: none !important; }

into Special:Mypage/monobook.css, which identifies your monobook.css (open in new tab/window to see). Note that this assumes you're using the Monobook skin; see Wikipedia:Skin if you're not.

See also