Siteskin using CSS (Blogger)

Discussion in 'CSS' started by psydex, Sep 10, 2012.

  1. #1
    I'm trying to add a background image which will lead to a link (kinda like siteskin ad) but i keep failing!
    This is what i'm currently trying:

    body{
    background: #161616 url(http://goo.gl/M8VuI) center no-repeat fixed;
    }
    Code (markup):
    But this is just the background image without the link.
    Plus everytime i paste the code above - my featured content slider stops working!
    Here's the templ. that contains the whole code part. (too big to attach it) Link.
    I will be grateful if someone help me asap! Thanks

    PS: I'm using Blogger!
    PSx2: Not sure if i'm allowed to post a link to my blog.
     
    Last edited: Sep 10, 2012
    psydex, Sep 10, 2012 IP
  2. MarkTheUser

    MarkTheUser Member

    Messages:
    206
    Likes Received:
    0
    Best Answers:
    4
    Trophy Points:
    26
    #2
    you cant add an image in css and have it linked you will need to do it in html.. <a href="LINK"><img class="img1" src="IMAGE SOURCE" /></a> this way the whole image will be the link and then you can move it around with css by calling the .img1 class and do whatever you want with it.
     
    MarkTheUser, Sep 10, 2012 IP
  3. psydex

    psydex Greenhorn

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    I've tried many methods that i found in google and involve both HTML and CSS but couldn't manage 'em to work. I'm a huge noob in coding (i know only basic stuff) , so if it's not that much of a hastle for you , could you drop me step-by-step what to do? Thanks.

    Reminder: The whole template of my blog is attached above - that should help.
     
    psydex, Sep 10, 2012 IP
  4. psydex

    psydex Greenhorn

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    I DID IT!! (well with a help from a friend) but we did it!!
     
    psydex, Sep 10, 2012 IP
  5. luizeba

    luizeba Active Member

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Couldn't you post it here? :(
     
    luizeba, Mar 1, 2013 IP