• Piani

    (@webbmasterpianise)


    I would love an option in the settings for all sliders to hide the caption like I can hide the arrows from displaying.

    I have text in that field but I do not want to display the caption box on top of my images.

    I think the text is good to have for SEO purpose but I want to hide it from display. Maby just show on mouseover would be perfect.

    Hope this option can be implemented.

    https://ww.wp.xz.cn/plugins/ml-slider/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    If text is entered into the caption field it will be displayed over the image – there is an SEO tab that you can make use of to store text relating to the image.

    However you could use the following CSS which should achieve the hover functionality which you’re looking for – add it to your theme’s style.css file

    .metaslider .slides .caption-wrap {
        display: none;
    }
    .metaslider .slides:hover .caption-wrap {
        display: block;
    }

    Thanks,
    Dave

    Thread Starter Piani

    (@webbmasterpianise)

    Hi Dave.

    Yes, I used that fix before. But after latest updates I encounter a strange text problem with just that specific fix. Its really strange and it “spills over” to other functions when using CSS-optimize. I really cant say why just the “display” is causing this in the Meta Slider for me. Very strange.

    You can read all about that here: https://ww.wp.xz.cn/support/topic/optimize-ccs-version-194?replies=21

    So for now i use:

    .metaslider .caption-wrap {
        position: absolute;
        bottom: 0;
        left: 0;
        background: #ffffff !important;
        color: #ffffff !important;
        opacity: 0 !important;
        margin: 0;
        display: block;
        width: 100%;
        line-height: 1px !important;
    }

    So I still hope this control can be implemented in the setting in the future.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hide caption’ is closed to new replies.