Notifications
Clear all

[Solved] How to align center an image in a post

3 Posts
2 Users
0 Likes
772 Views
Posts: 2
Customer
Topic starter
(@alejandro-plans-beriso)
Member
Joined: 4 years ago

Hello I would like to show an attached imagen in a post center aligned please.

Thanks a lot

2 Replies
Astghik
Posts: 5872
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

Hi @alejandro-plans-beriso,

Please use the following CSS code:

#wpforo-wrap figure[data-attachids] {
display: flex;
align-items: center;
justify-content: center;
}

The CSS code should be added in the "Custom CSS code" textarea, located in the Dashboard > Forums > Settings > Style Tab.  

Please don't forget to delete all caches and press Ctrl+F5 (twice) on the frontend before checking to reload the updated CSS file.    

1 Reply
(@alejandro-plans-beriso)
Joined: 4 years ago

Member
Posts: 2

@astghik awesome thanks a lot!

 

Share:
Scroll to top