Navigation überspringen

[Gelöst] Admin Datepicker Styling

This support ticket is created vor 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.

Dieses Thema enthält 1 reply, hat 2 Stimmen.

Zuletzt aktualisiert von Christopher Amirian vor 2 years, 10 months.

Assistiert von: Christopher Amirian.

Author
Artikel
#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?
versteckter Link
versteckter Link

#2626441

Christopher Amirian
Unterstützer

Sprachen: Englisch (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.