Twitter cards or FB's not in the center

Posted in: Newspaper
Post count: 80

Hi, can you tell me how to put twitter or FB cards centered in the middle of the post. I can’t get to make it happen even if i clic on centring button.
example : https://themaghrebtimes.com/05/18/ramadan-gift-christian-businessman-builds-mosque-for-muslim-workers/

thank you

Post count: 23312

Hello tmaghrebt,

.td-post-sharing{
text-align:center;
}

The result is here -> https://www.screencast.com/t/jocxh5CAc

Thanks.

Post count: 80

Sorry but I think I didnt explain my self very well, here is a screenshot of the problem

https://themaghrebtimes.com/wp-content/uploads/2018/05/Untitled.jpg

thank you!

Post count: 23312

Hi tmaghrebt,

You should try using the code below and place it in Theme panel -> Custom CSS area.

.twitter-tweet{
margin-left:auto;
margin-right:auto;
}

The result is here -> https://www.screencast.com/t/jsD8N9fx

Thanks.

Post count: 80

Thank you, worked like a charme!
should I use this for a facebook one :

.facebook-post{
margin-left:auto;
margin-right:auto;
}

thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.