Need help? Check out our Support site, then


Selective navigation possibility (Suburbia theme)

  1. Hi, I have a question about navigation on my blog.

    I have a separate category (Essays) that is not meant to show up on the home page, but the .nav controls on individual regular posts, of course, continue along to posts in the Essays category.

    (See
    here, on clicking 'Previous post'. Specially bad as I'm using an empty post for category description.)

    I was wondering if there is any way to specify that the .nav should not continue to 'Essay-category' posts after the last regular post? (And also the other way round: i.e. from Essay-posts to regular posts?)

    Will be grateful for any help! Thanks.

    The blog I need help with is contextualternate.com.

  2. To remove the "previous" link from that post, add this:

    .postid-2104 .nav-previous {
    display: none;
    }

    You want no "next" link on the first essay post, or no nav links at all on all the essay posts?

  3. Hi, thanks so much. Sorry this got left out for a bit (un-ticked email notification).

    1. Does [.postid-2104] remove the nav.previous from that specific post or any post that may be the last (i.e. chronologically, the first)? I want to remove the button from what is chronologically the first post (which may change). Is that doable or will I need to change this manually if I change the first post? The main idea really is to stop going over to the Essays category.

    2. For the essays posts, I think it might be best to remove navigation altogether. This may also be useful given that many of the 'posts' in this category are external links only, which show up as empty pages.

    3. Is it possible to separately expand the width of all essay posts to that of [About] or [Essays] front-page? i.e. without modifying the individual book-post content width [#single?].

    Many thanks for your help!

  4. 1. The number is the ID of that particular post. There's no other way to target that post.

    2. That's what I thought too. On stupid Suburbia the nav links aren't a child of the section that includes the category class, so you can't say remove the nav links from the posts that are filed under that category, you have to target each post:

    .postid-2203 .meta, .postid-2205 .meta, .postid-2207 .meta, .postid-2058 .meta, .postid-2089 .meta, .postid-2183 .meta {
    display: none;
    }

    3. Similarly, to widen the content:

    .postid-2203 #single, .postid-2205 #single, .postid-2207 #single, .postid-2058 #single, .postid-2089 #single, .postid-2183 #single {
    width: 743px;
    }
  5. Thanks a lot, that's perfect (for now!). I think this should work fine, might require a bit more attentiveness on my part when updating things.

    Thanks again for all your help and my best wishes to you for the new year!

  6. You're most welcome, and happy holidays!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.