a solution for fb and twitter buttons for indexhibit v2

arsondpi / 2012-09-12 07:16:45   

I posted this in a Legacy thread but this is for V.2
Anyhow here's a solution for fb and twitter buttons for indexhibit v2:

the HTML: snipplr.com/view/67162/a-solution-for-fb-and-twitter-for-indexhibit-v2/

and then in your style.css you can manipulate this as you like - for example:

  1. .facebook {
  2.      background-color: #FFFF00;
  3.      background-image: url('INSERT_YOUR_IMAGE_ICON_URL');
  4.      display: block;
  5.      height: 30px;
  6.      text-indent: -9999px;
  7.      width: 30px;
  8. }
  9. .twitter {
  10.      background-color: #FFFF00;
  11.      background-image: url('INSERT_YOUR_IMAGE_ICON_URL');
  12.      display: block;
  13.      height: 30px;
  14.      text-indent: -9999px;
  15.      width: 30px;
  16. }
altazorc / 2013-04-19 19:12:43   

Thank but, where should I place this code?

arsondpi / 2013-04-19 20:34:01   

Either in a text area box or in an appropriate spot of the index.php of your theme.

blighty / 2013-05-22 16:00:31   

Hi

I've created a wrangler text file and copied the HTML into it and saved in index.php on my FTP but it's not showing on my site.

Do I need to add this to the back end of my studio?

Thanks

arsondpi / 2013-05-22 16:07:06   

Why all this? copy for the site above and paste to any text area that allows html.
Add the css and you're ready.

blighty / 2013-05-22 16:24:42   

Sorry, I thought I had to create a text box and put into php.

So how do I know exactly which area allows HTML?

arsondpi / 2013-05-23 10:17:36   

pre nav, post nav, text boxes, caption boxes allow html... Plus you can insert it anywhere in the index.php of your site and move it around with css.

linuesa / 2013-05-23 17:08:04   

you're the master!

blighty / 2013-05-23 18:03:21   

Okay many thanks.

plocploc / 2014-03-05 12:57:07   

Hello

Sorry but I can't manage to show the FB icon ?

What should I do ?

I'll try with a url but it doesn't show up

Thanks

arsondpi / 2014-03-05 16:14:20   

You need to fill the background-image: url('INSERT_YOUR_IMAGE_ICON_URL'); attribute.

plocploc / 2014-03-05 17:38:51   

Sorry my question wasn't accurate enough

I had try to fill the " background-image: url('INSERT_YOUR_IMAGE_ICON_URL'); attribute." with an url leading to an icon but the icon wasn't shown

I thought it would be possible to write something like "image src = /gimps..." ?
I have tried but with no success

Thanks for helping

arsondpi / 2014-03-05 20:06:54   

but the image you've set as a background is huge (1200px X 1207px)
The css attribute has a width and a height of 30px
Change the image and the width/height of .facebook accordingly

This thread has been closed, thank you.