{"id":523,"date":"2012-04-03T20:13:33","date_gmt":"2012-04-03T18:13:33","guid":{"rendered":"https:\/\/www.boettrich.info\/blog\/?p=523"},"modified":"2021-04-20T13:49:45","modified_gmt":"2021-04-20T11:49:45","slug":"piwik-optout-anpassen","status":"publish","type":"post","link":"https:\/\/www.boettrich.info\/blog\/technik\/piwik-optout-anpassen\/","title":{"rendered":"PIWIK OptOut anpassen"},"content":{"rendered":"<p>Does your blog site or website happen to use a very dark background color on which the PIWIK OptOut-Frame shall be displayed, reading the OptOut Text can get quite a bit difficult.<\/p>\n<p><span style=\"font-size: inherit; color: var(--nv-text-color); font-family: Graphik,-apple-system,BlinkMacSystemFont,Segoe UI,var(--nv-fallback-ff); background-color: var(--nv-site-bg);\">But if you change the font color of the OptOut-Frame in the appropriate template, reading the text gets a bit easier again.<\/span><\/p>\n<p>Solution:<\/p>\n<p>Open the file\u00a0\u00a0<code><\/code><\/p>\n<blockquote>\n<p><code>....\/piwik\/plugins\/CoreAdminHome\/templates\/optOut.tpl<\/code><\/p>\n<\/blockquote>\n<p>and put in some CSS-Statements into the &lt;body&gt;-Tag .<\/p>\n<p>This could look like<\/p>\n<div>\n<blockquote>\n<div><code>&lt;<\/code><code>body<\/code> <code>style=\"font-size:12px;font-family: Helvetica; color:red; line-height:20px;margin:0;\"&gt;<\/code><\/div>\n<\/blockquote>\n<\/div>\n<p>This little adaption changes the fontcolor of the OptOut-Text to red.<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Does your blog site or website happen to use a very dark background color on which the PIWIK OptOut-Frame shall be displayed, reading the OptOut Text can get quite a bit difficult. But if you change the font color of the OptOut-Frame in the appropriate template, reading the text gets a bit easier again. Solution:&hellip;&nbsp;<a href=\"https:\/\/www.boettrich.info\/blog\/technik\/piwik-optout-anpassen\/\" rel=\"bookmark\">Weiterlesen &raquo;<span class=\"screen-reader-text\">PIWIK OptOut anpassen<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[6,25],"tags":[],"class_list":["post-523","post","type-post","status-publish","format-standard","hentry","category-technik","category-wordpress-it"],"_links":{"self":[{"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/posts\/523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/comments?post=523"}],"version-history":[{"count":9,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/posts\/523\/revisions"}],"predecessor-version":[{"id":1281,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/posts\/523\/revisions\/1281"}],"wp:attachment":[{"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/media?parent=523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/categories?post=523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/tags?post=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}