Jump to content
JoeDer

Αλλαγή του background σε εικόνα

Recommended Posts

JoeDer

Για να ορίσουμε μια εικόνα ως backgrouns κάνουμε τα εξής.

 

Ανοίγουμε το custom.css (ACP  >  Customization  >  Themes  >  Default  >  Edit HTML and CSS  >  CSS Tab  >  core  >  front  >  custom  >  custom.css)

Προσθέτουμε:

body
{
  background: url(http://www.to_url_pros_tin/eikona.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#ipsLayout_header header {
    background: transparent;
}

Το αποτέλεσμα θα έχει ως εξής:

background_image.thumb.png.1e2fc4d3b3851

Edited by JoeDer

Share this post


Link to post
Share on other sites
Σχολιάστε εποικοδομητικά

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. | Terms of Use