Skip Navigation

[Résolu] Revamp the style of Starter theme

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
How do I style the Starter Theme?

Solution:
You can use the "Customize" Button which is available on the Admin bar when you visit the Website's front end.

Relevant Documentation:https://toolset.com/documentation/user-guides/toolset-starter-theme/

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.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Ce sujet contient 6 réponses, a 3 voix.

Dernière mise à jour par kelvinL-2 Il y a 8 années et 1 mois.

Assisté par: Beda.

Auteur
Publications
#379532

Dear Beda,

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?

Best regards,

Kelvin.

#379544

Kelvin you catch me just on my leave days (weekend)

I am already off, I apologize.

As a start, do never use @import if possible

Toolset Starter Child Theme should provide you with all what you need to create your own styles
https://toolset.com/documentation/user-guides/toolset-starter-theme/

I apologize I can not provide in detail assistance right now, if you want I can ask a colleague to help, let me know.

Otherwise I'm back Sunday:
https://toolset.com/forums/users/beda-s/

Thank you

#379558

Dear Beda,

Oh, please enjoy your holiday, I am fine if you can ask a colleague to help.

Kelvin

#379782

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Using the wp_enqueue_style function in your theme's functions.php file is the right way to include CSS files for your theme. That's the recommended way by WordPress.
=> http://codex.wordpress.org/Function_Reference/wp_enqueue_style

Could you please try to add your CSS file using above function.

#379808

Dear Minesh,

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.

Best regards,

Kelvin

#379941

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

Thank you for your patience.

#381652

Many thanks for Beda's reply and advise.

Kelvin

Ce ticket est maintenant fermé. Si vous êtes un client de Toolset et que vous avez besoin d'aide, veuillez ouvrir un nouveau ticket d'assistance