Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #383628

    Is it possible to make it so that not only the image but also the text (or text field) is linking to the portfolio item?
    Our (very rudimentary) usability tests show that user are trying to click the text before the reach for the image. It would help them if the text or the box containing the text was linking too.

    • This topic was modified 9 years, 10 months ago by bertel.
    #383804

    Hi bertel!

    Can you please post a screenshot and show the changes you would like to make?

    Best regards,
    Yigit

    #384242

    Take a look here:
    http://92.43.176.100/~hotelthinggaard/wp-content/uploads/2015/01/Skarmbillede%202015-01-22%20kl.%2011.27.21.png

    The area I would like to be linking too is circled in red.

    #384492

    Hi!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_div(){
    ?>
    <script>
    jQuery(".grid-content").click(function(){
            window.location = jQuery(this).find("a:first").attr("href");
            return false;
        });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_div');

    then add following code to Quick CSS in Enfold theme options under General Styling tab

    .grid-content {
    cursor: pointer;
    }

    Best regards,
    Yigit

    #385010

    Amazing. Thanks a lot. Works exactly like the client wishes it. I am really gratefull.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Portfolio text field – Link possible?’ is closed to new replies.