How can I add a main background image (not hero banner image) to my help center?

1 Commentaires

  • Pulkit Pandey
    Community Moderator

    Hi Ken Weaver

    Please follow the following process to add  a background image wherever you want to add 

    1. Pick a class of the element on which you want to add a background image.

    eg. Here I select an element with class .bg-image you can select your own class where you want to add a background-image 

    2. Go to the assets folder and select your image which you want to use 

      Copy the following code under the highlighted area on the image below

    3. After the copy, the above code please open style.css file and write the following code at the end of your style.css file to add a background image using the class we select on the first step 

    .bg-image {
    background-image:url($assets-train-tracks-1-1024x680-jpg);// Here the item being bold is replaced by the code you have copied from the assets folder as described in step 2
    height:100%;
    }

    Please let me know if you have any issue 

    Regards 

    Pulkit

    Team Diziana

    0

Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk