Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1176148

    Hi,

    I‘ve set the max content width to 1200px on my site and expect the blogpostnavigation to be displayed within this container. However the prev and post toggle are displayed on the very side of the screen where they happen to be overlooked quiet often,

    Furthermore the navigation is not displayed at all on small screens like mobile fones other than landscape mode.

    I would like to have a blogpostnav on all screen within the selected Max container width.

    Thanks in advance for your help.

    Best regards,
    woody

    #1176408

    Hey woodyskywalker,

    Thank you for using Enfold.

    Could you please attach a mockup of what you’re trying to achieve?

    Best regards,
    Victoria

    #1177885

    Hi,
    please see the links to the requestet pics.
    My website has a max width of 1200px.
    On displays greater than 1200px, the nav (Prev/post) s of my Blog are outside this container.
    On small screens they are not visible at all.

    I want them to be always displayed and within the max width of my website.

    Regards woody

    #1178859

    Hi,

    Thank you for the info.

    That is the default layout of the post navigation in the theme. If you want to move it inside the container and below the post content, please follow the solution in the following thread.

    // https://kriesi.at/support/topic/previous-next-links-on-single-posts/#post-1141679

    Best regards,
    Ismael

    #1181976

    Hi Ismael,

    thx for your reply.
    I’ve removed the: echo $avia_post_nav; from the footer.php but couldn’t make the navigation reappear again via the loop-index.php.
    I’ve put echo $avia_post_nav; in line 393. just above

    ` echo ‘<footer class=”entry-footer”>’;

    and added the quick css but that didn’t work for me.

    Could you please specify:

    We removed the post navigation from the footer.php file, then placed it back in the includes > loop-index.php file right at the very bottom of the post.
    ?

    Thanks in advance

    BTW, the email notification does not work for me as well

    #1182948

    Hi,

    Thank you for the update.

    Instead of editing the includes > loop-index.php file, try to use the ava_after_content hook to insert the navigation below the post content.

    add_action('ava_after_content', function($id, $context) { 
         if($context != 'post') return;
         $avia_post_nav = avia_post_nav();
         echo $avia_post_nav;
    }, 10, 2);
    

    Best regards,
    Ismael

    #1182968

    Hi Ismael,
    thank you for having a lot of trust in my abilities.
    But I do not have any clue, where and how to insert that code.
    Does it belong in the wp-editor(i tried but failed) or do I have to modify a file of the theme?

    Would it make sense to provide sftp and wordpress logins to my website?

    Thank you,
    woody

    #1183117

    Hi woody,

    You will need to use a child theme and add the code above to the functions.php file in the child theme.

    Best regards,
    Victoria

    #1184356

    Thanks a lot Victoria,
    it sure worked!
    I only needed to find out, how to display the navigation on mobile screens.
    Thanks to this post: https://kriesi.at/support/topic/loop-post-navigation-on-mobile/
    it was no big issue:

    @media only screen and (max-width: 767px) {
    .responsive #top .avia-post-nav {
        display: block;
    }}

    Thanks again for your help. You may close the thread.
    Best regards,
    woody

    #1184668

    Hi Woody,

    Great, I’m glad that you got things working and thanks for the update. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Blogpost navigation’ is closed to new replies.