New to wordpress ( CSS changes , dumb question)

[ad_1]

So , I am trying to make some CSS changes to my wordpress website . I found the issues using inspector tool there was some alignment issues so making the margin-left:auto; fixed my issues . Now in the inspector tool it is showing file name is my course.php I am using Sensei LMS plugin , in my course.php I can find nothing but when the search the exact css element in the files I found out that the exact code is in css-output.php file . I make changes to that and even after that there are no changes on the site it’s look same as before the margin-let attribute that was supposed to change remains same ( it’s not a cache problem I have tried incognito, clearing cache and all ) .

1. I am using Localwp and setup my wordpress site locally .

2. I am using vs code to make changes to the files

one More question If I make changes to the file using vs code doesn’t it refelct live or do I have to wait or something like that ?

Adding the photos you can see in one page there is margin-left-40 which is creating the problem

https://preview.redd.it/f4nk9y0tg8dd1.png?width=3031&format=png&auto=webp&s=bfde1e9f751ae10019759d34037c2d905dd65c7b

https://preview.redd.it/esdfwyprg8dd1.png?width=3198&format=png&auto=webp&s=d1d86d84c70bbfd2ff014db0ff224ca38f178a62

[ad_2]
2 Comments
  1. Hi there , to add custom css you should add it ‘additional css’ . You shouldn’t have to change css-output.php file at all. If there not cache any css update will be instant.

    [https://wordpress.com/support/editing-css/](https://wordpress.com/support/editing-css/)

    Are you using a premade theme or custom making it?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer