WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] delete navigation arrows left and right (10 posts)

  1. StevenVdh
    Member
    Posted 1 year ago #

    Hi there,

    I would like to delete the navigation arrows left and right, as the order of the posts shows good on homepage, but when you navigate between them there is no logic order... so I prefer that visitors go back to homepage each time.
    HERE is my site.

    Thanks for the great original and minimalistic theme by the way! :)

  2. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

    You'll find the navigation function in inc/template-tags.php. Create a child theme to modify them so your changes don't get wiped out by a future update to the theme.

  3. StevenVdh
    Member
    Posted 1 year ago #

    ok thanks, I found the template-tags.php... and what should I do with it? put new code? I already created a child theme because I did some changes already at the theme.

  4. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

    You can either change the code such that it doesn't output navigation for single posts using IF/THEN logic, or hide the navigation on single pages with CSS by targeting its selector, I think it's .single #nav-below { display: none; }, but you'd want to double check by looking at your site's source.

  5. Sandy63
    Member
    Posted 1 year ago #

    @Caroline,

    I am sorry I did not get this. Where do I have to put the ".single #nav-below"? Which file is it? I looked up both the template-tags.php and style.css. Could not find it.

    Or could you tell me where I will find the knowledge how to express the "if/then" order?

    @StevenVdh:
    Have you been successful in changing yours? Maybe you can help me as well? :)

    Thanks and have a nice week-end.

    Sandy

  6. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

    The .single #nav-below piece goes in your child theme's style.css file or Custom CSS plugin. Again, that may not work, though -- I recommend Inspecting your site's source with an addon like Firebug or Chrome Developer Tools to find the proper selector for yourself -- good practice for making small CSS customizations!

  7. Sandy63
    Member
    Posted 1 year ago #

    Thanks, again, Caroline! It is highly appreciated over here that you gift your time and patience not only by creating themes but also by supporting their users :)

    After analyzing and some tries and errors it finally worked for me by changing the .site-content #nav-below...'s display from "block" to "none" in the style.css. First I had tried "hidden" but that only made the arrows disappear not the links coming with them ;-)

    It feels nice to see the theme doing what I like it to do...

    Greetings
    S.

  8. Sandy63
    Member
    Posted 1 year ago #

    Thanks, Caroline.

    I repost my solution from my post 9:15 a.m. this morning. For me it worked with the style.css and then "display: none" in the area:
    .site-content #nav-below

  9. StevenVdh
    Member
    Posted 1 year ago #

    strange I didn't receive the last answers anymore by mail... thanks Sandy for sending me an email :)
    In the meanwhile I tried the solution as Sandy explained here, and it works great! Thansk again Sandy, and also Caroline of course!
    Sometimes css can be so simple, but you got to find it :D

  10. StevenVdh
    Member
    Posted 1 year ago #

    case closed and solved ;)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic