• Hello,
    I’m a wordpress beginner, so go easy on me ??
    I’m trying to figure out how to make a color section with a background picture not zooming in the picture drastically . The size of the image is the same size as the widht of the content wrapper, but when I set the height of the section to the same size as the image it scales up. I dont want that effect. Is it possible to bypass it in anyway?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Do you have a link?

    Thread Starter amplifi3d

    (@amplifi3d)

    I dont know if it’s accessable::
    https://new.blanksfastigheter.se/om-oss/

    Could also mention that I use the Enfold theme.

    If the link doesn’t work check out this print screen:
    https://prntscr.com/aotbon

    As you can the height of the image to match the content wrapper is too small, it’s about 150 px and the original image size is about 800 px. When I set the custom height of the section the image stretches:

    https://prntscr.com/aotcp7

    There will be something in your CSS but I cannot access via that link.

    It will be dictating the height and the background-size so I cant really help at the moment i’m afraid

    Thread Starter amplifi3d

    (@amplifi3d)

    I used firebug and I found this

    element.style {
    height: 983px;
    top: auto;
    transform: translate3d(0px, 174px, 0px);

    Even if the “section minimum height” is set to a custom pixel (809 px) the height of the element is 983 px. If I change this to the correct value the image size is OK, but the translate3d is set to 174px from the top (for some reason) and that makes a white boarder at the top.

    Is there anyway to bypass this?

    Its a difficult one as to properly take a look I would need to see the site live/test domain so that I can look at it through my dev tools and see if any other css is causing the issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Color section zoom’ is closed to new replies.