Dreamweaver template not updating editable region

I edited an existing Dreamweaver template that has in-page css styles located in the <head>. Originally, the in-page style area was set as not editable. I decided to change it, so I made it editable then added some new selectors. Now, when it updates attached pages, the style shows as editable, and the styles that were there prior to my change to editable are there, but the new selectors are not there.  Dreamweaver CC 2014 on Mac OSX.


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dreamweaver WILL NOT update editable regions. Even if you have an editable region on your template, it will only update the editable region itself, not the data inside to child pages.

What kind of server are you using? PHP? I would suggest using an includes file. Place the following in the <head> section of your template and do not make it editable. Create the includes file (style.css.php).

<?php include 'style.css.php';?>

Place your css code in the style.css.php file. If you want to simplify all of this, I suggest using an external css file. In this case, you keep the style.css.php file and place this in the <head> section of your template as uneditable:

<link rel="stylesheet" type="text/css" href="style.css.php">

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
weknowjackAuthor Commented:
weknowjackAuthor Commented:
Corrrect answer. Good suggestions.
You're welcome. I'm happy to help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Dreamweaver

From novice to tech pro — start learning today.