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
Hey Erwin,
There is no link attached, could you please post the link again?
Best regards,
Victoria
Hi Victoria,
Sorry, the link is in the private part.
Regards,
Erwin
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
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
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
Hi Rikard,
Created some more arguments and it’s working good enough.
Thank you.
Regards,
Erwin
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
Hi Rikard,
You can close the topic.
Regards,
Erwin