Remove cover or change, blogger

Asked

Viewed 35 times

0

Hello, I’m having a problem with the blogger I’m doing for college, I wanted to remove this part see that written the name of the site, or if possible change to a cover of my.

she is related here:

#hen{background-color: #c82de5; background-image: linear-gradient(to bottom, #c82de5, #67ad96); display: block; padding:100px 0px; position: relative; width: 100%;}
  • In the display:block swap the block for None

  • now came out, perfect, but to add an image would be like?

1 answer

1


Both things are possible, make invisible or change the background to an image.

To make invisible change the value of the property display of CSS for none.

#hen{
    background-color: #c82de5; 
    background-image: linear-gradient(to bottom, #c82de5, #67ad96); 
    display: none; 
    padding: 100px 0px; 
    position: relative; 
    width: 100%;
}

To change the background to an image would be the code below changing IMAGE URL, by the image link:

#hen{
    background-color: #c82de5; 
    background-image: url("URL DA IMAGEM");
    display: block; 
    padding: 100px 0px; 
    position: relative; 
    width: 100%;
}

To leave the background image 100% would look like this:

#hen{
    background-color: #c82de5; 
    background-image: url("URL DA IMAGEM");
    background-size: 100% 100%;
    display: block; 
    padding: 100px 0px; 
    position: relative; 
    width: 100%;
}
  • Perfect Peter, thank you very much.

  • It would have to leave the image 100% ?

  • I made a modification to the answer you want. Just use the property background-size.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.