WordPress.org

Ready to get started?Download WordPress

Forums

How to use two backgrounds in this theme? (5 posts)

  1. girlsofmizz
    Member
    Posted 2 years ago #

    I am using the Colourise Theme http://www.themelab.com/2008/04/01/colourise-free-wordpress-theme-38/

    I want to keep the image background as the top photo, but want to add a seamless tiled background too. Is that possible, please help. Thank You

    Below is what is standard in the Colourise Theme.

    body {
    font: 11px/165% ‘Lucida Grande’, Geneva, Verdana, Arial, Helvetica, sans-serif;
    color: #FFFFFF;
    margin: 0; padding: 0;
    background: #070707 url(images/bg.jpg) no-repeat center top;
    text-align: center;
    }

  2. girlsofmizz
    Member
    Posted 2 years ago #

    I need help with this. Someone please help.

    Sara

  3. bheadrick
    Member
    Posted 2 years ago #

    sure, with css3, you can stack multiple backgrounds by separating them with commas, so you'd do something like this:

    body {
    font: 11px/165% ‘Lucida Grande’, Geneva, Verdana, Arial, Helvetica, sans-serif;
    color: #FFFFFF;
    margin: 0; padding: 0;
    background: #070707 url(images/bg.jpg) no-repeat center top, url(images/bg2.jpg;
    text-align: center;
    }

    this isn't supported by Older versions of IE (prior to 9) and older versions of Firefox, but if you include the following jquery library in your header, it is supported.
    <script type="text/javascript" src="jquery.multiple-bgs.js"></script>

  4. Ironic_8b49
    Member
    Posted 2 years ago #

    On one of my site I use Twenty Eleven 1.2 and to easily change backgrounds I used a plug-in called WP Background Tile

  5. girlsofmizz
    Member
    Posted 2 years ago #

    It didn't work, it moved everything to adjust left and no backgrounds and turned the text back to regular typing style text.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.