Page 1 of 1

First of all, this g

Posted: 25 Mar 2008, 12:25
by Spammer
First of all, this guestbook is great!!!!

But I have one question that I can't fix on my own.
The page title seems to be one line to low in perspective to my other
pages.

I tried to adjust the default.php (div.componentheading...) in the tmpl dir, but nothing seems to work.

Is there anyone who knows a sollution.

Kind regards,

Dre

???Hi, t

Posted: 25 Mar 2008, 13:19
by Jan
???

Hi, try to change the:

margin and padding of the whole box, e.g.:
margin:0px;padding:0px...

Dear Jan,

Posted: 25 Mar 2008, 15:46
by Spammer
Dear Jan,

I don't know what you mean????

The only thing thats there is:

<?php if ( $this->params->get( 'show_page_title' ) ) : ?>
<div class="componentheading<?php echo $this->params->get('pageclass_sfx') ?>"> <?php echo $this->escape($this->params->get('page_title')); ?> </div>
<?php endif; ?>

If I replace the page title with plain text in the default.php then it is shown
at the top of the page.
Here is the link so you can see what I mean:
http://www.kleinduimpje-almere.nl/index.php/gastenboek

and if you look at the homepage:
http://www.kleinduimpje-almere.nl/
You'll see that the title is one line higher then the guestbook.

Kind regards,

Dre

If I use standard we

Posted: 25 Mar 2008, 16:15
by Jan
If I use standard web browser such as Firefox, there is no difference...

In non standard browsers such as IE, there is a difference, but

Guestbook site has the same box as Conent site:
<div class="componentheading"> Gastenboek </div>


so it means, maybe you should change the padding or margin of parent box but,

the problem is, both have the same parent box:
<div id="main">


But in Guestbook, there is a Javascript, so try to add into a:
components\com_phocaguestbook\assets\phocaguestbook.css
the following code:
script {padding:0px;margin:0px;}

but I think, script tag is not a block tag and it doesn't create some space.... and if I try it on rhuk template or beez template with IE, there are no differencies, ...

So try to add into:

div#container e.g. padding:0px;margin:0px;

or in
div#main e.g. padding:0px;margin:0px;

in your template CSS file...

Jan

No luck there

Posted: 25 Mar 2008, 21:02
by Spammer
No luck there

But I'll keep trying