-
AuthorPosts
-
June 7, 2018 at 10:33 am #968487
Hi, can i somhow disable, that the description of an image shows up on mouse hover, but still remains when it opens in a lightbox?
I already tried this code in my child theme functions php:function remove_title_attr(){
?>
<script>
jQuery(window).load(function(){
jQuery(‘#wrap_all a’).removeAttr(‘title’);
jQuery(‘#wrap_all img’).removeAttr(‘title’);
});
</script>
<?php
}
add_action(‘wp_footer’, ‘remove_title_attr’);but the the whole description is removed and not shown anymore in the lightbox.
So what i want is:
mouse hover: no description in the tooltip
Image opend in the lightbox: description underneathist this possible?
thank you in advance
KatharinaJune 8, 2018 at 11:56 pm #970229Hey KaJoHa,
Please provide a link to the site/page in question so we can look into this issue further.
Best regards,
Jordan ShannonJune 9, 2018 at 7:23 am #970291See in private content
Best regardsJune 11, 2018 at 5:13 pm #971305Hello, any news on this?
best regards
Katharina
June 11, 2018 at 7:36 pm #971352Hi,
Try to adjust the code to the following:
function remove_title_attr(){ ?> <script> jQuery(window).load(function(){ jQuery(‘#wrap_all .avia-slide-wrap img’).removeAttr(‘title’); }); </script> <?php } add_action(‘wp_footer’, ‘remove_title_attr’);
Best regards,
Jordan ShannonJune 11, 2018 at 10:02 pm #971408Hi,
i’m sorry, that does not work eather. This code has no effect at all.
I searched through the forum and recognized, that a few people had the same problem, but i could not find any solution. Can you give me a hint, how to present images, with a caption that only shows, when i click on the image?
When i set the gallery to “show title and caption on mouse hover”, the caption is shown all the time on mobile devices, so that the image is hidden.thank you
KatharinaJune 11, 2018 at 10:34 pm #971414Hi,
Please provide admin info so I can log in and look into this issue further.
Best regards,
Jordan ShannonJune 12, 2018 at 8:03 am #971563See private content
thank youJune 12, 2018 at 10:22 pm #971922Hi,
The link you provided did not allow me access to the page. Can you look into this?
Best regards,
Jordan ShannonJune 13, 2018 at 9:01 am #972114I think in english the text underneath the image is namend “caption” not “description” as i thought.
Sorry for the wrong link, here the right oneJune 14, 2018 at 9:11 am #972688Hi KaJoHa,
I added the code to your functions.php that works for the slider, do you also want it to work for the masonry?
Best regards,
VictoriaJune 14, 2018 at 9:17 am #972695Hi,
yes please, the masonry, and the galerie on bottom of the page – this is even more important than the slider :)
thank you
June 15, 2018 at 2:39 pm #973333Hi KaJoHa,
Best regards,
VictoriaJune 15, 2018 at 3:28 pm #973361The caption in the lightbox should remain, that’s the thing! Removing the title of the images i could do by myself :)
The question was, if it is possible to disable the CAPTION in the tooltip, because it’s so long, it doesn’t look good. If only the short TITLE of the images appears on mouse hover, that would be ok.best regards
katharinaJune 16, 2018 at 8:01 pm #973725Hi KaJoHa,
Then the titles should remain. We cannot disable them, ass this is a default browser feature which we don’t have control over.
Best regards,
VictoriaJune 18, 2018 at 12:42 pm #974205As feared…
Would be a nice feature to add on one of the next enfold updates. A possibility to add a short text under or netxt to images to describe them, without appearing the whole text in the tooltips…
thank you
KatharinaJune 18, 2018 at 3:10 pm #974303Hi Katharina,
There is the title and excerpt option in the masonry for blog posts and portfolio items.
If you need further assistance please let us know.
Best regards,
VictoriaJune 18, 2018 at 8:30 pm #974461ok thank you.
One last question, then the webste can go live :)
The header background color changes between 768px an 989px width into grey, screen and mobile width are white, as i want it. Can you please give me the code to fix this? I tried@media only screen and (max-width: 989px)
#top #wrap_all .av_header_transparency {
background-color: #ffffff;}but this doesn’t work
thank you
KatharinaJune 18, 2018 at 10:21 pm #974492ok i solved the problem by adding the code to enable a sticky header only mobile devices.
best regards
KatharinaJune 19, 2018 at 7:10 pm #974871Hi Katharina,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.