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]
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?
https://generatepress.com/forums/topic/how-to-add-custom-css-properly/
Don’t edit any theme files – use a child theme.