Author Exposed displays underneath NextGen Gallery
-
Hi,
I activated the plugin, and it works great despite one big problem: the window displays underneath my nextgen galleries which i place at the top of each post.
I’ve done some research and apparently I have to add
z-index:10;
to the style of the SPAN container in author_exposed.php. Unfortunately, I don’t know php or css or any code really so I have this information and I have the php file but I don’t know what to do with them. can someone please put:‘z-index:10;’
into:
function author_exposed() {
global $authordata;
$nick = get_the_author();// Gravatar Photo
$mail = get_the_author_email();
$gravatar = ‘http://www.gravatar.com/avatar.php?gravatar_id=’ .md5($mail);// Get ID for hidden DIV
$div_id = ‘a’.get_the_ID();
// Hidden DIV output
$author_posts_link = get_author_posts_url($authordata->ID, $authordata->user_nicename );
$hidden_div = ‘<span id=”‘.$div_id.'” class=”mydiv” style=”display:none;”><img src=”‘.$gravatar.'” alt=”gravatar” /><span class=”ae_close”>close</span><span class=”ae_top”><b>Author: ‘.get_the_author().'</b></span>
<span class=”ae_body”><b>Name</b>: ‘.get_the_author_firstname().’ ‘.get_the_author_lastname().’
<b>Email:</b> ‘.get_the_author_email().’
<b>Site:</b> ‘.get_the_author_url().’
</span><span class=”ae_about”><b>About:</b> ‘.get_the_author_description().'</span><span class=”ae_body”>See Authors Posts (‘.get_the_author_posts().’)</span></span>’;// Show it
echo (‘‘.$nick.’‘.$hidden_div);
}
// Add JavaScript and Styles to header
add_action(‘wp_head’, ‘add_head’);
function add_head() {
echo ‘<script type=”text/javascript” src=”‘.get_option(siteurl).’/wp-content/plugins/author_exposed/javascript/skripta.js”></script><link rel=”stylesheet” href=”‘.get_option(‘siteurl’).’/wp-content/plugins/author_exposed/css/ae_style.css” type=”text/css” />’;
}?>
for me? Thanks!
- The topic ‘Author Exposed displays underneath NextGen Gallery’ is closed to new replies.