New Landing How can we help? Themeforest Theme Support Neighborhood Portfolio pagination = next project link – overlaps on mobile view

Viewing 7 posts - 16 through 22 (of 22 total)
  • #148885
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Add the code below to your custom css to fix it.

    
    .portfolio .nav-previous{
    float: left;
    }
    
    .portfolio .nav-next{
    float: right;
    margin-bottom: 10px;
    }

    If you want to hide it use this one

    
    .portfolio .nav-previous, .portfolio .nav-next{
    display:none;
    }

    Think it only shows related items inside the same category.

    -Rui

    #148994
    lobsterass
    Member
    Post count: 386

    Hola!

    Awesome. Both codes worked. I chose to remove the next-previous-project-arrows all together because some of mine leads to only one other project.

    They are not linked to projects in the same category btw. I see no logical connection at all. At least not in my portfolio. 🙂 Too bad, because I think it’s a really nice feature.

    Thank you, Rui!

    <3

    #149000
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Will check the logic of the portfolio navigation with Ed. Thought they were on the same category.

    -Rui

    #149184
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Open up single-portfolio.php change the line #190 and #191

    from

    <div class="nav-previous"><?php next_post_link(__('<i class="fa-angle-left"></i> <span class="nav-text">%link</span>', 'swiftframework'), '%title'z); ?></div>
    				<div class="nav-next"><?php previous_post_link(__('<span class="nav-text">%link</span><i class="fa-angle-right"></i>', 'swiftframework'), '%title'); ?></div>

    to

    <div class="nav-previous"><?php next_post_link(__('<i class="fa-angle-left"></i> <span class="nav-text">%link</span>', 'swiftframework'), '%title', false, '', 'portfolio-category'); ?></div>
    				<div class="nav-next"><?php previous_post_link(__('<span class="nav-text">%link</span><i class="fa-angle-right"></i>', 'swiftframework'), '%title', false, '', 'portfolio-category'); ?></div>

    Did that work?

    Let us know,

    Thanks,
    laranz.

    #149490
    lobsterass
    Member
    Post count: 386

    How sweet of you, Laranz!

    I tried it and I saw that it replaces the name of the projects with their category. Clever solution!

    However, it still has the same issue as the rest of the theme with only linking to like 1-3 other projects from that same portfolio page. I think that’s illogical for usability so I rather remove the link to next and previous projects all together.

    I do think it would be nice and clean for another update of the theme to let ALL projects link to each other with just a LEFT and a RIGHT arrow.

    With that said, thank you SO much for your help! I appreciate the effort!

    <3
    A

    #149499
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Thanks Laranz

    – Kyle

    #149500
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Ok. Thank Laranz.
    Just forwarded your suggestion.

    -Rui

Viewing 7 posts - 16 through 22 (of 22 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register