3

Is it possible to control the Matrix layout with CSS within the CP?

The Rich Text fields I have are currently displaying like this:

Craft CMS matrix default layout

But I'd like this specific field to look something like this:

Craft CMS matrix custom layout

I'd like to avoid using a plugin if possible.

1
2

Unfortunately not. To do that kind of change your best bet would be to use CPCSS. It's a plugin but really only just provides you with a way to inject custom styles or a stylesheet for use in the control panel. It's well maintained by a responsible author so I don't see any reason to worry about that one.

1
  • Thank you for the reassurance with the plugin. Coming from WP, it's good to know. Will give this a whirl. – Sam Aug 23 '17 at 18:37
1

Change your Matrix field to a SuperTable field and use the "Table Layout" setting for the field to accomplish this data arrangement.

The "Table Layout" setting is here:
https://www.screencast.com/t/Y3jm9DIr

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.