Last update at :2024-07-07,Edit by888u
Images in WordPress theme articles cannot be centered.
Add the following code at the end of the style.css file or add it to additional CSS.
- .aligncenter { display: block; margin-left: auto; margin-right: auto; }
- .aligncenter p.wp-caption-text {
- display: block;
- margin-left: auto;
- margin-right: auto;
- text-align: center;
- }
Refresh after saving, all pictures will be centered. If it doesn't work, please Ctrl+F5 to force refresh.
Recommended site searches: cheap domain name registration, which Hong Kong server is fast, Guangdong website registration, American and European cloud servers, foreign permanent free server recommendations, renting space, free domain names, registration password retrieval, overseas virtual hosts, mine ip,
All copyrights belong to 888u unless special state
发表评论