Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Realise I am responding 5 months after this was posted, but thought I would share how I solved this in case it is helpful to you or anyone. I an using this plugin to display testimonials and had the same issue re: not being able to prevent the featured image (attempting to) Link to single view.

    Feels a little hacky admittedly, but I was able to solve this easily enough with only CSS by adding a pseudo element as an invisible overlay that prevents clicks.

    .posts-list.testimonials * {
    	cursor: default!important;
    }
    
    .posts-list.testimonials article .ptam-block-post-grid-text {
             z-index: 10;
    }
    
    /* Invisible pseudo-element prevents clicking on links in featured image which cannot be removed  */
    .posts-list.testimonials .ptam-block-post-grid-image:before {
    	content:"";
    	position: absolute;
    	top:0;
    	left: 0;
    	height: 100%;
    	width: 100%;
    	z-index: 5;
    	background-color: transparent;
    }
    Thread Starter ayishaw

    (@ayishaw)

    Legend that worked perfectly, thanks so much.

    Thread Starter ayishaw

    (@ayishaw)

    Thank you, will give that a go!

Viewing 3 replies - 1 through 3 (of 3 total)