1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Changing the background in a Blogger template

Discussion in 'Blogging' started by sportsguru, Jan 11, 2005.

  1. #1
    I know html fairly well, but don't know JavaScript. When I went into the template code to edit the background image there the page would not render properly - the new background would not work.

    Can someone please do a view source of my blog and give me the code for changing the background image? My blog URL is:
    http://www.dish-network-satellite-tv.ws/blog/blog.html
     
    sportsguru, Jan 11, 2005 IP
  2. Such Great Heights

    Such Great Heights Peon

    Messages:
    715
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    http://www.blogblog.com/dots_dark/bg_minidots.gif <-- this is your background image.

    You can change it in the first part of your CSS. Within the Body Tag.
    Code (Text):
    1. <style type="text/css">
    2. /*
    3. -----------------------------------------------
    4. Blogger Template Style
    5. Name:     Dots Dark
    6. Designer: Douglas Bowman
    7. URL:      www.stopdesign.com
    8. Date:     27 Feb 2004
    9. ----------------------------------------------- */
    10.  
    11.  
    12. body {
    13.   background:#123 url("http://www.blogblog.com/dots_dark/bg_minidots.gif") 50% 0;
    14.   margin:0;
    15.   padding:0 10px;
    16.   text-align:center;
    17.   font:x-small Verdana,Arial,Sans-serif;
    18.   color:#abc;
    19.   font-size/* */:/**/small;
    20.   font-size: /**/small;
    21.   }
     
    Such Great Heights, Jan 11, 2005 IP
  3. sportsguru

    sportsguru Peon

    Messages:
    86
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    :D Thanks for the help! BTW, just wanted to say that it says it is OK to customize these Blogger templates all you want...

    Also, that IS what I changed before and it wouldn't work. The part where it says #123 never saw that before.....
     
    sportsguru, Jan 11, 2005 IP