Plugin Author
Brecht
(@brechtvds)
Can you give me a link to a page with this problem?
If you want things to be responsive you’d use something like this in your CSS:
width: 100%;
max-width: 500px;
Thanks Brecht. The solution was a mix out of 2 things:
1) I thought I need to set 100% as the max-width and not the width like you mentioned correct
2) I needed to set the width:100px for “.vlp-link-container”. The issue was, that “.vlp-link-container” wasn’t defined in my css, that’s why all my attemps before failed.
Is the “.vlp-link-container” in your default css? If not it makes maybe sense to add it with the width:100% !?
-
This reply was modified 6 years, 6 months ago by
wpgeekde.
-
This reply was modified 6 years, 6 months ago by
wpgeekde.
-
This reply was modified 6 years, 6 months ago by
wpgeekde.
Plugin Author
Brecht
(@brechtvds)
It’s a div block element which defaults to width 100%. It’s possible your theme is overriding that.
But happy to hear you got things working!
I wasn’t 100% correct…. don’t know why, but suddenly it wasn’t working.
Here are now the working css parts, the bold ones I added:
.vlp-link-image img{max-width:500px;width:100%;margin-right:10px;margin-bottom:10px}.
.vlp-link-container{width:auto}
with:100% for link-container isn’t working, auto is needed here. This is working in Firefox and Chrome (others I haven’t tested).
Hope this helpes others with the same issue.
-
This reply was modified 6 years, 6 months ago by
wpgeekde.
-
This reply was modified 6 years, 6 months ago by
wpgeekde.
-
This reply was modified 6 years, 6 months ago by
wpgeekde.