WordPress.org

Ready to get started?Download WordPress

Forums

Center Sociable Icons (9 posts)

  1. JoaoVr
    Member
    Posted 5 years ago #

    Hi,
    Is there any fast way to center Sociable icons to midle?

    P.S: There are some squares I would like to remove too. See screen:
    http://img137.imageshack.us/my.php?image=xyzof9.png

  2. ClaytonJames
    Member
    Posted 5 years ago #

    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;
    }

  3. JoaoVr
    Member
    Posted 5 years ago #

    Thank you very much. It worked! :D

  4. ClaytonJames
    Member
    Posted 5 years ago #

    You are most welcome!

  5. dhvrm
    Member
    Posted 5 years ago #

    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;

  6. dhvrm
    Member
    Posted 5 years ago #

    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.

  7. ClaytonJames
    Member
    Posted 5 years ago #

    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.

  8. dhvrm
    Member
    Posted 5 years ago #

    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.

  9. m4tt
    Member
    Posted 5 years ago #

    To remove the list styles, look here:

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags