• rgedit

    (@rgedit)


    hi guys

    I always wanted to add this sort of background on my WP website:
    https://imagebin.org/182255

    you know you have the content in the middle and you have two sides of the white area, i want to know how can I add an image to each side and the images stay still while scrolling up and down.

    any help is much appreciated.

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Canha

    (@xcakeblogs)

    The simplest (and fastest way) would be to create an image just like that; white background with the width of your content area and an image on both sides.

    Don’t make it too wide or too high as it will take longer to download.

    If you are using the default theme on WordPress, there should be an option to upload the background and setting it to “fixed scrolling”. If you are using CSS, just find the “body” code and add the following to it:

    background-image: url("url_of_image"); background-repeat: no-repeat; background-attachment: fixed;

    If this helps you, please let us know and mark this post as “Solved”.

    Cheers.

    Thread Starter rgedit

    (@rgedit)

    hi Sean

    How do I know what size should be the image? Because you are write, if I make it large, it will be longer to load.

    I am not using default theme, I am using comfy theme, where is the option to upload and where is the settings?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to add image to WP background main page….’ is closed to new replies.