Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Thread Starter
deb76
(@deb76)
Thank you for answer Andrew.
I insert this code in CSS:
#colophon a {
color: #825f4f;
padding-top: 30px;
text-align: center;
horizontal-align: middle;
}
And I tried also :
#colophon a {
color: #825f4f;
padding-top: 30px;
text-align: center;
text-align: center;
}
But it doesn’t work. I think I don’t modify the good styles.
Can you tell where I’d have to insert code?
Thank you
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Install this Custom CSS Manager plugin to hold your CSS modificaitons. In its section of the dashboard, enter this:
#colophon {
text-align: center;
}
Thread Starter
deb76
(@deb76)
I use Custom CSS Plugin.
I had inserted your code but it doesn’t work.
See my footer code:
?>
</div><!-- #main .site-main -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info">
<?php do_action( 'spun_credits' ); ?>
<a href="http://wordpress.org/" title="<?php esc_attr_e( 'A Semantic Personal Publishing Platform', 'spun' ); ?>" rel="generator"><?php printf( __( 'Powered by %s', 'spun' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<?php printf('Thème %1$s ', 'spun' ); ?>
<span class="sep"> | </span>
<?php printf('Copyright 2013 - Tous droits réservés'); ?>
</div><!-- .site-info -->
</footer><!-- #colophon .site-footer -->
</div><!-- #page .hfeed .site -->
<?php wp_footer(); ?>
</body>
</html>
I think the problem comes from the footer.php
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Please understand that we cannot see your issue unless you provide a link to it.
Thread Starter
deb76
(@deb76)
Really sorry
http://www.lecrindechocolat.com/
It works because I change code in Spun theme’s stylesheet and not in Spun child theme.
But I’d to find a solution in child theme…
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Can you put this:
#colophon {
text-align: center;
}
Into your Child Theme style.css so we can debug why it isn’t working?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
I assume you just didn’t clear your browser’s cache because it’s working for me.
Thread Starter
deb76
(@deb76)
You’re certainly right Andrew.
Now it works!!
Thank you so much!!!!