Home › Forums › Support › Center image in sidebar? This topic has 7 replies, 2 voices, and was last updated 4 years, 6 months ago by Leo. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts October 7, 2019 at 1:11 pm #1028736 Carol Is there a way to center an individual image in the sidebar with settings in the theme? Thank you. X80Ws+031v45 October 7, 2019 at 1:19 pm #1028743 LeoStaff Customer Support Hi there, CSS is required. I assume you are talking about the first image widget? Try this CSS: .sidebar .widget_media_image { text-align: center; } Let me know if this helps π October 7, 2019 at 1:21 pm #1028745 Carol Yes, the book image. What does this code do – center just first occurance in sidebar or center all the sidebar or what? Thank you so much! October 7, 2019 at 1:25 pm #1028748 LeoStaff Customer Support This CSS? @media (min-width: 769px) { .post-image-aligned-left .post-image img { max-width: 405px; } } That’s setting the max-width of featured image to 405px on desktop view – irrelevent to the sidebar. October 7, 2019 at 1:27 pm #1028753 Carol No, the one you just gave me now: .sidebar .widget_media_image { text-align: center; } Does this just affect one image (first widget in sidebar), or all of them or what? Thank you. October 7, 2019 at 1:33 pm #1028763 LeoStaff Customer Support It will center all image widgets added in sidebar. You currently only have one image widget. October 7, 2019 at 1:54 pm #1028773 Carol Right – I guess that’s okay for now. If I come to a situation where I want one to left or right align, will come back. π October 7, 2019 at 2:48 pm #1028801 LeoStaff Customer Support Sounds good π Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In