Removing “Privacy Policy”

This has to do with the Colorlib Login Customizer plugin, and my site at http://dancing4locations.org.

It is kind of hard to see, but if you go to my site at https://dancing4locations.org/wp-login.php?redirect_to=https%3A%2F%2Fdancing4locations.org%2Fwp-admin%2Fpost.php%3Fpost%3D495%26action%3Dedit%26image-editor%26loggedout%3Dtrue&reauth=1, there is a Privacy Policy link near the bottom of the page. I have two questions about that link. First, would you recommend not removing it? Second, how can I remove it?

Thank you.

Hey there

You are not using our theme nor our plugin :slight_smile:

Thank you.

I’ve been using the Colorlib Login Customizer screen that looks like

I was able to use

.privacy-policy-page-link {
display: none;
}

@Jason1

Well, yes, in this case it will work

Hi there,

using the Shapely Theme and adding the following custom CSS, I’m not able to remove the privacy policy link from the login page.

https://wolfgangreidlinger.at/wp-login.php

Both of this custom CSS codes are not working:

login .privacy-policy-page-link {
	display: none;
}

.privacy-policy-page-link {
	display: none;
}

If I add the display: none; snippet via the developer tools in the browser the link disappears immediately but it is not working via the “Additional CSS” options in the theme customizing section.
Is there any other option to remove the privacy policy link or how can I do further troubleshooting? Thanks!

Hi there

You need to remove it from the footer.php file and it will work, CSS will hide whole block

Regards

Can you please provide more detail info for you suggested solution?!
The footer.php file in the shapely theme looks like this. Is this the file you want me to change? This solution seams not the best one for me, because after a theme update the fix may be gone!

<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link    https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Shapely
 */

?>

</div><!-- #main -->
</section><!-- section -->

<div class="footer-callout">
	<?php shapely_footer_callout(); ?>
</div>

<footer id="colophon" class="site-footer footer bg-dark" role="contentinfo">
	<div class="container footer-inner">
		<div class="row">
			<?php get_sidebar( 'footer' ); ?>
		</div>

		<div class="row">
			<div class="site-info col-sm-6">
				<div class="copyright-text">
					<?php echo wp_kses_post( get_theme_mod( 'shapely_footer_copyright' ) ); ?>
				</div>
				<div class="footer-credits">
					<?php shapely_footer_info(); ?>
				</div>
			</div><!-- .site-info -->
			<div class="col-sm-6 text-right">
				<?php shapely_social_icons(); ?>
			</div>
		</div>
	</div>

	<a class="btn btn-sm fade-half back-to-top inner-link" href="#top"><i class="fa fa-angle-up"></i></a>
</footer><!-- #colophon -->
</div>
</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>

Hi there

You need to use child theme in order to keep all your changes,
you need to remove this: Screenshot by Lightshot

Regards

Sorry for the confusion! Just to clarify the situation, I’m not using the Colorlib Login Customizer but the LoginPress plugin.

After putting this CSS code,

.privacy-policy-page-link {
display: none;
}

into the Custom CSS/JS section of the LoginPress plugin the privacy link is gone. Goal achieved!
Thanks for your fast feedback! You can go ahead and lose this issue.

Before and after:
Screenshot 2022-11-24 192510
Screenshot 2022-11-24 192448

Hi

Ok, that’s nice, thanks for sharing your solution :slight_smile:

Regards