Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter supermankz

    (@supermankz)

    I mean, mouseover-tooltip on a product image with short-description (for example 200 symbols and after gradient).

    I’d like to know this too.

    Thread Starter supermankz

    (@supermankz)

    Надеюсь Ты говоришь по-русски? 🙂

    Короче, скачиваешь плагин “Responsive Mobile-Friendly Tooltip”. В настройках этого плагина выбираешь стиль отображения, какой хочешь.

    Потом переходишь в:

    /site/wp-content/plugins/ecommerce-product-catalog/templates/themes

    У меня например файл classic-grid.

    Дописываешь строку:
    <abbr rel=”tooltip” title=”‘.c_list_desc($post->ID).'”> и тег </abbr>
    Пример:
    $return .= ‘<abbr rel=”tooltip” title=”‘.c_list_desc($post->ID).'”><div style=”background-image:url(\”.$url.’\’);” class=”classic-grid-element”></div>’;
    $return .= ‘<div class=”product-name”>’.get_the_title().'</div>’.$archive_price.'</div></abbr>’;

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

The topic ‘Pop-up description’ is closed to new replies.