Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1093695

    Hi
    My blog list page: https://silviafindings.com/jewellery-corner
    It has stopped displaying the post meta infos as customized with your help. It should display like on the single page post: https://silviafindings.com/we-are-packing-for-the-2019-edmonton-gem-mineral-show-this-weekend

    The customized CSS was added to the quick styling area, but I have not changed anything. I do see the CSS customized code but can’t figure out why this is happening.

    I’d appreciate you having a quick look to see what’s happening. To expedite resolution I have included temporary login credentials below.

    #1094178

    Hey tremblayly,

    Has only CSS been added or you have added more things, for example custom code on any file?

    Best regards,
    Basilis

    #1094755

    Hi Basilis
    Yes the following code was added to the functions.php file:

    // move post meta info
    add_action('wp_footer', 'avf_move_post_meta');
    function avf_move_post_meta(){
    ?>
    <script type="text/javascript">
    (function() {
    	var body = document.getElementsByTagName( 'body' )[0];
    	var blog = body.classList.contains( 'blog' );
        var entry = document.querySelectorAll(".entry-content-wrapper");
    	var meta = null;
    	var title = null;
    	
        if( entry ) {
    		if( body.classList.contains( 'single' ) ) {
    			if( ! body.classList.contains( 'single-post' ) ) return;
    			meta = entry[0].querySelector(".post-meta-infos");
        		title = entry[0].querySelector(".av-heading-wrapper");
    			title.parentNode.insertBefore(meta, title.nextSibling);
    		} else {
    			if ( ! blog ) return;
    			for (var i = 0; i < entry.length; ++i) {
      				meta = entry[i].querySelector(".post-meta-infos");
    				title = entry[i].querySelector(".av-heading-wrapper");
    				title.parentNode.insertBefore(meta, title.nextSibling);
    			}
    		}     
        }
    })();
    </script>
    <?php
    }

    Lyse

    #1095562

    Hi,

    Thanks for the update.

    Did you change this line?

    for (var i = 0; i < entry.length; ++i) {
    

    It should be:

    for (var i = 0; i < entry.length; i++) {
    

    Best regards,
    Ismael

    #1095799

    Hi Ismael
    I made the change you suggested but the post list page still does not display correctly.
    Thanks
    Lyse

    #1096663

    Hi,

    Thanks for the update.

    Did you change any settings recently? Please try to revert it back to what it was.

    Best regards,
    Ismael

    #1096664

    Hi Ismael,
    Other than regular plugin updates, I did not make any settings changes. The same is happening on the staging server.
    Thanks
    Lyse

    #1097791

    Hi,

    Please do update on our latest version of our thme

    Best regards,
    Basilis

    #1097796

    Hi Basilis,
    According to the installed version, I am running the latest version.
    Lyse

    #1098763

    Hi,

    Thanks for the update.

    Some of the sections are rendered outside the main wrapper. This usually happens where there are unclosed html tags in the page or in the posts rendered in the blog overview page. Please check for any unclosed html tags in that particular page and your posts.

    Best regards,
    Ismael

    #1099052

    Hi Ismael,
    I have identified the culprit posts that are causing the issues. There’s more than one, because I often copy and paste from an existing similar post and just make changes; therefore replicated the issue in 4 posts. I have put the problematic posts in draft to fix their issues that allows my post list page to display correctly.

    Thank you for your patience and support.

    Lyse

    #1099077

    Hi,

    Did you need additional help on this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1099105

    Hi Jordan,

    Just working on them to see where the issue is, so far no luck. If you don’t mind giving me a bit more time to find where the error is.

    Thanks
    Lyse

    #1099500

    Hi,

    Thanks for the update. We’ll keep the thread open for you.

    Best regards,
    Rikard

    #1103813

    Hi Rikard,
    I’m still trying to figured out what’s happening. I’ve changed so many of my blog posts to draft. Created a brand new one yesterday and still the blog listing page does not display correctly. If I use the layout builder and save the post, the blog list posts all display correctly, if I save the post like I should with the default editor, the blog post list displays incorrectly. Of course saving the blog post in the advance layout builder causes display issues as excepted. It’s the blog post list that is the problem.

    I need more help from your end to try to figure out what’s happening. This is taking longer that expected but my live website post list is not displaying very nicely and I must find a solution soon.

    Thank you for your understanding and patience and hopefully someone in your group will find out what’s happening.

    Thanks
    Lyse

    #1104716

    Hi,

    Thanks for the update.

    Why did you put the shortcodes in the default editor? You can’t use a color section or any full width elements inside the default editor. Please switch to the advance layout builder.

    Best regards,
    Ismael

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