Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #831805

    Hi,

    On my website I’m trying to let a image scaling with the same amount as the background-image scales. See the private part for a link. It’s the triangle beneath the menu. How can I let this scale so that it match the background, or change the scaling of the background, that’s also fine off course.

    Regards,

    Erwin

    #832463

    Hey Erwin,

    There is no link attached, could you please post the link again?

    Best regards,
    Victoria

    #832473

    Hi Victoria,

    Sorry, the link is in the private part.

    Regards,

    Erwin

    #833156

    Hi,

    Thanks for that. I don’t think there is an easy way to achieve that unfortunately. You could try to use media queries though to set a width for each query interval. For instance for phone, tablets etc. Would that work do you think?

    Best regards,
    Rikard

    #833518

    Hi,

    That could work for me. Can you help me with that? I’m having problems with the size of the background. It seems that I can’t change this with css. Also noticing that the triangle creates a margin-top when in responsive mode. If you can help me with those two items, I would be thankful.

    Regards,

    Erwin

    #833761

    Hi Erwin,

    We can give you an example, though you probably need to add several media queries and more arguments to the CSS:

    @media only screen and (max-width: 767px) {
    #vrouwgras .avia_image {
      max-width:50%;
    }
    }

    Best regards,
    Rikard

    #833782

    Hi Rikard,
    Created some more arguments and it’s working good enough.

    Thank you.

    Regards,

    Erwin

    • This reply was modified 7 years, 3 months ago by Erwin.
    #834197

    Hi Erwin,

    Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #834228

    Hi Rikard,

    You can close the topic.

    Regards,

    Erwin

    #834656

    Hi Erwin,

    Great, thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘responsive image scaling’ is closed to new replies.