- Adjusted the indentation of the custom banner section for better visual structure.
- This change aligns with ongoing efforts to refine input guidance and visual consistency across the plugin.
- Added a check to ensure the form object exists before accessing the selectedIndex property.
- Improved readability by restructuring the conditional logic for showing/hiding banner settings.
width = boxed (default, content width is constrained)
width = unlimited (content width is unlimited for higher resolutions)
This should stop the complaints about dashboard not displaying three columns on wide screens.
Instead of styling defined inside a page file, these settings are now kept in a dedicated css file. This has several advantages:
- It comes much easier to maintain styling, all css files are easy to find and update
- Browser can cache css files, which may improve page loading time
- Separate theme css files exist, no more need to make selection by coding
- This PR is a 1-to-1 move of existing inline styling to css files
- In future more optimization can be made by consolidating css files