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
Guestbook Page Title
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
???Hi, t
???
Hi, try to change the:
margin and padding of the whole box, e.g.:
margin:0px;padding:0px...
Hi, try to change the:
margin and padding of the whole box, e.g.:
margin:0px;padding:0px...
If you find Phoca extensions useful, please support the project
-
Spammer
- Phoca Newbie

- Posts: 3
- Joined: 25 Mar 2008, 12:06
Dear Jan,
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
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
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
If I use standard we
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
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
If you find Phoca extensions useful, please support the project
-
Spammer
- Phoca Newbie

- Posts: 3
- Joined: 25 Mar 2008, 12:06
No luck there
No luck there
But I'll keep trying
But I'll keep trying