Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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,009 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,009 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.