ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How and where do I edit CSS in WordPress?

user-image
تم إضافة السؤال من قبل Yasmeen Husam , Web Developer , Al Fahid Systems
تاريخ النشر: 2018/09/12
Mohamed Bin Othman
من قبل 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
من قبل 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
من قبل Hesham Alaa Ali , Web Developer , Freelancer

you can edit through the custom CSS

Appearence -> Custom CSS

Mohammed  Abu Abed
من قبل 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
من قبل Mosaraf Hossain , IT & Web Developer , Edelweiss Swiss

Appearance > Editor > style.css

Jamshaid Yousaf
من قبل 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
من قبل 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
من قبل 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.

المزيد من الأسئلة المماثلة