Some WordPress themes, like Woostify, don’t always allow CSS to properly center elements in the footer. While you might spend hours searching through their documentation (Woostify Documentation), you may not find a direct answer to this issue. Here’s a simple workaround to ensure your copyright text remains centered without additional CSS tweaks.
You might also try adding your own CSS in the Additional CSS section, but no matter how hard you try, it’s likely that it won’t work either.
Here’s a simple workaround to ensure your copyright text remains centered without additional CSS tweaks.
Step 1: Open the Footer Customization Panel
- Log in to WordPress.
- Navigate to Appearance > Customize > Layout > Footer.
Step 2: Add the Custom Text
In the Custom Text field, enter the following code:
<div>
Copyright © 2024 <a class="home" href="https://omghandmade.com/home/">OmgHandmade</a> | Made with 💞 by <a href="https://arrangementforme.com/">Natalia Eaton</a>
Important: Do not close the <div>
tag. Leaving it open ensures the text stays centered. If you add a closing </div>
, the text will align to the left due to the theme’s default behavior.
Save Your Changes
- Click Publish to apply the changes.
Verify the Results
- Visit your website and scroll to the footer.
- The copyright text should now be properly centered and aligned.
Conclusion
By leaving the
<div>
tag open, you can work around the limitations of some themes, ensuring a centered copyright text in the footer without relying on CSS adjustments.
Notes:
- If your theme updates or you make structural changes, revisit the footer customization panel to confirm everything remains as intended.
- For more complex footer designs, consider switching to a theme that allows flexible alignment.