• Resolved Danishsard

    (@danishsard)


    Hello, the plugin loads long styles – but I don’t know why such codes are needed. Even on pages where it is not needed and there are no buttons, it loads its styles.

    <style type="text/css">
    					.heateor_sss_button_instagram span.heateor_sss_svg{background-color:#527fa4}
    											.heateor_sss_horizontal_sharing .heateor_sss_svg,.heateor_sss_standard_follow_icons_container .heateor_sss_svg{
    							color: #fff;
    						border-width: 0px;
    			border-style: solid;
    			border-color: transparent;
    		}
    					.heateor_sss_horizontal_sharing .heateorSssTCBackground{
    				color:#666;
    			}
    						div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover path:not(.heateor_sss_no_fill),div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover ellipse, div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover circle, div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover polygon, div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover rect:not(.heateor_sss_no_fill){
    		        fill: #000;
    		    }
    		    div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover path.heateor_sss_svg_stroke, div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover rect.heateor_sss_svg_stroke{
    		    	stroke: #000;
    		    }
    				.heateor_sss_horizontal_sharing span.heateor_sss_svg:hover,.heateor_sss_standard_follow_icons_container span.heateor_sss_svg:hover{
    							color: #000;
    						border-color: transparent;
    		}
    		.heateor_sss_vertical_sharing span.heateor_sss_svg,.heateor_sss_floating_follow_icons_container span.heateor_sss_svg{
    							color: #fff;
    						border-width: 0px;
    			border-style: solid;
    			border-color: transparent;
    		}
    				.heateor_sss_vertical_sharing .heateorSssTCBackground{
    			color:#666;
    		}
    						.heateor_sss_vertical_sharing span.heateor_sss_svg:hover,.heateor_sss_floating_follow_icons_container span.heateor_sss_svg:hover{
    						border-color: transparent;
    		}
    				</style>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Heateor Support

    (@heateor)

    Hi,

    It’s not possible to detect the icons before loading the CSS as icons can be integrated via shortcode or widget, not by just using the options of the plugin. Even if there is a way to do this that would impact the web page loading speed to do this check everytime someone loads any of your web pages in their browser.

    Thread Starter Danishsard

    (@danishsard)

    I understand, thank you for your answer. I was surprised by this from Instagram, because I don’t even use it or turn it on.

    Plugin Author Heateor Support

    (@heateor)

    No problem. We will keep improving it in the upcoming updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Loading styles where not needed’ is closed to new replies.