Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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,
    OPVAB

    #1009274

    Hey 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,
    Victoria

    #1009305

    Hi.
    Posting url in PC. See under headline “Hemsida”.

    Thanks,
    OPVAB

    #1009339

    Hi 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,
    Nikko

    #1009383

    Hi.

    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,
    OPVAB

    #1009424

    Hi 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,
    Nikko

    #1009833

    Here it comes.

    OPVAB

    #1010176

    Hi 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,
    Nikko

    #1010740

    Is 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,
    OPVAB

    #1011009

    Hi,

    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,
    Basilis

    #1011250

    Hi.

    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);
    }

    /
    OPVAB

    #1011474

    Hi,
    Thank you for sharing, so is each box a grid row with a image element inside and text block on top of that?

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.