Results 1 to 5 of 5

Thread: CSS Styling

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    6

    CSS Styling

    Hi,

    I'm trying to change the style css for the button - I want to make buttons of higher resolution and different colours.
    I can use custom.css to put my own images in base64 instead of the ones in the 854b4eb.css on your site but I have to use !important to overwrite each one (and because of that it doesn't work properly).

    is there any way to host the 854b4eb.css on my own site instead ?

    Cheers,
    Dan.


  2. #2
    Junior Member
    Join Date
    Jan 2014
    Posts
    6
    Basically, I'd like to load the heart image from my own CDN and have it cached by the client pc instead of it having to reload the base64 image on each page.

    http://stackoverflow.com/questions/1...han-just-linki


  3. #3
    Admin LikeBtn's Avatar
    Join Date
    Sep 2011
    Posts
    320
    Wrap the Like Button into container with specific id and use it in CSS:

    #my_div .lb-style-white .lb-like-icon {
    background-image: url("http://your-cdn/image.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    }


  4. #4
    Junior Member
    Join Date
    Jan 2014
    Posts
    6
    Thanks! I managed to get the image from my own source, but the bulk of the loading time for my pages still seem to be taken by the widget calling w.likebtn.com (over 25 times - number of buttons)

    You can see here the Google Dev Tools screenshot: http://imgur.com/azxCk6e

    Any suggestions how I can avoid that?

    Thanks.


  5. #5

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •