WordPress.org

Ready to get started?Download WordPress

Forums

Background on either side! (9 posts)

  1. Mike039
    Member
    Posted 1 year ago #

    Hi,

    I would like to know how set up a background that features an image on either side of the page. Is this something controlled by the width/dimensions of the background. If so how would I find this out

    Thanks

    Mike

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Which theme are you using?

  3. Mike039
    Member
    Posted 1 year ago #

    Hi,

    Theme I'm using is Elbee Elgee

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Can you post a link to your site and more details about how you want to page to look (i.e. how wide are the images that you want to show on the sides)?

  5. Mike039
    Member
    Posted 1 year ago #

    I don't have a live site as of yet, I'm just planning the process. The images would be about 194 pixel wide. At this stage it really just the method I'm interested in.

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    A background image instead of the grey http://wordpress.org/extend/themes/elbee-elgee behind the website?

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Okay, the basics would be to put the image(s) in the background of the body tags using CSS:

    http://www.w3schools.com/css/css_background.asp

    And to create enough of a margin around the page -- so that the images show.

    It gets trickier if you have a flexible width (responsive) theme -- looks like yours can be either fixed or flexible? What are you thinking on that?

    One way to get around that is to put another wrapper around the whole site -- put the background images in there and create a fixed width margin between the wrapper and the site page/wrapper. It's kind of hard to explain in words...hope this makes some sense.

  8. Mike039
    Member
    Posted 1 year ago #

    Yes a different image on either side. examples here:

    http://www.flashgames247.com/

  9. Mike039
    Member
    Posted 1 year ago #

    Ok I will give that a go and get back to you.

    Thanks for the help

Topic Closed

This topic has been closed to new replies.

About this Topic