Modify Area Above Editable Region In DW Template.

I'm trying to insert something above the editable region in a Dreamweaver CS4 Template. If I enter a return after the header banner it pushes the navigation menu down which I don't want to do. How do I do this?Read the red textNOTE: I Can't actually click or type where the red text is .... I just edited the screenshot!

Dreamweaver template attached. It's actually a .DWT file but I had to add .html for EE.
The website is www.birchroofing.ie

Do I need another div?
If I do, could you please advise what and where to insert it, as I haven't worked on CSS/HTML in ages.
birchMAIN-1.dwt.html
LVL 24
EirmanChief Operations ManagerAsked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
You can use a plain text or code editor to remove the Dreamweaver lines that restrict you and handle it as just an HTML file.  I edit DW files that way all the time.  DW is the only program that pays attention to those lines.
0
 
EirmanChief Operations ManagerAuthor Commented:
Unfortunately that won't work for me as I'm not adding a simple piece of text or a graphic.
I'll be adding a horizontal menu using a PVII Dreamweaver add-in.
0
 
Dave BaldwinFixer of ProblemsCommented:
Then use a plain text editor to move the <!-- InstanceBeginEditable name="EditRegion1" --> up to where you need it and try again.  It's just not that hard.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
Scott Fell, EE MVEConnect With a Mentor Developer & EE ModeratorCommented:
Actually, I would go to the split view (or design view) and enter your code there.  In this case, you want to put your text in front of the h2 tag.    

Change this
<div id="mainBody"><!-- TemplateBeginEditable name="EditRegion1" -->
    <h2>HEADING</h2>

Open in new window


to this
<div id="mainBody"><!-- TemplateBeginEditable name="EditRegion1" -->
<div class="redtext">My new text</div>
 <h2>HEADING</h2>

Open in new window

I would not suggest changing the template code for one page.  The reason is as soon as you update your template and apply the change to all pages, you changes are lost.

If you are not used to looking at the codeview or split view, it is a good idea to start.  It will help you in the end to get used to what is actually going on.
0
 
EirmanChief Operations ManagerAuthor Commented:
I didn't know about those restrictions within Dreamweaver. I used Komodo Edit 8 and it worked very nicely. Thanks to both of you.
0
 
Dave BaldwinFixer of ProblemsCommented:
You're welcome.!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.