Gaby
1
Hello, I have added something to my " layouts/partials/custom_footer.html" and it shows in my blog but it is to the far right.
<p><strong>Find Me</strong><br><a href="https://twitter.com/pixelgabz">Twitter</a> • <a href="http://instagram.com/pixelgabz/">Instagram</a> • <a href="mailto:gabz@omg.lol">Email</a></p>
I tried adding this to my CSS
.customfooter {
text-align: center;
}
but that didn’t do it.
Any suggestions?
manton
2
You need to also include the CSS class name in the HTML. Because your new footer is wrapped in a p
tag, try changing it to: <p class="customfooter">
Gaby
3
You mean in the CSS, to change it like,
p class=“customfooter” {
text-align: center;
}
Or in the template?
Gaby
4
Ah-ha! got it!! Thank you !!!