Jump to content


Photo
- - - - -
Resolved

How To Change Social Icons Opacity



This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1 storm09

storm09

    Advanced Member

  • Members
  • 96 posts

Posted 20 November 2012 - 10:56 AM

Hi

How can I change the opacity of the social icons so they display 'bright' all the time, instead of the default setting which is set to on rollover only?
My website background is black and they're a little hard to see for first time viewers.

Thanks

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts

Posted 20 November 2012 - 03:37 PM

You’ll need to use Custom CSS (in Site Options > Custom Code > Custom CSS). The style of a page element consists of two parts: the selector and the attribute.

Selector: Used to select the page element you want to change (in this case, the page element you want to change is your social icon link).
Attribute: Property that determines what kind of change you want (you’re changing the opacity, so the attribute you want to use is opacity).

To find the selector for the social icon link, you'll need to use Firebug (or Chrome Development tools). To learn how to use Firebug for CSS customizations, please read and follow these instructions:

Please Login or Register to see this Hidden Content



For help with the opacity attribute, please see these instructions:
http://www.w3schools.com/css/css_image_transparency.asp.

#3 storm09

storm09

    Advanced Member

  • Members
  • 96 posts

Posted 21 November 2012 - 02:30 AM

Hi Cat

My site is

Please Login or Register to see this Hidden Content

(please turn your volume down because there's a loud-ish video set to autoplay)

I changed the opacity to 1 using Firebug. Cut & Pasted this into Custom CSS. No love. What am I missing?

<a class="twitterlink" href="

Please Login or Register to see this Hidden Content

target="_blank" style="opacity: 1;">
<img alt="Twitter" src="

Please Login or Register to see this Hidden Content


</a>
<a class="facebooklink" href="

Please Login or Register to see this Hidden Content

target="_blank" style="opacity: 1;">

#4 James B

James B

    Advocate

  • Members

  • 5126 posts

Posted 21 November 2012 - 03:10 AM

Hi there, it looks like the code above is Html not Css. Css usually appears in the right hand window in firebug, html on the left.

I've pasted the css in below for you

Please Login or Register to see this Hidden Content



#5 storm09

storm09

    Advanced Member

  • Members
  • 96 posts

Posted 21 November 2012 - 03:18 AM

Brilliant! Thanks for the heads up solution James. Much appreciated. Cheers :)

#6 James B

James B

    Advocate

  • Members

  • 5126 posts

Posted 21 November 2012 - 03:20 AM

You're welcome :-)

#7 James B

James B

    Advocate

  • Members

  • 5126 posts

Posted 21 November 2012 - 03:20 AM

The topic was marked as resolved.