• Resolved Rod Mitchell

    (@roderickhdm)


    How do I remove next post and previous post in the recent posts widget please? Go to the bottom of the post to see. Many thanks, in anticipation.

    • This topic was modified 1 year, 2 months ago by Rod Mitchell.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Moderator jordesign

    (@jordesign)

    Hey @roderickhdm – you’d be able to hide those with some CSS code. Could you please follow the instructions below to add this code to the ‘Additional CSS’ on your site?

    /* Hide next/previous post links */
    .single .nav-links {
        display:none;
    }

    Instructions:
    https://www.ads-software.com/documentation/article/css/#custom-css-in-wordpress

    Thread Starter Rod Mitchell

    (@roderickhdm)

    Thanks for your swift response Jor. Worked like magic. From now on, you are my bestie. Seriously, that’s been annoying me for weeks. So, thanks again. All the best. Rod

    Thread Starter Rod Mitchell

    (@roderickhdm)

    Spoke too soon. It’s come back again, in all my posts. Any other suggestions?

    Hey, @roderickhdm. I am testing the code Jordan shared and it seems to be working fine. It sounds like maybe it did not get saved correctly? Maybe try adding it again?

    Thread Starter Rod Mitchell

    (@roderickhdm)

    cleared all cache. Reinserted orginal code. Saved it. See next and previous post titles. Probably a glitch my end. Strange you can’t see it but can. Forget it, it’s not really that important, just my preference. Thanks again for responding so quickly.

    Mmm… the CSS code itself is very straightforward. Here’s what I see when I test in on my browser:

    Maybe there is something wrong with the way the code is being added? Could you take a screenshot of how you are adding your code (similar to the one below)?

    Screen Shot on 2023 08 30 at 12 48 39
    Thread Starter Rod Mitchell

    (@roderickhdm)

    In CSS. Got a mac but not a mac keyboard. Don’t know how to do a screenshot. I’m a dummy:

    Code looks just like this in CSS with line numbers to the left

    Hide next/previous post links */
    .single .nav-links {
    display:none;
    }

    Thread Starter Rod Mitchell

    (@roderickhdm)

    I mean:

    /* Hide next/previous post links */ .single .nav-links { display:none; }

    Could you try removing the entire code and adding just this part?

    .single .nav-links { display:none;}

    Don’t know how to do a screenshot.

    You can follow these steps. Once the screensshot is created, you can upload it to your own Media Library and share the link to the file in your reply.

    Thread Starter Rod Mitchell

    (@roderickhdm)

    Tried that. Doesn’t work. Tried reinserting the original CSS you sent me. Doesn’t work. I have code access. Is there anything I could delete on that front? Or at least reduce the size of these links if I can’t get rid of them? You are very kind and patient with me. Sorry for taking up so much of your time. Thank you. Rod

    Sorry for taking up so much of your time

    No worries! We have all been there at some point ??

    I see you already have quite a bit of CSS code in your customizer. I suspect that we are running to a syntax error somewhere, possibly a missing closing }

    Could you please try adding the code above at the very TOP of your CSS code? Once you add it, please let us know (but do not remove it), I would like to inspect it.

    Cheers!

    Thread Starter Rod Mitchell

    (@roderickhdm)

    I tried adding the shorter code. It works. Then I tried adding the longer code (the original one). It also works and I left it there. But now there is a huge gap between the end of each page of content and the the list of services/posts. If you can help me get rid of that, I will be your best friend forever, in a manly kinda way ??

    Thread Starter Rod Mitchell

    (@roderickhdm)

    Ignore my last message please, working fine now. Thanks again for your help. Rod

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Recent Posts’ is closed to new replies.