Post by thanhdiepts » Mon Feb 08, 2010 1:43 pm

Hi all,

I'm using 1.40 and I'd like to change the height of header. I try edit CSS and tpl but it no change. There is still blank below the image. Any one can help me? How do I remove the blank below image?

Thanks,http://serverpartworld.com/opencart/201 ... 1%2043.jpg

Newbie

Posts

Joined
Mon Feb 08, 2010 1:36 pm

Post by Miguelito » Mon Feb 08, 2010 2:17 pm

What does your header.tpl look like?

The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."


Active Member

Posts

Joined
Sun Jan 10, 2010 10:11 pm

Post by thanhdiepts » Mon Feb 08, 2010 2:21 pm

Miguelito wrote:What does your header.tpl look like?
Here it is,
<div id="container">
...
<div id="header">
<!-- container / header -->
<div class="div1">

<div class="banner1">&nbsp;</div>

<div class="div2">
<!-- div2 not used in this layout see css file -->
</div>
<div class="div3">
<!-- div3 not used in this layout see css file -->
</div>

<div class="div4">
<!-- this div was changed from 5 to 4 see css file -->

<div class="left"></div>
<div class="right"></div>
<div class="center">

<div class="div5">
...

Newbie

Posts

Joined
Mon Feb 08, 2010 1:36 pm

Post by Miguelito » Mon Feb 08, 2010 5:52 pm

Okay, what about your catalog/view/theme/All-CSS-NoTab/stylesheet/stylesheet.css ?

The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."


Active Member

Posts

Joined
Sun Jan 10, 2010 10:11 pm

Post by thanhdiepts » Mon Feb 08, 2010 5:58 pm

Miguelito wrote:Okay, what about your catalog/view/theme/All-CSS-NoTab/stylesheet/stylesheet.css ?
http://serverpartworld.com/stylesheet.css

Newbie

Posts

Joined
Mon Feb 08, 2010 1:36 pm

Post by Miguelito » Mon Feb 08, 2010 6:12 pm

What happens if your remove/comment div2 and div3 from stylesheet.css ?

The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."


Active Member

Posts

Joined
Sun Jan 10, 2010 10:11 pm

Post by thanhdiepts » Mon Feb 08, 2010 7:05 pm

Miguelito wrote:What happens if your remove/comment div2 and div3 from stylesheet.css ?
Even I delete or comment out div2 and div3, the blank is not removed. ???

Newbie

Posts

Joined
Mon Feb 08, 2010 1:36 pm

Post by asg333 » Mon Feb 08, 2010 11:44 pm

Hi,

Try putting div3 back and adjusting the height or padding.

New member

Posts

Joined
Mon Jan 11, 2010 12:33 am

Post by thanhdiepts » Tue Feb 09, 2010 10:28 am

Fixed! Because padding of div4. Thank all!

Newbie

Posts

Joined
Mon Feb 08, 2010 1:36 pm
Who is online

Users browsing this forum: No registered users and 8 guests