Please or Register to create posts and topics.

Hide/show the user information

Hello Thomas,

to a topic https://wordpress.org/support/topic/mobile-css-less-restrictive/

I am happy with everything 🙂

Below, for those who need the information

Such a proposal…

In a file to make a change post-element.php:

Above

<?php
            // Only show post-counter for existent users.

Add

<div class="spoiler">
     <input class="spoiler-hide" type="checkbox">
     <div class="box">

After

do_action('asgarosforum_after_post_author', $post->author_id, $post->author_posts);
            ?>

Add

</div>

</div>

in style.css

#af-wrapper .spoiler-hide {
    display: none;
}

in mobile.css

#af-wrapper .spoiler >  input + .box {
 display: none;
}
#af-wrapper .spoiler >  input:checked + .box {
 display: block;
}
#af-wrapper .spoiler-hide {
    display: inline !important;
}

Styles adjust

This is just a suggestion 🙂

screenshot:

Uploaded files:
  • QuickMemo_2017-03-03-22-33-27.png
  • QuickMemo_2017-03-03-22-34-12.png