Jump to content


Photo

Center Social Icons


Best Answer Rob , 18 August 2012 - 07:01 PM

That's the wrong CSS.

Try this:

 .icons {
	    height: 24px;
	    line-height: 20px;
	    margin-right: 450px;
	    position: absolute;
	    text-align: right;
	}

Adjust the 450px to your own specifications. Go to the full post


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

#1 robbienorris

robbienorris

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts

Posted 18 August 2012 - 06:42 PM

In firebug, I can successfully center my icons by changing these values:
 element.style {
	    bottom: 21px;
	    right: 1px;
	}

However, when I copy and past that to custom CSS, nothing happens. Do I need to use an additional selector?

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts

Posted 18 August 2012 - 07:01 PM   Best Answer

That's the wrong CSS.

Try this:
 .icons {
	    height: 24px;
	    line-height: 20px;
	    margin-right: 450px;
	    position: absolute;
	    text-align: right;
	}

Adjust the 450px to your own specifications.