• The z-index for the button is ridiculously high (8675309) and set inline.

    If I scroll an image behind a fixed header, the button appears in front of the header instead of between the image and the (translucent) header where it belongs.

    Would it be possible to add a setting that lets the user define what the z-index should be?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author weblizar

    (@weblizar)

    Hi Eric3d

    Thanks for using our plugin

    The z-index value comes from the Pinterest API and right now there is no option in the plugin to edit the value.

    I will try to add this type options in the next update if it is possible.

    Thanks

    • This reply was modified 4 years, 9 months ago by weblizar.
    Thread Starter eric3d

    (@eric3d)

    Found a workaround that seems to work. The slight delay is needed to wait for the button to display.

    $("img").on( "hover", function(){
    	setTimeout( function(){	
    		$('span[class^="PIN_"]').css("z-index", "20");
    	}, 10);	
    });
    
    • This reply was modified 4 years, 8 months ago by eric3d.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Z-index’ is closed to new replies.