Thumbnail caption wider than thumbnail?
-
Hello, I would like my thumbnail captions to run wider than my thumbnail width. Currently I can't do this, as the caption width is defined by the image width.
Here's a screenshot of I am trying to do.
Is it possible somehow? Any suggestions would be much appreciated!
-
Dear @billykioso
This is for sure possible with some CSS Added within 'Lay Options - Custom CSS & HTML"
Are you able to post a link to your website with example thumbnails? & i will do my best to give you some code relating to your situation :)
Best wishes
Richard -
Hello Richard, many thanks, here is the link.
http://test.clarechapman.com/studiosyn-3I have added my comments to the page, in blue.
-
Dear @billykioso
Not the most beautiful solution, but let me know if it works for you! :
.lay-textformat-parent.below-image { width: 200%; margin-left: -50%; }
You can change the values to suit your needs - also: this will apply across the whole page - you may wish to be more specific with what you target
Best wishes & have a wonderful day
Richard -
@Richard-K said in Thumbnail caption wider than thumbnail?:
.lay-textformat-parent.below-image {
width: 200%;
margin-left: -50%;
}I don't entirely understand how it works, but I've gone for:
width: 300%
margin-left: -100%
...which seems to work just fine!Thank you!
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it