Merhaba. css ile alakalı sıkıntı var. .vc_gitem-zone .vc-zone-link classtaki top :0 değerini kaldırın
hocam burayı diyorsun sanırım. ama sıfır olan alanı nasıl silmeliyim ? 0 kaldırdım sadece hiç bir konu göstermedi.
if ( strlen( $link ) > 0 && 'none' !== $link ) {
$css_class .= ' vc_gitem-is-link';
if ( 'custom' === $link && ! empty( $url ) ) {
$link_s = vc_build_link( $url );
/*
$attr = ' data-vc-link="' . esc_attr( $link_s['url'] ) . '"'
. ' data-vc-target="' . esc_attr( trim($link_s['target']) ) . '"'
. ' title="' . esc_attr( $link_s['title'] ) . '"';
*/
$image_block = '<a href="' . esc_attr( $link_s['url'] ) . '" title="'
. esc_attr( $link_s['title'] ) . '" target="' . esc_attr( trim( $link_s['target'] ) )
. '" class="vc_gitem-link vc-zone-link"></a>';
} elseif ( 'post_link' === $link ) {
$image_block = '<a href="{{ post_link_url }}" title="{{ post_title }}" class="vc_gitem-link vc-zone-link"></a>';
} elseif ( 'post_author' === $link ) {
$image_block = '<a href="{{ post_author_href }}" title="{{ post_author }}" class="vc_gitem-link vc-zone-link"></a>';
} elseif ( 'image' === $link ) {
$image_block = '<a href="{{ post_image_url }}" title="{{ post_title }}" class="vc_gitem-link vc-zone-link"></a>';
} elseif ( 'image_lightbox' === $link ) {
if ( ! isset( $this->prettyphoto_rel ) ) {
$this->prettyphoto_rel = ' data-rel="prettyPhoto[rel-' . get_the_ID() . '-' . rand() . ']"';
}
$image_block .= '<a href="{{ post_image_url }}" title="{{ post_title }}" ' . $this->prettyphoto_rel . ' data-vc-gitem-zone="prettyphotoLink" class="vc_gitem-link prettyphoto vc-zone-link vc-prettyphoto-link"></a>';
}
$image_block = apply_filters( 'vc_gitem_zone_image_block_link', $image_block, $link, 'vc_gitem-link vc-zone-link' );