Copy link to clipboard
Copied
Seriously, what is going on with DW at the moment? This programe has gone to pot. What on earth is going on with their templates? I have created a template, then clicked File > New > Site Template, seleced the template I wanted, and all the editible regions have dissapeared, meaning that I can edit all the text which I place outside the editible regions in the first place.
In addition to this, despite placing a link to the CSS document in the header and outside of the editible regions, none of the CSS is updating in new documents. It says it does via the Log, but the CSS does not update.
Literally stumped, I have used DW for 5 years and I have never had these silly, silly, stupid, ridicilous issues before.
Really don't need this.
To elaborate on my reply, if this is the template file
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link rel="stylesheet" href="../styles.css">
</head>
<body>
<!-- TemplateBeginEditable name="content" -->
<h1>My Title</h1>
<!-- TemplateEndEditable -->
</body>
</html>
Then the child file will look like
...
Copy link to clipboard
Copied
You've given us nothing to go on.
CSS works everytime for me. But it must be a) editable, b) valid code and c) saved and populated to child pages.
Open your Template .dwt and show us your Editable region for the CSS. If using an external CSS file, where does it reside in your site structure?
And is the code error-free? Refer to the online code validation service below.
https://jigsaw.w3.org/css-validator/
Copy link to clipboard
Copied
As an update DW has now decided to honor the non-editable regions so hopwfully it won't have another hissy fit in that department. However, I have attached a screenshot of the external link to my CSS file.
It applies the CSS document when I create a new HTML document from my template but when I save it, then open it back up, the CSS is ignored. I have been using DW for about five years and I have never had this issue prior so unless DW has had a major update that I was unaware of - and update that requried an addition step in loading an external CSS document, or I'm slowly losing my faculties, I fail to see what I am doing wrong.
The CSS file is in the <head> section of the HTML document, where I have always placed this nd where this is supposed to go. I have also moved this to immediately after the <head> tag, with the same result.
Seriously
Copy link to clipboard
Copied
I hope that you realise that we do not see or experience what you are talking about.
As an update DW has now decided to honor the non-editable regions so hopwfully it won't have another hissy fit in that department.
Seriously
By @Deleted User
Dreamweaver does not decide anything, it does exactly what it is told to do. I have a faint suspicion that the instructions were not free of errors.
As far as the style sheet is concerned, if styling does not show up in your page, then I'll bet the link to the style sheet is incorrect. This is assuming that the style rules are free of errors.
Copy link to clipboard
Copied
In additon to this,
There's something seriously wrong with DW at the moment, build 15593 v21.3
Copy link to clipboard
Copied
There's something seriously wrong with DW at the moment
By @Deleted User
Probably
Have a read of this https://helpx.adobe.com/dreamweaver/kb/paths-dreamweaver-templates.html
Copy link to clipboard
Copied
If you;re not going to help, then do us all a favour and [inflamatory and disrespectful language removed by moderator]
Copy link to clipboard
Copied
Have you read the help documentation?
Copy link to clipboard
Copied
If you;re not going to help, then do us all a favour and piss off.
By @Deleted User
Honestly, there has not been a single question any of your rants, only statements.
Come with a real question and I will attempt to help you.
Copy link to clipboard
Copied
This is also a discussion board, not necessarily just a Q&A board
I brought an issue to this forum because there may be other people who have had the same or similar issues and those people might have found a solution which they could share. I have not ranted at all, but this is also a discussion board: someone brings an issue, and it's discussed by anyone who wants to take part. Simply asking "why does XYZ not work?" wouldnt have been helpful to anyone.
Thank you for the link you sent me as well, I should have propertly looked at your comment before replying.
Copy link to clipboard
Copied
Sorry Ben, I didnt see the link you also posted.
Copy link to clipboard
Copied
Seeing this code
I am led to believe that `master-styling.css` is outside of the root of the site.
This should read <link rel="stylesheet" href="../master-styling.css"> if the style sheet is in the root directory.
Copy link to clipboard
Copied
To elaborate on my reply, if this is the template file
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link rel="stylesheet" href="../styles.css">
</head>
<body>
<!-- TemplateBeginEditable name="content" -->
<h1>My Title</h1>
<!-- TemplateEndEditable -->
</body>
</html>
Then the child file will look like
<!doctype html>
<html><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- InstanceBeginEditable name="content" -->
<h1>My Title</h1>
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
Notice the difference in the link to the style sheet. This was explained in the help document.