Have a Question?

If you have a question, start typing or search for it below.

Image Alignment in WordPress

By default, Camayak will center any image that is placed within the body of an assignment. To achieve this, Camayak makes use of the “aligncenter” CSS class in WordPress. Any WordPress-using Camayak customer who has a custom theme, however, may not have the rule and may therefore be susceptible to strangely aligned images.

If you have a custom theme, you’ll need to make sure you have a copy of the CSS from WordPress (https://github.com/WordPress/WordPress/blob/93ec80e732fde6a4f04d0e8d2d8d0d651d9b85de/wp-content/themes/twentyfourteen/css/editor-style.css#L312-L316) or write your own, so long as the name of the rule is “aligncenter”.