Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1188979
    Eva
    Guest

    Hallo,

    im Bloglayout Enfold Lifestyle steht das jeweilige Post-Datum UNTER dem Post Kann ich das Bloglayout so ändern, dass das Datum ÜBER dem Post steht?

    Danke und Gruß
    Eva

    #1189165

    Hallo Eva,

    Could you post a link to where we can see the element in question please?

    LG,
    Rikard

    #1189219
    Eva
    Guest

    Here you can see my problem. You can see the Date of the Post UNDER the Article.

    NEWS
    A NICE ENTRY

    TEXT TEXT TEXT TEXT ………….

    —————————————————————————
    👉🏻 Date
    —————————————————————————

    I would like to set it ABOVE.

    That means:

    —————————————————————————
    👉🏻 Date
    —————————————————————————
    NEWS
    A NICE ENTRY

    Thanks.
    Eva

    #1190372

    Hi,

    Thank you for the update.

    You can add this snippet in the functions.php file to move the title above category or post title.

    //-------------------------
    // JS - Meta after title
    // ------------------------
    
    function ava_move_meta_after_title(){
    ?>
     <script>
     jQuery(".single .post-entry").each(function(i) {
            var postTitle = jQuery(this).find('.av-heading-wrapper');
            var metaInfo =  jQuery(this).find('.post-meta-infos');
            jQuery(metaInfo).insertBefore(postTitle);
           });
     </script>
    <?php
    }
    add_action('wp_footer', 'ava_move_meta_after_title');
    

    You can edit the file in the Appearance > Editor panel or directly in the server via FTP.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.