Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How and where do I edit CSS in WordPress?

user-image
Question ajoutée par Yasmeen Husam , Web Developer , Al Fahid Systems
Date de publication: 2018/09/12
Mohamed Bin Othman
par Mohamed Bin Othman , Senior Front-end Developer , Clickapps

There are many ways to edit CSS in Wordpress, first of all you need to decide if you want to override on the old CSS code or remove the old and add new.

For override on the old CSS the best way by go to Appearance->customize->Additional CSS then write your CSS code in there, this way will save your code on the database instead of edit directly on theme code, the benfit from this to keep your theme code clean and if you move the theme to another website, your custom CSS code will not be there.

For remove the old and add new go throw theme CSS files and edit the code, but I dont prefer this way insted of that I prefer creating child theme or create new CSS file to override the old CSS code.

sunil kanakatla
par sunil kanakatla , Atreya TechnoSoft Pvt Ltd

YourWordPress theme has a CSS file that holds all of these style rules. The easiest way to edit your CSS file is to visit Appearance → Editor from your WordPressdashboard. You'll want to open the style.css file (which should be open by default

Hesham Alaa Ali
par Hesham Alaa Ali , Web Developer , Freelancer

you can edit through the custom CSS

Appearence -> Custom CSS

Mohammed  Abu Abed
par Mohammed Abu Abed , منسق عمليات , مؤسسة خطوات جرئية للتجارة

this depends upon your changes scale. let's say your changes or additions are simply known or little here you can go to appearance then customize then you can see at the bottom menu something cakled additional CSS ams you can add your style sheets but if your additions or changes are huge or fundamentally then you need to go on appearance then edit the go to style.css file and this is better if your host permits for modifying and the third way is to make your changes or additions from cpanel which is perfect so first of all define your changes and then chose the which one is ideal ... all the best

Mosaraf Hossain
par Mosaraf Hossain , IT & Web Developer , Edelweiss Swiss

Appearance > Editor > style.css

Jamshaid Yousaf
par Jamshaid Yousaf , Visiting Faculty , Christian College of Business Arts and Technology

After logging into Wordpress Dashboard select Appearance > Edit to edit active wordpress theme CSS file.

AHMAD ALSHATANAWI
par AHMAD ALSHATANAWI , WEB MARKETING & SEO SPECIALIST , Creativo GBM

The easiest way to edit your CSS file is to visit Appearance → Editor from your WordPress dashboard. You'll want to open the style.css file (which should be open by default). This is your stylesheet

Muhammad AbdulWahhab Motawe
par Muhammad AbdulWahhab Motawe , Vp Of Engineering , The Quantum Insider

I'm not a WordPress person, but I can answer that much ...

It's simple really, all you need to do is visit your wordpress dashboard, and go to Appearance => Editor then you just need to add your rules in the style.css file.

More Questions Like This