Full background image in Service Portal

gomathyshankar
Tera Contributor

Hi,

I am trying to add a background image in Service portal but the entire image is not coming only half the image is coming.Could some please help me.

I am getting this now

find_real_file.png

But I want below mentioned entire image in the container

find_real_file.png

15 REPLIES 15

Hi Blaze,

I have the same requirement but for container-based only. Is it possible to set a dynamic background image on the container. 

Thanks

Vivek

 

Volker Gr_tzing
Kilo Contributor



  background-image: url('CHANGE THIS');

yes. Thx for sharing. Change it to what?



If I change it to something which doesn't exist and I apply a different colour in HEX then I get this 

find_real_file.pngfind_real_file.png

Hi Volker,

Change it to the name of your image. Example: background-image: url('sp-landing-back.jpg'). This should be an image already uploaded in System Ui > Images.

The hex color is a fallback for when there is no image or when the image is taking too long to load.

Vishal Khandve
Kilo Sage

Hi,

 you can use background image in full view.

 

code:

section.page {
//background-color: $sp-homepage-bg;
background-image: url(homepage_bkgd.jpgx);
background-repeat: no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-position: center center;
}
section.page, main.body {
padding-top: 0px !important;
}

Please refer below link:

https://www.cernasolutions.com/add-background-image-homepage/

 

Thanks,

Vishal

Hi Vishal,

I did the same and it worked fine for me. But when i want to change the background again then the image first uploaded remains the same . it is not changing another image.

 

In image , i deleted the image and created one more image there but still it is not changing on my portal instead it shows the last uploaded image on portal.

find_real_file.png

css

====

find_real_file.png

 

image

----------

find_real_file.png

 

i want to change this logo but not changing. Please suggest.