Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Jose Antonio Mijares
Jose Antonio Mijares
7,378 Points

How do i edit a live site with SASS and WP?

If a client has a WP site made with sass, how do i edit it live if he only wants small changes? is there a way to edit live, because they are small things but i want to learn the best way to tackle this issue if it presents in the future.

4 Answers

jason chan
jason chan
31,008 Points

I wouldn't do that.

I would just copy the entire script ftp and import the sql database. Then run it on xampp. Then run sass watch on the local to tweak the styles.

I totally agree with jason chan, run the site on a local server, and then tweak the styles.

If you edit live the small changes may have an impact on the site that you did not anticipate. Better to have it on a local server then commit the changes after you are satisfied with the change.

jason chan
jason chan
31,008 Points

Yes but you have to have vps and rails installed also.

Jose Antonio Mijares
Jose Antonio Mijares
7,378 Points

Thank you for your input, i think i would do that in most cases, but for example, for a small changes, like change the color of the menu and font is there a sass watch on live servers?

Thanks again

Jose Antonio Mijares
Jose Antonio Mijares
7,378 Points

Oh, i see, thanks probably not possible in my siteground gogeek account.

Thanks a lot for your help.