Results 1 to 1 of 1

Thread: Background images to create different textures across the page

  1. #1
    User Carolina's Avatar
    Join Date
    09-05-12.
    Location
    London
    Posts
    99

    Default Background images to create different textures across the page

    Hi:

    I'd like to add background images to different sections of the website, like they do here: taylorswift.com.

    I'd like if someone could explain me where to start, as my attempts didn't look good, because I'm not sure what sections to target so the image sometimes show, sometimes doesn't.

    For example: I've created a div background-intro below the introductory paragraph in the homepage, but if I place an image there it doesn't show.

    Another example is that if I want to target the footer, for the image to cover all of it I have to write:

    #footer {
    background: #ebebeb url(light-blue-wall-2.png) repeat;
    }

    #footer .inside {
    background: #ebebeb url(light-blue-wall-2.png) repeat;
    }

    #footer .inside .footer .ce_text {
    background: #ebebeb url(light-blue-wall-2.png) repeat;
    }

    Is there a way where I can write something more efficient?

    Ah! Here's the website: assembly21.com

    Thanks!
    Last edited by Carolina; 05/08/2015 at 16:56.
    Carolina

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •