WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] making background fixed (5 posts)

  1. envoyer
    Member
    Posted 1 year ago #

    How can I make my background fixed so that when scrolling down, only the blog posts move but the background stays where it is? I once was able to click an option to do this but since moving from a free wordpress blog to wordpress.org I don't seem to be able to find that option anymore. My site is http://www.candlelitlife.com. Any help would be appreciated, thanks!

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    if there is no option, you might need to edit style.css of your theme;

    and add background-attachment: fixed; to the style of body

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

  3. envoyer
    Member
    Posted 1 year ago #

    Thanks so much for your reply, I am just having a hard time figuring out exactly where to find where to add that, sorry I am totally new to blogging and css, think you can point me in the right direction? Thanks!

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    http://codex.wordpress.org/Editing_Files

    dashboard - appearance - editor: style.css

    near the beginning;
    the existing style is:

    body { margin:0; padding:0; background:url(http://candlelitlife.com/wp-content/uploads/2012/07/tealdots-0034-e1343705649962.jpg);
           font-family: Arial, Helvetica, sans-serif;
           font-size:12px; color:#b8babb; text-align:center; }
  5. envoyer
    Member
    Posted 1 year ago #

    sorry I have found out what to do now. I just added the word "fixed" after my back URL. Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic