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
Hallo Eva,
Could you post a link to where we can see the element in question please?
LG,
Rikard
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
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