Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
DaveO31

Fix overflowing bounding box on slideshow block

Recommended Posts

I was able to get meta data for my slideshow images - the title and description - to display on mobile devices by using this code (thanks to a fellow forum member for this):

@media screen and (max-width:768px) {
	.sqs-gallery-block-slideshow .meta {
    	display: block !important;
  		overflow: hidden !important;

		/* i added this to keep the text within the contraints of the container */
  		max-width: none !important;
  		height: auto !important;
  		width: auto !important;
 		 min-width: 50%;
  		white-space: normal !important;
	}
	.meta-title {
    	font-size: 20px !Important;
	}
	.meta-description * {
    	font-size: 10px !important;
	}
  	.sqs-gallery-meta-container {
    	display: none;
  	}
}

But I'm running into an issue with the bounding box spilling outside of the image container or the container block. I'm not exactly sure. I would like to contain the text within the image (even expanding the image size). Or cause the text to overflow into ellipsis. I tried using

 text-overflow: ellipsis

to no effect. Maybe I'm using it wrong?

Thanks,

bounding-box.PNG

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...