Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Images and Videos NOT aligned in the center.

4 Posts
2 Users
0 Reactions
2,899 Views
Eli
Posts: 101
 Eli
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@eli)
Member
Joined: 8 years ago
[#3921]

Hello there,

We have an issue where images are never centered in the cross-posted topics, an example can be seen at:

https://deepinenespañol.org/comunidad/noticias-de-portada/presentamos-nuestro-repositorio-deepines-3-0/

The first image on the post is supposed to be centered, doesn't matter if you center it with the forum editor options, it will still show up aligned to the left. it happens with every image or video in cross-posted topics.

Is there a code I could use to correct this?

Any help would be appreciated.


3 Replies
Astghik
Posts: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi @eli,

Please add the following CSS code in "Custom CSS code" textarea located in Dashboard > Forums > Settings > Styles admin page, save it, delete all caches and check again. The CSS conflict should be solved. 

.wp-block-image .aligncenter {
margin-left: auto !important;
margin-right: auto !important;
}

Reply
Eli
Posts: 101
 Eli
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@eli)
Member
Joined: 8 years ago

That worked for images, thanks @astghik, however videos are still aligned to the left side 🙁

I wish I could also center videos.


Reply
1 Reply
Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Hello @eli,

Please leave some example URL to allow us to check and provide CSS solution for videos as well. 


Reply
Share:
Scroll to top