my admin panel is smaller than my screen
need to make it wider or full width
any help appreciated!
my admin panel is smaller than my screen
need to make it wider or full width
any help appreciated!
At first it is required to add an ability to specify your CSS for admin panel
Then try to use the following code
#main_column {
.navbar-admin-top, .admin-content-wrap, .content-wrap {
max-width: none !important;
}
}
(!) Not tested
I am not from developer background, Learned online and w3schools websites.
These code you can try. (For this other developers can asked for more than $200)
design/backend/css/tygh/admin_content.less > line: 247,
.content {
min-height: 100%;
padding-right: 10px;
padding-left: 5px; // make padding
padding-top: 15px;
padding-bottom: 20px;
min-width: 82%; // make 82% 1010px;
&.no-sidebar {
width: 100%;
padding-right: 0;
}
anyone tested above codes, working or not?
There is a typos in ss,41 posts above backent, should be backend
BUT !
this seems to work as my changes v4.18.1 instead of core files
create this file
design/backend/css/addons/my_changes/admin_fullwidth_override.less
/* === Full-width admin overrides for 4.18.1 === */
/* Your menu/header idea */
.navbar-admin-top,
.admin-content-wrap,
.content-wrap {
max-width: 100% !important;
}
/* Sidebar: remove the fixed 230px cap */
.sidebar {
background: none;
/* width: 230px; -- removed */
/* max-width: 230px; -- removed */
min-width: 230px; /* keep a practical minimum if you keep sidebar visible */
padding: 15px 0 20px 10px;
height: 100%;
}
.sidebar .sidebar-wrapper {
width: 100%;
height: 100%;
}
/* Content pane: stop forcing an 82% min-width and let it fill */
.content {
min-height: 100%;
padding-right: 10px;
padding-left: 5px;
padding-top: 15px;
padding-bottom: 20px;
min-width: 0 !important; /* was 82%; */
width: 100% !important;
}
/* When the page uses 'no-sidebar', keep it truly full width */
.content.no-sidebar {
width: 100% !important;
padding-right: 0;
}
/* Subheader under the top bar: uncap width */
.header-subnav {
width: 100% !important;
max-width: 100% !important; /* was @wide-width */
}
/* Nuke any lingering container caps */
html body .container,
html body .container-fluid {
max-width: none !important;
width: 100% !important;
}
register it by creating this file if you dont already have it
design/backend/templates/addons/my_changes/hooks/index/styles.post.tpl
{style src="addons/my_changes/admin_fullwidth_override.less"}
Dont forget to clear cache and possibly tpl cache