How to edit HTML in a Drupal web page?

I have a Drupal test site with a problem on the front (home) page.
There's a sticky page node in the content of the page titled "Our Mission" - see here:
http://at.mywitsend.co.nz/

Between that page and the primary links on the header is a mystery empty div which has somehow been created along with the "Our Mission" page:

<div class="mission">
<br />
</div>

That div inserts an empty block which you can see on the page. Problem is, I have no idea how to edit the actual HTML to get rid of it.

Help!



LVL 24
Alan HendersonRetired marine engineerAsked:
Who is Participating?

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

x
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.

Amanda WatsonWeb DeveloperCommented:
The basic page layout of your site comes from the page.tpl.php file in your chosen theme's folder. Does that help?
0
sivagnanam chandrakanthTechnical LeadCommented:
Go to page.tpl.php file in your themes folder

It will have following code

<div id="container" class="layout-region">
<div id="sidebar-left" class="sidebar">
</div>
<div id="main">
<div class="main-inner">
<div class="mission">
<br/>
</div>
<div id="content" class="clearfix">
</div>
<div class="feed-icon clearfix">
</div>
</div>
</div>
</div>

Remove the <div class="mission">
<br/>
</div> from that.

                   OR

Go to your style.css file in your selected themes folder

.mission {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#FFFFFF url(images/bg-shade-white-lrg.png) repeat-x scroll left bottom;
border:1px solid #EEEEEE;
color:#000000;
margin:0 0 1px;
padding:15px;
}

Remove this 4 lines

background:#FFFFFF url(images/bg-shade-white-lrg.png) repeat-x scroll left bottom;
border:1px solid #EEEEEE;
color:#000000;
margin:0 0 1px;
padding:15px;

Hope you are problem will solve this
0

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
Alan HendersonRetired marine engineerAuthor Commented:
Thank you both!

The offending code I removed was:
           <?php if ($is_front && $mission): ?>
             <div class="mission"><?php print $mission; ?></div>
           <?php endif; ?>
 
 Problem fixed.
 
 :o)
0
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
Drupal

From novice to tech pro — start learning today.