-
AuthorPosts
-
May 5, 2020 at 4:44 pm #1210011
Hi there,
I have added an iamge (with link) on the end of every blogpost on my site. See an example here:
You will also recognize the image at the end disappears once you move over it with the mouse. I have no clue why this happens because there is no CSS set for this image. It happens only if the image is inside an a tag. When it´s not inside an a tag it stays even when I hover it.
This code is used at the end of loop-single.php
<?php if(is_single()) { ?> <div class="abbinder"> <a href="https://michaeloeser.de/fotografieren-lernen-kompakt/" target="_blank"> <img src="https://www.der-prinz.de/wp-content/uploads/2020/05/fotokompakt-1.jpeg"> </a> </div> <?php } ?>
Any suggestions?
Cheers
Michael- This topic was modified 4 years, 5 months ago by Michael Oeser.
May 9, 2020 at 11:51 am #1211375Hey Michael,
Sorry for the late reply, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.abbinder a { width: 100% !important; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeMay 9, 2020 at 3:01 pm #1211389Brilliant, Mike. It works.
Another quick question: Any idea why my YouTube videos don´t show as videos but as text-only links
Example: https://www.der-prinz.de/eos-rp-meine-bisher-optimale-buttonbelegung/This used to work flawlessly some wweks ago bit suddenly it doesn´t anymore. When I go into the post edit mode and re-enter the Youtube link it suddenly works like so: https://www.der-prinz.de/5-dinge-die-du-fuer-die-eos-m50-unbedingt-haben-musst/
Any idea?
May 9, 2020 at 6:05 pm #1211451Hi,
As I understand, you are posting the YouTube link into a post directly, and sometimes it doesn’t change into a video element. This is a native WordPress function and in my tests on a new install it seems to work correctly, so I would recommend disabling all plugins and then try enabling one at a time, to recreate the error. Also are you hitting the [return] key after the video URL? Try a regular space first then a [return] key. Are you editing in the “visual” or “text” tab?Best regards,
MikeMay 10, 2020 at 8:30 am #1211605I will check. Thanks.
Topic can be closed
May 10, 2020 at 11:42 am #1211618Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Image disappearing on mouseover’ is closed to new replies.