Skip Navigation

[Resolved] Admin Datepicker Styling

This support ticket is created 2 years, 1 month 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.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 2 years, 1 month ago.

Assisted by: Christopher Amirian.

Author
Posts
#2626193
Frontend Datepicker 2023-07-21_142828.png
Toolset Datepicker 2023-07-21_142253.png

Tell us what you are trying to do?
Is there a simple way to better style the admin datepicker? I'm attaching a screenshot. It looks bad.

Is there any documentation that you are following?
Can't find any documentation.

Is there a similar example that we can see?
Attaching a screenshot of our frontend datepicker. Would love to get the backend looking just somewhat similar to this. Just decent looking and legible.

What is the link to your site?
hidden link
hidden link

#2626441

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

There is no built-in feature to change the styling of the admin date picker in Toolset.

If you want to customize the date-picker you need to add custom styling to it which is outside of our support scope.

But we can give you the code on how to add CSS code to the WordPress dashboard and here it is:

function custom_admin_css() {
    echo '<style>
        /* Add your custom CSS here */
        body {
            background-color: #f5f5f5;
        }
    </style>';
}
add_action('admin_head', 'custom_admin_css');

You can add the code above to your theme's functions.php file.

The actual styling itself is outside of our support scope and you need to do it yourself or hire a developer to do so.

Thank you for your understanding.