-
AuthorPosts
-
May 20, 2019 at 9:49 pm #1102588
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 thisspan.copyright {
width: 100%;
text-align: center;
}But it centers the entire text. How would I left justify the license and center the rest?
May 21, 2019 at 9:38 am #1102754Hey 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,
NikkoMay 21, 2019 at 7:52 pm #1103057Can you assist with the divs that I would need to achieve this?
May 22, 2019 at 3:44 pm #1103360Hi oscarluque,
Yes, but we will be needing both admin and ftp access.
Please provide the credentials in private content.Best regards,
NikkoMay 22, 2019 at 11:18 pm #1103483ok, Should I create a child theme for these edits? I need the theme to update without any issues.
-
This reply was modified 6 years, 5 months ago by
oscarluque.
May 23, 2019 at 4:32 am #1103516Hi 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,
NikkoJune 19, 2019 at 8:48 pm #1111711Thanks, this worked for me. Please close
June 20, 2019 at 12:36 am #1111741Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
This reply was modified 6 years, 5 months ago by
-
AuthorPosts
- The topic ‘Center Copyright but keep text to left’ is closed to new replies.
