Re-naming the style sheet main.css in...

User 2220522 Photo


Registered User
49 posts

Hi all,

I have a project that has a bunch of php pages in addition to the html pages. I used SD to style the php pages. It works well except when I export the project, it creates a bunch of html files (corresponding to the php pages) that are un-needed. I have to manually delete them before I upload to my server.

I can't tell SD which pages to export (maybe a future feature?), so I created a project with just the php pages. But it creates an identical style sheet (main.css) as the project with the html pages. So I have to rename the sheet each time I export it to make sure it doesn't overwrite the other project's sheet.

Is there a way to set the name of the stylesheet in SD? Maybe I'm missing something and there is an easier solution?

Thanks in advance.
User 2088758 Photo


Senior Advisor
3,086 posts

Currently there is no way to do any of this in SD. I think it was CC's intent to only design in html. I don't think there is any future plans to implement php. I have had some experience with conflicting css files that SD spits out in the past. I just created a new css file and called it custom.css and made all my custom edits there. SD will not overwrite that file.

I will check in with Bob to see if PHP will be ever included in the app.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.