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

    Hi, i want to disable tooltips for some category,

    Any tips to doing that?

    Thank you

    #55805

    Hey,

    I thin the easiest way is to use css to hide the tooltip/big preview image. Use a code like:

    .category-15 .item_big{
    display: none !important;
    }

    - i.e. this will hide all tooltip images for the category with the id “15″.

    #55806

    Hi, it did what i though, a litle blank (white box) opened. like a 20px square.

    do you have a idea how to call .tooltip display: none only in the selected category?

    .category-1 .item_big, .tooltip{

    display: none !important;

    }

    Maybe if there’s not any way, i can call this css only in the category i want in php in the header

    .tooltip{

    display: none !important;

    }

    #55807

    i hacked it this way in the header and it’s working

    <?php

    if ( is_home() || in_category(1) ) {

    ?>

    <style type=”text/css”>

    <!–

    .tooltip{

    display: none !important;

    }

    –>

    </style>

    <?php } ?>

    #55808

    Good to see you’ve got it to work :)

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Disable tooltip for specific categories’ is closed to new replies.