This topic has 5 replies, 2 voices, and was last updated 8 years by sharmstr.

  • Author
  • #94712
     grigrichters
    Participant

    Hi there, on this page I have a portfolio. I want the user to be able to click anywhere within the specific image to get to the linked page. Right now it takes me 3-4 clicks until the link reacts and jumps to the next page. any ideas how to fix this? thanks, Grig http://asteroidday.wpengine.com/signatories-list/

    #94900
     sharmstr
    Moderator

    You only have to click once if you click in the correct spot. This is usually not an issue, but in your case it is because your portfolio items are so small. The only thing that’s not linked is the excerpt, but again, because your items are so small, the excerpt takes up almost half of the item.

    Copy /kleo/page-parts/portfolio-masonry.php to your child theme /kleo-child/page-parts/portfolio-masonry.php and change this line (near the bottom)

    COPY CODE
    
     <?php echo kleo_excerpt( 60, false ); ?>
    

    to this

    COPY CODE
    
    <a href="<?php the_permalink();?>"><?php echo kleo_excerpt( 60, false ); ?></a>
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #94924
     grigrichters
    Participant

    ok. thanks. why not add the code directly into the theme? I haven’t uploaded the child theme. thx, grig

    #94941
     sharmstr
    Moderator

    You can do that, but it will be overwritten with every update.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #94957
     grigrichters
    Participant

    ok. so I assume the safest workaround is to only allow 3 items per row and make them bigger? thanks, Grig

    #94959
     sharmstr
    Moderator

    That would give people more room to click.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?