Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wpgeekde

    (@wpgeekde)

    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 5 years, 5 months ago by wpgeekde.
    • This reply was modified 5 years, 5 months ago by wpgeekde.
    • This reply was modified 5 years, 5 months ago by wpgeekde.
    Thread Starter wpgeekde

    (@wpgeekde)

    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 5 years, 5 months ago by wpgeekde.
    • This reply was modified 5 years, 5 months ago by wpgeekde.
    • This reply was modified 5 years, 5 months ago by wpgeekde.
Viewing 2 replies - 1 through 2 (of 2 total)