Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #942402

    If I recall correctly, there was a way to do that without touching code. A setting in the theme that I can’t find now.
    Not even by Googling it.

    How do I disable the post navigation?

    This CSS doesn’t work – #top .avia-post-nav { display: none; }

    • This topic was modified 6 years, 7 months ago by yifatcohen.
    #942446

    Hey yifatcohen,

    Can you give us a link on the page of your site where we can see it? there are lots of elements, like sliders in the Enfold theme that shows the post navigation, we just need to know which specific element it is. :)

    Best regards,
    Nikko

    #943190

    Sure.

    You’ll need to be logged in with the credentials I sent you in the other post.

    #943211

    Hi,

    Add this to quick css:

    .avia-post-nav{
    display:none!important;
    }

    Best regards,
    Jordan Shannon

    #943237

    That didn’t work

    2018-04-17_1259

    #943238

    Hi,

    Please provide a link to the page in the screenshot.

    Best regards,
    Jordan Shannon

    #943241

    It’s the same one from the comment above – https://viralconnectivity.com/courses/live-beyond-facebook/lessons/your-super-gear/

    Like I said, you’ll need to be logged in.

    #943257

    Hi,

    Do you have any other custom css outside of the quick css area? Currently nothing seems to be running at all from there.

    Best regards,
    Jordan Shannon

    #943283

    Not that I know of. Did you see anything while you were logged in?

    (feel free to roam around)

    #943285

    Hi,

    Can you try adding this directly to the custom.css file:

    .avia-post-nav{
    display:none!important;
    }

    Best regards,
    Jordan Shannon

    #943304

    Yes, that worked.

    But – wouldn’t it be overwritten with the theme update?

    Can you guys add it to the theme functions and make it an option since so many people are asking about it?

    #943575

    Hi,

    Are you referring to the CSS posted by Jordan? If so then no, it won’t be overwritten on updates if you keep it in a child theme or in Quick CSS.

    Best regards,
    Rikard

    #1007975

    As I only saw the hacky CSS solution, I thought it would be valuable to share the solution to *really* disable those links and not only hide them.
    Just put this code in a custom Plugin (don’t hurt to create those one php file) or the functions.php of your child theme:

    if (!function_exists('custom_disable_avia_post_nav')) {
    	add_filter('avia_post_nav_entries', 'custom_disable_avia_post_nav', 10, 2);
    	function custom_disable_avia_post_nav( $entries, $settings ) {
    		return array();
    	}
    }
    #1008012

    Hi!


    @hiveitde
    Thanks for sharing your solution :)

    Regards,
    Yigit

    #1064952

    Thanks to the above poster. PLease add an option in settings to disable this properly and not hide.

    #1065134

    Hi ezfl0w,

    Such an option is available in the Theme options > Blog Layout
    Image 2019-02-10 at 15.31.24.png

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1065220

    I dont use the blog, there is no such option for non blog posts. The theme is bloated with stuff that should be disabled by default if mobile first approach is to be taken seriously.

    #1065327

    Hi ezfl0w,

    Thanks for the feedback, it’s appreciated.

    Best regards,
    Rikard

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