WordPress.org

Ready to get started?Download WordPress

Forums

Piano black background image (8 posts)

  1. Robertooo
    Member
    Posted 1 year ago #

    Hello!

    Could somebody help me? I'd like to change the basic background of piano black theme but I don't know how. I'd like set an image instead of it.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Is there an option through the dashboard in Appearance > Themes - Customise ?

  3. Robertooo
    Member
    Posted 1 year ago #

    I can't findt that, there's only logo file and not background image. But I 'd like to change especially the left and right side of the theme.

    For e.g.http://i1125.photobucket.com/albums/l595/Atomantiii/piano.jpg

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Is there a section of the dashboard named, 'Custom Styles' or 'Custom CSS', or something similar?

  5. Robertooo
    Member
    Posted 1 year ago #

    There's a style.css. Perhaps it contains this background information?

    ....
    /* ------ layout ------------------------ */

    #wrapper { background:url(img/back2.png) no-repeat center top; }
    #contents { width:959px; margin:0 auto; text-align:left; }
    #header { background:url(img/top.png) no-repeat bottom; height:160px; }
    #middle-contents { background:url(img/side.png) repeat-y; padding-bottom:50px; }
    #left-col { float:left; display:inline; width:584px; margin:0 0 0 5px; }
    #right-col { float:right; display:inline; width:330px; margin:70px 5px 0 0; }
    #footer { background:url(img/bottom.png) no-repeat top; height:114px; margin-bottom:50px; }
    ....

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    You ought to refrain from modifying a theme's original files, as any changes made will erase once the theme updates.

    Your easiest option is to use a Custom Style/CSS plugin, whereby you activate the plugin and enter CSS in the area allocated.

    Another option, less easy, is to use a Child Theme, which contains another style.css file for CSS, but you can make greater modifications to everything else as well.

  7. Robertooo
    Member
    Posted 1 year ago #

    Thanks, I'll try this plugin.

  8. Robertooo
    Member
    Posted 1 year ago #

    I know the correct answer:

    I've modified this in style.css:

    body { margin:0; padding:0; background:url(img/back1.gif);

    Modified version:
    body { margin:0; padding:0; background:url(your background file.jpg);
    background-repeat:repeat;
    background-attachment:fixed; }

Topic Closed

This topic has been closed to new replies.

About this Topic