XF 2.2 css image path

webtiryaki

Active member
Hello, I'm trying to pull the image in the images folder with css, it doesn't work, where am I making a mistake?

CSS:
.saas_banner_area {
  height: 1075px;
  padding-top: 230px;
  background-image: -moz-linear-gradient(
    170deg,
    #4f40ff 0%,
    #25ddf5 65%,
    #11bdff 100%
  );
  background-image: -webkit-linear-gradient(
    170deg,
    #4f40ff 0%,
    #25ddf5 65%,
    #11bdff 100%
  );
  background-image: -ms-linear-gradient(
    170deg,
    #4f40ff 0%,
    #25ddf5 65%,
    #11bdff 100%
  );
  overflow: hidden;
  position: relative;
  &:before {
    background-image: url("styles/Webtiryaki/alaturka/saas-shap.png") no-repeat scroll bottom;
    content: "";
    width: 100%;
    height: 410px;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}
 
What the hell are you trying to do? :)
I don't see any images folder in your CSS.

What I do see though are vendor-prefixed (only!) gradients; gradients are supported without prefix since ages ...
 
What the hell are you trying to do? :)
I don't see any images folder in your CSS.

What I do see though are vendor-prefixed (only!) gradients; gradients are supported without prefix since ages ...
Hello, the picture normal in the area I marked in the picture is like this
background: url("[URL]https://i.ibb.co/25HDvRW/saas-shap.png[/URL]") no-repeat scroll bottom;
I want to pull this from the theme folder as /xf/styles/default/xenforo/saas-shap.png I'm trying to learn the logic of this?

img-alaturka.png
 
Back
Top Bottom