Support » Themes and Templates » Center Sociable Icons

Viewing 8 replies - 1 through 8 (of 8 total)
  • A) <div class=”sociable” align=”center”>

    B) #main ul li
    {
    padding-left:18px;
    padding-bottom:5px;
    background:url(img/arrow.gif) no-repeat left 2px;
    }

    Thank you very much. It worked! 😀

    You are most welcome!

    You should not use align=”center”. All align attributes are depricated in the HTML4 specification and are illegal in the XHTML 1 specifications.

    Instead, open the sociable.css stylesheet in wp-content/plugins/sociable and find the declaration for div.sociable.

    Add to that this line of CSS:
    text-align: center;

    To remove an icon, log in to WP admin, click Settings, click Sociable, uncheck any items you don’t want shown, click the Save button.

    All align attributes are depricated in the HTML4 specification and are illegal in the XHTML 1 specifications.

    Yeah, I know… just the other day the XHTML police showed up at my door and gave me a ticket for using a deprecated attribute in an XHTML zone, and then suggested (somewhat ominously), that I… “slow the Hell down”. I give a nod in your direction for correct usage of the term “Deprecated”, by the way. CSS equivalents are definitely favored over use of deprecated alignment attributes.

    Assuming you are involved in the plugins’ development, or perhaps just an avid fan, you will have to excuse my un-intentional disruption of the XHTML1 integrity of the work.

    🙂

    Can that arrow.gif be removed via the admin panel or does that just affect the icons themselves? I have never used the plugin myself, so I will defer to your knowledge and say I have no reason to doubt it possible.

    @joaovr,

    If you want to insure that you maintain strict XHTML 1 specification compliance in regards to the use of the plugin in your theme, you should make the adjustment in the css as noted. dhvrm’s suggestion is the preferred solution. My bad.

    I’m not involved in the development of this plug-in; I’m just trying to note issues as I discover them.

    I’m not sure what you mean by “arrow.gif”. I don’t see it in sociable.css; it appears to me that style is specific to your theme.

    To remove the list styles, look here:

    http://wordpress.org/support/topic/192018

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Center Sociable Icons’ is closed to new replies.