Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

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


ALEJANDRO PLANS BERISO
Posts: 2
(@alejandro-plans-beriso)
Member
Joined: 6 months ago

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

Thanks a lot

2 Replies
Astghik
Posts: 4129
Admin
(@astghik)
Support Team
Joined: 2 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
(@alejandro-plans-beriso)
Joined: 6 months ago

Member
Posts: 2

@astghik awesome thanks a lot!

 

Share: