• Resolved PauliusR

    (@pauliusr)


    Blocksy is a fantastic theme with tons of features, yet there are some minor issues that I was not able to resolve on my own.

    It displays image caption text on mouse over the featured image. Does anyone know how to disable it or make it display the Title istead?

    The problem with this approach is that I use captions to credit image authors. It is not related to the rest of the content and contains html. Displaying all of that on mouse over does not make sense in my case.

    Thank you for your help.

    • This topic was modified 3 years, 3 months ago by PauliusR.
    • This topic was modified 3 years, 3 months ago by PauliusR.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author creativethemeshq

    (@creativethemeshq)

    Hello @pauliusr,
    We actually don’t add any “hide” functionality of captions from the theme ??

    Could you please share your website url so I could take a closer look and understand what’s happening on your end?

    Thread Starter PauliusR

    (@pauliusr)

    I might have not explained it well enough. One of the solutions to my problem could be:

    <script>
    jQuery(document).ready(function($) {
        $('img[title]').each(function() { $(this).removeAttr('title'); });
    });
    </script>

    This little piece of JS does the trick. However, it is not the best of solutions as it hides the title meta completely, but at least I don’t get to see raw HTML caption on mouse over. I would prefer displaying Title meta info on mouse over instead of caption.

    • This reply was modified 3 years, 3 months ago by PauliusR.
    • This reply was modified 3 years, 3 months ago by PauliusR.
    • This reply was modified 3 years, 3 months ago by PauliusR.
    Theme Author creativethemeshq

    (@creativethemeshq)

    Hey @pauliusr,
    I’m still not sure 100% if I understood you correctly.

    Could you please record a video or at least show a screenshot so I could know about what are you exactly referring?

    Thank you.

    Thread Starter PauliusR

    (@pauliusr)

    I have made a couple of screenshots. I hope these explain the situation better:

    Screenshot 1
    Screenshot 2

    • This reply was modified 3 years, 3 months ago by PauliusR.
    Theme Author creativethemeshq

    (@creativethemeshq)

    Hey @pauliusr,
    Thanks for providing those screenshots.

    Could you also please share your website URL so I could inspect your setup?
    If you don’t want to share your website link here you can send us an email at [email protected]

    Thread Starter PauliusR

    (@pauliusr)

    The website is on localhost, not live yet, but I can assure you that site setup is not an issue in this case, because I have already tried a fresh new installation with a starter site loaded. Same result.

    I have also tested an earlier version of Blocksy (1.8.4.5) and.. no issues! Browser is not outputting caption text when hovering over a featured image. So there is definitely something in the latest version of Blocksy that’s causing it.

    • This reply was modified 3 years, 3 months ago by PauliusR.
    • This reply was modified 3 years, 3 months ago by PauliusR.
    • This reply was modified 3 years, 3 months ago by PauliusR.
    • This reply was modified 3 years, 3 months ago by PauliusR.
    Theme Author creativethemeshq

    (@creativethemeshq)

    Hello @pauliusr,
    I think I understood you now, thank you very much for your patience and explanations.
    We where able to spot the problem and will come with a fix in the next update.

    If everything goes well the next update will be released this week ??

    Cheers!

    Thread Starter PauliusR

    (@pauliusr)

    That’s great news. And thank you for all of your rapid responses. I am blown away by how productive one can be ??

    Theme Author creativethemeshq

    (@creativethemeshq)

    You’re welcome @pauliusr ??
    Don’t hesitate to get in touch if you will have any other questions.

    Have a nice day!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to disable image caption on mouse over the featured image’ is closed to new replies.