-
AuthorPosts
-
December 9, 2023 at 10:29 pm #1427659
Hi, is there a way to center the names and titles of our team members? They are very far off from the image, left justified and we would like them centered. Please advise, thanks!
December 9, 2023 at 10:47 pm #1427661Hey sharynt3,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top .avia-team-member { text-align: center; }After applying the css, please clear your browser cache and check.
Best regards,
MikeDecember 9, 2023 at 11:29 pm #1427664Thanks Mike, it works. Can this also be done for the accordion element used for the bio below the image?
December 10, 2023 at 12:20 am #1427667Hi,
The accordion toggle text can be centered but not the accordion “plus” icon. So to center the text and remove the “plus” icon try this css:#top .av_toggle_section { text-align: center; } #top .av_toggle_section .toggle_icon { display: none; } .js_active #top .av_toggle_section .toggler { padding: 9px 0; }Best regards,
MikeDecember 10, 2023 at 12:25 am #1427668Thanks Mike. Is it possible to only align the outside text to the center and not the inside once you click the plus sign?
December 10, 2023 at 12:53 am #1427670Hi,
Try adding this css:#top .av_toggle_section .toggle_content { text-align: left; }Best regards,
MikeDecember 10, 2023 at 1:42 am #1427674Perfect! It works on the Team Members that have the accordion element, is there a workaround to not have the text centered if in just the Team Members element? See below for page difference, thanks.
-
This reply was modified 1 year, 11 months ago by
sharynt3.
December 10, 2023 at 12:40 pm #1427691Hi,
To text align the team-member-description to the left and keep the title centered we will need to use custom css for that page only because on some other pages you do want the team-member-description centered. Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top.page-id-2681 .avia-team-member .team-member-description { text-align: left; }After applying the css, please clear your browser cache and check.
Best regards,
MikeDecember 10, 2023 at 5:42 pm #1427702Hi,
Thank you, this works!December 10, 2023 at 5:56 pm #1427704Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
This reply was modified 1 year, 11 months ago by
-
AuthorPosts
- The topic ‘How to center Team Members name and titles’ is closed to new replies.
