-
Author
-
December 21, 2015 at 23:17 #94712grigrichtersParticipant
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/
December 22, 2015 at 17:51 #94900sharmstrModeratorYou 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 22, 2015 at 19:30 #94924grigrichtersParticipantok. thanks. why not add the code directly into the theme? I haven’t uploaded the child theme. thx, grig
December 22, 2015 at 21:07 #94941sharmstrModeratorYou 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 22, 2015 at 21:46 #94957grigrichtersParticipantok. so I assume the safest workaround is to only allow 3 items per row and make them bigger? thanks, Grig
December 22, 2015 at 21:48 #94959sharmstrModeratorThat 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.