-
AuthorPosts
-
September 12, 2018 at 4:28 pm #1009004
Hi.
I’ve seen css in this forum for sliding in caption, like .av-overlay-on-hover .avia-image-container-inner:hover .av-image-caption-overlay {
animation: 1s slide-up; } but was looking for some css more like this: https://www.jordancrown.com/portfolio/In above URL example is some of the caption visable before hover effect.
Thanks,
OPVABSeptember 13, 2018 at 8:50 am #1009274Hey opvab,
Well, it’s a different set up in terms of html and css.
Can you show us what you’ve got so far?
Best regards,
VictoriaSeptember 13, 2018 at 10:19 am #1009305Hi.
Posting url in PC. See under headline “Hemsida”.Thanks,
OPVABSeptember 13, 2018 at 11:57 am #1009339Hi opvab,
I think you almost made it.
Try to put the content after the title and hide it then on hover make it visible and content area expand.
Hope this tip helps.Best regards,
NikkoSeptember 13, 2018 at 1:31 pm #1009383Hi.
As it is now, I have three elements on the 1/3 column. I only want to have one element, the image element with the Caption text.
But I want some of the “on-hover” caption to be visable from start, like: https://www.jordancrown.com/portfolio/.New URL and existing CCS in PC.
Thanks,
OPVABSeptember 13, 2018 at 3:03 pm #1009424Hi OPVAB,
Yes, can you give us admin access? so we can try to make some modifications on your end.
Just post the details in private content, so it’s only visible to the moderators.Best regards,
NikkoSeptember 14, 2018 at 9:23 am #1009833Here it comes.
OPVAB
September 15, 2018 at 5:08 pm #1010176Hi OPVAB,
Thanks for giving us admin access.
I have checked Show element options for developers in Enfold > Layout Builder.
Then on the page, I used a grid row to create 3 columns then added in Custom CSS Class: custom-grid
In your Quick CSS (located in Enfold > General Styling), I added this code:.custom-grid .flex_cell { padding: 0 !important; } .custom-grid .flex_cell_inner { position: relative; } .custom-grid .av_textblock_section { background: rgba(0,0,0,0.5); padding: 20px 20px 10px; width: 100%; position: absolute; bottom: 0; z-index: 100; } .custom-grid .avia-image-container-inner, .custom-grid .avia-image-container-inner .avia_image { width: 100%; } .custom-grid .av_textblock_section h3 { font-size: 28px; } .custom-grid .av_textblock_section p { display: none !important; opacity: 0; filter: alpha(opacity=0); -webkit-transition: opacity .4s linear; -o-transition: opacity .4s linear; transition: opacity .4s linear; } .custom-grid .flex_cell_inner:hover .av_textblock_section p { display: block !important; opacity: 1; filter: alpha(opacity=100); }
The only thing remaining is the animation which can be done via javascript which would take sometime to do and outside the scope of our support.
Best regards,
NikkoSeptember 17, 2018 at 1:38 pm #1010740Is JavaScript really required. Must be possible to do with only CCS.
Below CCS makes it slide nice:
animation: slide-top 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s 1 normal both running;
}Must be a way to use similar CCS for my hover-effect.Thanks,
OPVABSeptember 17, 2018 at 10:55 pm #1011009Hi,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
BasilisSeptember 18, 2018 at 1:15 pm #1011250Hi.
if some have the interest of a hover-effect without having to use Javascript or Plugins:
.custom-grid .av_textblock_section p {
/*display: none !important;*/
height: 0px;
opacity: 0;
filter: alpha(opacity=0);
-webkit-transition: 1s;
-o-transition: 1s;
transition: 1s;
}.custom-grid .flex_cell_inner:hover .av_textblock_section p {
/*display: block !important;*/
height: 50px;
opacity: 1;
filter: alpha(opacity=100);
}/
OPVABSeptember 18, 2018 at 7:48 pm #1011474 -
AuthorPosts
- You must be logged in to reply to this topic.