Hello,
I’m trying to trouble shoot how to align some of my text in the footer. I want the license # left in the socket and the © Copyright and everything to the right of it centered. I tired inserting this
span.copyright {
width: 100%;
text-align: center;
}
But it centers the entire text. How would I left justify the license and center the rest?
Hey oscarluque,
It’s pretty complicated given the current html structure, also there’s the social icons on the right which will go down below once you set copyright to 100% to make the text centered.
The best way to do this copy footer.php from the parent theme to your child theme then tweak it there.
You can add a div before the copyright for the license # set it float left and width around 33% (or 1/3) then for the copyright set the width to 34% then center the text.
Hope this helps.
Best regards,
Nikko
Can you assist with the divs that I would need to achieve this?
Hi oscarluque,
Yes, but we will be needing both admin and ftp access.
Please provide the credentials in private content.
Best regards,
Nikko
ok, Should I create a child theme for these edits? I need the theme to update without any issues.
Hi oscarluque,
Yes, as for theme updates, footer is rarely updated so you shouldn’t worry about it.
Even if there are changes in footer.php it would most likely not cause any issues but if you want to make sure that your footer is updated as well you can always compare your current footer.php (from the parent theme) and the latest version’s footer.php and compare it here: https://www.diffchecker.com/ if there are changes what I usually do is to just copy the latest version’s footer.php and add the customizations I made.
Best regards,
Nikko
Thanks, this worked for me. Please close
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon