1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

putting a special touch in my website

Discussion in 'BlackHat Lounge' started by CeaseFireBlack, Apr 16, 2016.

  1. CeaseFireBlack

    CeaseFireBlack Regular Member

    Joined:
    Jun 10, 2015
    Messages:
    425
    Likes Received:
    154
    long story short, when someone visits my website and scroll down, he will face this button http://imgur.com/f57vU2L
    i want to replace that button with a small photo that will do same functionality, is that possible ?
     
  2. Conor

    Conor Elite Member

    Joined:
    Nov 7, 2012
    Messages:
    3,577
    Likes Received:
    5,954
    Gender:
    Male
    Location:
    South Africa
    Home Page:
    Code:
    .buttonclass {
    background-image: url("http://link-to-photo.jpg");
    }
    
     
    • Thanks Thanks x 2
  3. CeaseFireBlack

    CeaseFireBlack Regular Member

    Joined:
    Jun 10, 2015
    Messages:
    425
    Likes Received:
    154
    your code didnt really work for me but it put on the right track to find what i need, instead of .button
    class it was a.button
     
  4. Conor

    Conor Elite Member

    Joined:
    Nov 7, 2012
    Messages:
    3,577
    Likes Received:
    5,954
    Gender:
    Male
    Location:
    South Africa
    Home Page:
    Well yes, obviously not every button has the same class. It was supposed to be replaced. Good job for getting it working.
     
    • Thanks Thanks x 1