Creating a class and applying to page

0
I'd like assistance with creating an SCSS class that calls an image to use as a background image in a container widget. I'm having trouble with the steps involved. I'm running version 10.9 and would appreciate any tips or tricks to help me develop my knowledge.   /file?guid=19703248379639941 /file?guid=19703248379640190 /file?guid=19703248379640294
asked
1 answers
0

Hi Miguel Figueroa,

Add Static Image to the page and add custom class in the styling properties Now create a class with the same name and add the code similar to the below code 

.custombackground-image{

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-attachment: fixed;

 

}

Please adjust the properties as for the requirements.

answered