• Resolved igorchu

    (@igorchu)


    Hey,

    I’ve recently added your plugin to a website I’m working on and I’m loving it.
    I am having a problem while trying to make caption scrollable (it is too long on some devices when images get smaller and I’d rather not shorten it).
    Is it possible to make it work?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author rameez_iqbal

    (@rameez_iqbal)

    Hi, Please provide me url and I will give you custom css to control it.

    Regards

    Plugin Author rameez_iqbal

    (@rameez_iqbal)

    Hi, Please paste following css in custom css box

    @media only screen and (max-width:980px){
    	.ich-prefix [class*='col-'] {
    	    width: 50% !important;
    	    float: left !important;
    	    margin-left: 0px;
    	    margin-right: 0px;
    	    margin-top: 0 !important;
    	    margin-bottom: 0 !important;
    	    padding-left: 0px;
    	    padding-right: 10px;
    	}
    }
    @media only screen and (max-width:768px){
    	.ich-prefix [class*='col-'] {
    	    width: 100% !important;
    	    float: none !important;
    	    margin-left: 5px;
    	    margin-right: 5px;
    	    margin-top: 5 !important;
    	    margin-bottom: 0 !important;
    	    padding-left: 0px;
    	    padding-right: 0px;
    	}
    }

    Please also remove the class opis from p tags

    Regards

    Thread Starter igorchu

    (@igorchu)

    Thank you but I was rather thinking of using the overflow property.
    Your solution makes it so that there’s only 1 column on tablets and it doesn’t look good with low quality photos that I use.

    Regards

    Plugin Author rameez_iqbal

    (@rameez_iqbal)

    Hi, Please try this code

    .image-caption-box .centered-text {
        overflow-y: scroll;
        max-height: 368px;
        display: block !important;
    }
    Thread Starter igorchu

    (@igorchu)

    Works perfectly. Thank you a lot.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Scrollable Captions’ is closed to new replies.