[Support request] Additional CSS classes not working on containers

Home Forums Support [Support request] Additional CSS classes not working on containers

Home Forums Support Additional CSS classes not working on containers

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2369642
    Sarah

    Hi !

    I rarely have problems with this but for some reason I can’t get my CSS classes to do what I expect when applied to containers.

    Here is a jsfiddle which does exactly what I want (Read More link becoming visible when hovering over the image container).
    http://jsfiddle.net/NinjaBeaver/ayduxfhm/58/

    I’m applying these in what I think is the right heirachy in the GP container blocks, but I can’t seem to get it to work. So I must be missing something.
    Page link in private information as it’s a dev site.

    Hope you can help, it’s probably something simple but my eyes are starting to cross. I’ve tried adding .gb-container but that doesn’t seem to have any effect.

    Thanks πŸ™‚

    #2369758
    David
    Staff
    Customer Support

    Hi there,

    with the current Container Block there is the inner container that needs to be considered in your CSS as your using the direct sibling combinator:

    
    .information_popup_container .gb-inside-container >.popup_information {
        visibility: hidden;
        transition-duration: 8s;
        transition-timing-function: ease-out;
    }
    
    .information_popup_container .gb-inside-container>.information:hover~.popup_information {
        visibility: visible;
        display: block;
    }
    #2369772
    Sarah

    Perfect. Thank you! I did try something similar but it didn’t work, this is spot on now.

    Thank you so much!

    #2369798
    David
    Staff
    Customer Support

    Glad to be of help.
    Thats a cool site btw …. in the future we will release an update where the inner container is removed ( you add it if you need it ) so this kind of custom development will be easier πŸ™‚

    #2369807
    Sarah

    Sounds good, and thanks πŸ™‚

    I love GeneratePress. Easily the best theme framework out there. I used to use Divi but I’d rather build without all the bells and whistles. That way I learn while I work and the websites are fast.

    Thanks again πŸ™‚

    #2370867
    David
    Staff
    Customer Support

    Thanks for the kind feedback πŸ™‚

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