Hi Ciaran
I am using J51_Emani_J4 together with the module «ImageHover».
On a large screen, the hover effect looks quite good. But on a mobile screen, there is no mouse to hover over the image. Thus we do not see the text on a mobile screen. So I would like to do without any hover effect. In other words: the text should be displayed at any time on any screen.
I found your CSS suggestion here: https://www.joomla51.com/forum/imagehover-module-1#reply-49432 but these additions to my Custom CSS field have no effect at all.
Thank you and kind regards
Chris
- crimle
- Commercial Templates
- Tuesday, 26 December 2023
- Subscribe via email
Hi Chris
The solution here does vary slightly depending on the hover effect you are using. Would you have a URL to an example of your module?
Ciaran
The solution here does vary slightly depending on the hover effect you are using. Would you have a URL to an example of your module?
Ciaran
- more than a month ago
- Commercial Templates
- # 1
Hi Ciaran
The temporary URL is http://jobdach.ch.eris.preview-ch-dns.net/
Thank you very much and kind regards
Chris
The temporary URL is http://jobdach.ch.eris.preview-ch-dns.net/
Thank you very much and kind regards
Chris
- more than a month ago
- Commercial Templates
- # 2
Thank you Chris
To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
Ciaran
To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
[class*=" imghvr-fade"]:hover figcaption,
[class*=" imghvr-fade"]:hover > img,
[class^="imghvr-fade"]:hover figcaption,
[class^="imghvr-fade"]:hover > img {
transform: translate(0,0);
}
[class*=" imghvr-fade"]:hover figcaption,
[class^="imghvr-fade"]:hover figcaption {
opacity: 1;
}
Ciaran
- more than a month ago
- Commercial Templates
- # 3
Hi Ciaran
unfortunately the behaviour is still the same. I do hope you have not run out of ideas yet.
Thank you and kind regards
Chris
unfortunately the behaviour is still the same. I do hope you have not run out of ideas yet.
Thank you and kind regards
Chris
- more than a month ago
- Commercial Templates
- # 4
My apologies, I should have tested first
Use the following instead...
Ciaran
Use the following instead...
[class*=" imghvr-fade"] figcaption,
[class^="imghvr-fade"] figcaption,
[class*=" imghvr-fade"] figcaption *,
[class^="imghvr-fade"] figcaption * {
opacity: 1;
transform: translate(0);
}
Ciaran
- more than a month ago
- Commercial Templates
- # 5
Hi Ciaran
here is my feedback: it works perfectly and I am very happy.
Thank you very much and kind regards
Chris
here is my feedback: it works perfectly and I am very happy.
Thank you very much and kind regards
Chris
- more than a month ago
- Commercial Templates
- # 6
Hi Ciaran
I erroneously wrote «I would like to do without any hover effect. In other words: the text should be displayed at any time on any screen.» This requirement is met by your answer and works fine. But my customer now has a differentiated requirement.
1. The hover effect should apply to large screens, but not to mobile screens.
I could handle this by completing your code like this:
2. The hover effect on large screens should apply to the text only. He wants the title to be displayed at any time.
Can this be done easily? I can understand this requirement, since we are using this module as kind of a main menu. So it makes sense that the title is visible immediately. We are ready to pay for this customizing service.
Thank you very much and kind regards
Chris
I erroneously wrote «I would like to do without any hover effect. In other words: the text should be displayed at any time on any screen.» This requirement is met by your answer and works fine. But my customer now has a differentiated requirement.
1. The hover effect should apply to large screens, but not to mobile screens.
I could handle this by completing your code like this:
@media only screen and (max-width: 600px) {
[class*=" imghvr-fade"] figcaption,
[class^="imghvr-fade"] figcaption,
[class*=" imghvr-fade"] figcaption *,
[class^="imghvr-fade"] figcaption * {
opacity: 1;
transform: translate(0);
}
}
2. The hover effect on large screens should apply to the text only. He wants the title to be displayed at any time.
Can this be done easily? I can understand this requirement, since we are using this module as kind of a main menu. So it makes sense that the title is visible immediately. We are ready to pay for this customizing service.
Thank you very much and kind regards
Chris
References
- more than a month ago
- Commercial Templates
- # 7
Hi Chris
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this possibility further. For our reference please paste a link to this post in your email.
Ciaran
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this possibility further. For our reference please paste a link to this post in your email.
Ciaran
- more than a month ago
- Commercial Templates
- # 8
Thank you Chris
I have added the following to your custom CSS which I believe gives you the desired result. Note for this to be possible the effect is more of a fade-in rather than fade-in-up.
Ciaran
I have added the following to your custom CSS which I believe gives you the desired result. Note for this to be possible the effect is more of a fade-in rather than fade-in-up.
.j51imagehover [class*=" imghvr-"] figcaption,
.j51imagehover [class^="imghvr-"] figcaption {
transform: translate(0,0);
background: transparent;
opacity: 1;
}
.j51imagehover [class*=" imghvr-"]:hover figcaption,
.j51imagehover [class^="imghvr-"]:hover figcaption {
background: var(--j51-overlay-color);
}
.j51imagehover figcaption .j51imagehover_title {
opacity: 1 !important;
}
Ciaran
- more than a month ago
- Commercial Templates
- # 9
Hi Ciaran
your support is really premium and I am again and again surprised to see what can be done by CSS code.
Thank you very much and kind regards
Chris
your support is really premium and I am again and again surprised to see what can be done by CSS code.
Thank you very much and kind regards
Chris
- more than a month ago
- Commercial Templates
- # 10
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »