This support ticket is created Il y a 8 années et 1 mois. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Refer to the site lien caché, I use the Starter theme, I want to revamp the style of the menu, where should I place the css and ensure the theme will us my stylesheet as at resort?
I try creating a custom.css under the child theme folder and add
@import url(custom.css);
to the style.css.
Is it the best practices for the style customisation?
Thanks for your reply. May I know if I set the css for body tag using wp_enqueue_style function or Custom CSS from the Theme customize, which one is the last resort setting if both have setting but different attribute.
Enqueuing Styles in your functions.php will trigger the LAST enqueued Style as the "most important"
The same applies in the CSS files THEMSELVES (bottom is applying as last, therefore the most important)
The only exception is when you use the !important argument.
You can edit either your Theme's CSS files or add the rules to the Customizer.
Customizer provides Live preview, while manual coding in the CSS files requires you to save, and reload the pages.
You can use this as a last resort if you want.
Please do not hesitate to open a new thread if other issues or problems arise