• vlgh90

    (@vlgh90)


    How I can put this icon on center?
    Regards!
    https://postimg.org/image/879w3fydf/

    Code is:

    <?php
    /**
     * Theme Footer Section for our theme.
     *
     * Displays all of the footer section and closing of the #main div.
     *
     * @package ThemeGrill
     * @subpackage ColorMag
     * @since ColorMag 1.0
     */
    ?>
    
    		</div><!-- .inner-wrap -->
    	</div><!-- #main -->
       <?php if ( is_active_sidebar('colormag_advertisement_above_the_footer_sidebar') ) { ?>
          <div class="advertisement_above_footer">
             <div class="inner-wrap">
                <?php dynamic_sidebar('colormag_advertisement_above_the_footer_sidebar'); ?>
             </div>
          </div>
       <?php } ?>
    	<?php do_action( 'colormag_before_footer' ); ?>
    		<footer id="colophon" class="clearfix">
    			<?php get_sidebar( 'footer' ); ?>
    			<div class="footer-socket-wrapper clearfix">
    				<div class="inner-wrap">
    					<div class="footer-socket-area">
                      <div class="footer-socket-right-section">
       						<?php if( get_theme_mod( 'colormag_social_link_activate', 0 ) == 1 ) { colormag_social_links(); } ?>
                      </div>
                      <div class="footer-socket-left-sectoin">
       						<?php do_action( 'colormag_footer_copyright' ); ?>
                      </div>
    					</div>
    				</div>
    			</div>
    		</footer>
    		<a href="#masthead" id="scroll-up"><i class="fa fa-chevron-up"></i></a>
    	</div><!-- #page -->
    	<?php wp_footer(); ?>
    <!--/Start async trafic.ro/-->
    <script type="text/javascript" id="trfc_trafic_script">
    //<![CDATA[
    t_rid = 'ziaruldevaslui-ro';
    (function(){ t_js_dw_time=new Date().getTime();
    t_js_load_src=((document.location.protocol == 'http:')?'https://storage.':'https://secure.')+'trafic.ro/js/trafic.js?tk='+(Math.pow(10,16)*Math.random())+'&t_rid='+t_rid;
    if (document.createElement && document.getElementsByTagName && document.insertBefore) {
    t_as_js_en=true;var sn = document.createElement('script');sn.type = 'text/javascript';sn.async = true; sn.src = t_js_load_src;
    var psn = document.getElementsByTagName('script')[0];psn.parentNode.insertBefore(sn, psn); } else {
    document.write(unescape('%3Cscri' + 'pt type="text/javascript" '+'src="'+t_js_load_src+';"%3E%3C/sc' + 'ript%3E')); }})();
    //]]>
    </script>
    <noscript><p><a href="https://www.trafic.ro/statistici/ziaruldevaslui.ro"><img alt="ziaruldevaslui.ro" src="https://log.trafic.ro/cgi-bin/pl.dll?rid=ziaruldevaslui-ro" /></a> <a href="https://www.trafic.ro/">Web analytics</a></p></noscript>
    <!--/End async trafic.ro/-->
    </body>
    </html>

    Icon code is

    <!--/Start async trafic.ro/-->
    <script type="text/javascript" id="trfc_trafic_script">
    //<![CDATA[
    t_rid = 'ziaruldevaslui-ro';
    (function(){ t_js_dw_time=new Date().getTime();
    t_js_load_src=((document.location.protocol == 'http:')?'https://storage.':'https://secure.')+'trafic.ro/js/trafic.js?tk='+(Math.pow(10,16)*Math.random())+'&t_rid='+t_rid;
    if (document.createElement && document.getElementsByTagName && document.insertBefore) {
    t_as_js_en=true;var sn = document.createElement('script');sn.type = 'text/javascript';sn.async = true; sn.src = t_js_load_src;
    var psn = document.getElementsByTagName('script')[0];psn.parentNode.insertBefore(sn, psn); } else {
    document.write(unescape('%3Cscri' + 'pt type="text/javascript" '+'src="'+t_js_load_src+';"%3E%3C/sc' + 'ript%3E')); }})();
    //]]>
    </script>
    <noscript><p><a href="https://www.trafic.ro/statistici/ziaruldevaslui.ro"><img alt="ziaruldevaslui.ro" src="https://log.trafic.ro/cgi-bin/pl.dll?rid=ziaruldevaslui-ro" /></a> <a href="https://www.trafic.ro/">Web analytics</a></p></noscript>
    <!--/End async trafic.ro/-->

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

    (@webstyley)

    Try this, if that does work, adjust the div style accordingly.

    <div style="text-align:center;">
    <!--/Start async trafic.ro/-->
    <script type="text/javascript" id="trfc_trafic_script">
    //<![CDATA[
    t_rid = 'ziaruldevaslui-ro';
    (function(){ t_js_dw_time=new Date().getTime();
    t_js_load_src=((document.location.protocol == 'http:')?'https://storage.':'https://secure.')+'trafic.ro/js/trafic.js?tk='+(Math.pow(10,16)*Math.random())+'&t_rid='+t_rid;
    if (document.createElement && document.getElementsByTagName && document.insertBefore) {
    t_as_js_en=true;var sn = document.createElement('script');sn.type = 'text/javascript';sn.async = true; sn.src = t_js_load_src;
    var psn = document.getElementsByTagName('script')[0];psn.parentNode.insertBefore(sn, psn); } else {
    document.write(unescape('%3Cscri' + 'pt type="text/javascript" '+'src="'+t_js_load_src+';"%3E%3C/sc' + 'ript%3E')); }})();
    //]]>
    </script>
    <noscript><p><a href="https://www.trafic.ro/statistici/ziaruldevaslui.ro"><img alt="ziaruldevaslui.ro" src="https://log.trafic.ro/cgi-bin/pl.dll?rid=ziaruldevaslui-ro" /></a> <a href="https://www.trafic.ro/">Web analytics</a></p></noscript>
    <!--/End async trafic.ro/-->
    </div>
    Thread Starter vlgh90

    (@vlgh90)

    Unfortunately not work. Thanks you anyway

    WebStyley

    (@webstyley)

    can you post the actual link of the site. That will help me more than the code and screenshot thanks.

    Thread Starter vlgh90

    (@vlgh90)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Icon footer on center’ is closed to new replies.