Home Forums Basel support forum "hover box" image in vc is cropped

"hover box" image in vc is cropped

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #21932

    ggore
    Participant

    Hey, love your theme!
    However I have a small problem. I tried to use the “hover box” image function in visual composer, but the image gets cropped in height. So I would like to show the image in his real proportions.

    THX!

    Attachments:
    You must be logged in to view attached files.
    #21942

    Artem Temos
    Keymaster

    Hello,

    Please, provide us a link where we can see this problem on your website.

    Thank you

    #21961

    ggore
    Participant

    Hello, thank you for your fast reply.

    #21982

    Artem Temos
    Keymaster

    Unfortunately, Visual Composer hover box element doesn’t take the height of the image as its own height and that is why the image seems to be resized. We can’t fix it since it is not a bug but it is how the element works.

    #21984

    ggore
    Participant

    Isnt there a css code that I can do?

    Or i tried to add an backround-overlay by hovering over the image. But the background color is getting ignored. Could you help me maybe with that? 🙂

    #21998

    Artem Temos
    Keymaster

    You can use the following CSS code to increase its height

    .vc-hoverbox-inner {
        min-height:350px!important;
    }
    #22004

    ggore
    Participant

    I tried this out by nothing changed. 🙁

    Could you tell me why i cant add a background overlay by hovering over a image?

    #22005

    Artem Temos
    Keymaster

    We don’t see this code added to your website so can’t check why it doesn’t work.

    Can you please provide a screenshot with background overlay so we can understand what do you mean?

    #22010

    ggore
    Participant

    I added a class called presse to the image in vc.

    #22011

    ggore
    Participant

    sorry the image wasnt uploaded before.

    Attachments:
    You must be logged in to view attached files.
    #22016

    ggore
    Participant

    here is in example what i am trying to do: https://demo.xtemos.com/basel/portfolio/?portfolio5

    #22023

    Artem Temos
    Keymaster

    It requires additional CSS and template customization for this element or even creating a new one.
    Just add the code we sent your previously to increase boxes height and you will get what you need.

Viewing 12 posts - 1 through 12 (of 12 total)