Plugin Directory

Changeset 1535959


Ignore:
Timestamp:
11/17/2016 10:42:33 PM (9 years ago)
Author:
wptester77
Message:

'Z-index' and 'top' CSS parameters modification to ensure the message is always visible, doesn't matter what is in the page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wpt-hello-world/trunk/WPT-HelloWorld.php

    r1535853 r1535959  
    1313
    1414function wptester_hello_world( $content, $id ) {
    15   $content = $content.'<div style="position:absolute; top:50%;left:50%;width:200px;height:50px;background-color:red;color:white; border: 1px solid white; margin-top: -25px; margin-left: -100px;">Hello World!</div>';
     15  $content = $content.'<div style="z-index:6000; position:absolute; top:10%;left:50%;width:200px;height:50px;background-color:red;color:white; border: 1px solid white; margin-top: -25px; margin-left: -100px;">Hello World!</div>';
    1616  return $content;
    1717}
Note: See TracChangeset for help on using the changeset viewer.