Passer la navigation

[Résolu] Admin Datepicker Styling

This support ticket is created Il y a 2 years, 10 months. 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.

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Christopher Amirian Il y a 2 years, 10 months.

Assisté par: Christopher Amirian.

Auteur
Publications
#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?
lien caché
lien caché

#2626441

Christopher Amirian
Supporter

Les langues: Anglais (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.