• dilneiss

    (@dilneiss)


    Make all css files external files and optimized..
    here is the code optimized to load faster
    .addtoany_share_save_container{margin:16px 0}ul.addtoany_list{display:inline;text-indent:0 !important}ul.addtoany_list,ul.addtoany_list li{list-style-type:none;margin:0 !important;padding:0 !important}ul.addtoany_list li{background:none !important;display:inline !important;line-height:32px}ul.addtoany_list li,ul.addtoany_list img,a.addtoany_share_save img{border:0}ul.addtoany_list li:before{content:""}ul.addtoany_list li a{padding:0 9px}ul.addtoany_list img{float:none;margin:0;padding:0;vertical-align:middle}ul.addtoany_list a img{opacity:.7}ul.addtoany_list a.addtoany_share_save img,ul.addtoany_list a:hover img{opacity:1}a.addtoany_share_save img{width:auto;height:auto}

    so with this code whe can have our blog loading a bit faster, and join with others css files.. 🙂

    http://wordpress.org/extend/plugins/add-to-any/

Viewing 4 replies - 1 through 4 (of 4 total)
  • micropat

    (@micropat)

    @dilneiss thanks, that’s not a bad idea at all. 🙂 Recently the plugin was updated to allow you to disable the inline CSS and then to copy the CSS into your theme’s main stylesheet. Now I’m thinking an external stylesheet might be a better approach, but one thing I don’t want to encourage is throngs of external stylesheets coming from plugins. This is important because Internet Explorer cripples after 31 stylesheets:
    http://support.microsoft.com/kb/262161

    and I know many publishers have dozens of plugins installed and activated.

    Anyway, a minified external stylesheet will probably come in an update soon, but if anyone has any thoughts about addressing the IE problem above, please post. 🙂

    Thread Starter dilneiss

    (@dilneiss)

    thanks, we can use the plugin Wp-Minify wo join all css styles and javascript in one..
    see it working in my Blog

    🙂

    micropat

    (@micropat)

    //tutoriais.ctdo.com.br/wp-content/plugins/wp-minify/min/?f=wp-content/themes/i3theme-1-7-classic/style.css,wp-content/themes/i3theme-1-7-classic/dbx.css,wp-content/plugins/wp-email/email-css.css,wp-content/plugins/wp-polls/polls-css.css,wp-content/plugins/wp-postratings/postratings-css.css,wp-content/plugins/wp-pagenavi/pagenavi-css.css,wp-content/plugins/contact-form-7/styles.css,wp-content/plugins/search-light/themes/default/searchLight.css,wp-content/plugins/add-to-any/addtoany.css,wp-content/plugins/hover/hover.css,wp-content/plugins/shutter-reloaded/shutter-reloaded.css,wp-content/plugins/wp-reportpost/assets/wprp.css&&m=1272204729

    Very cool! That is one crazy-long URL, but I love the thought behind this. Look for an update sometime soon. 🙂

    Just a quick note that this feature was implemented in AddToAny version .9.9.5.4, and the CSS is already minified. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: AddToAny: Share/Bookmark/Email Button] Suggestion’ is closed to new replies.