Skip Navigation

[Resolved] Resize Loop Editor

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Ben 5 years, 10 months ago.

Assisted by: Waqar.

Author
Posts
#1175333

Ben

Is there any way to resize the Loop Editor in Views?

I often find it quite small and not big enough to display all the data I need to see without scrolling up and down all the time. I think the option to be able to have it bigger, especially when working on a bigger screen, would be very helpful.

#1175343

Hi Ben,

Thank you for waiting.

To add some min-height value to the code editor, in the view's "Loop Editor" section, you can include the following CSS code in the admin area:


body.toolset_page_views-editor .layout-html-editor > .CodeMirror {
	min-height: 900px;
}

Notes:

1. Feel free to adjust the value "900" as needed.

2. To include the custom CSS code in the admin area, you can either use PHP code or a third-party plugin:
hidden link
https://wordpress.org/plugins/css-injector/ (plugin)

3. To target other HTML elements through custom CSS code, you can use Google's inspect element tool, as explained in the following guide:
hidden link

I hope this helps!

regards,
Waqar

#1175349

Ben

Not a problem at all.

Thank you very much for your solution Waqar. It works perfectly.

#1183619

Ben

I have been updated from Juan reference this and the ability to do this already exists.

In Toolset Settings, General tab, under the heading 'Text editors options' simply check the 'Autoresize' box and the editors will grow with content.