Support » Theme: Sydney » Remove Icon Scroll Up

  • Resolved stefano79

    (@stefano79)


    hello,
    I would like to remove the scroll up icon but I can’t figure out how to do it, can you help me?

    I went into footer.php and found this code:

    <?php
    /**
     * The template for displaying the footer.
     *
     * Contains the closing of the #content div and all content after
     *
     * @package Sydney
     */
    ?>
    			</div>
    		</div>
    	</div><!-- #content -->
    
    	<?php do_action('sydney_before_footer'); ?>
    
    	<?php if ( is_active_sidebar( 'footer-1' ) ) : ?>
    		<?php get_sidebar('footer'); ?>
    	<?php endif; ?>
    
        <a on="tap:toptarget.scrollTo(duration=200)" class="go-top"><i class="sydney-svg-icon"><?php sydney_get_svg_icon( 'icon-chevron-up', true ); ?></i></a>
    		
    	<footer id="colophon" class="site-footer" role="contentinfo" <?php sydney_do_schema( 'footer' ); ?>>
    		<div class="site-info container">
    			<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'sydney' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'sydney' ), 'WordPress' ); ?></a>
    			<span class="sep"> | </span>
    			<?php printf( __( 'Theme: %2$s by %1$s.', 'sydney' ), 'aThemes', '<a href="https://athemes.com/theme/sydney" rel="nofollow">Sydney</a>' ); ?>
    		</div><!-- .site-info -->
    	</footer><!-- #colophon -->
    
    	<?php do_action('sydney_after_footer'); ?>
    
    </div><!-- #page -->
    
    <?php wp_footer(); ?>
    
    </body>
    </html>

    but not being a programmer I don’t know how to do it.
    Thanks to all
    Stefano

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Stefano,

    You can use this CSS code and add it to Appearance > Customize > Additional CSS from dashboard.

    
    .go-top,
    .go-top.show {
      display: none !important;
    }
    

    Adding, editing the theme’s files directly is not recommended as all files are wiped out when theme update.

    Regards,
    Kharis

    Thread Starter stefano79

    (@stefano79)

    Wonderful Kharis,

    thank you very much!

    Best Regard
    Stefano

    You’re welcome Stefano!

    Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

    Regards,
    Kharis

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.