Spacing above GuestBook Title varies on different pages
Permalink
OK - here is a strange one. Working on a site where I put a Guestbook / Comments block under each blog and other type postings.
Some I did manually before I setup the Page Type Defaults to include it. But that doesn't seem to have a bearing on the problem.
The problem is some of the GuestBook blocks have a decent amount of top margin or spacing above the Title - while others have much more - too much.
I don't understand how the internal spacing of a block can change from page to page? And, yes, I checked the Design properties of each - none have been modified to include spacing or padding. Screenshots in edit mode attached to show the block outlines - which is the same spacing that appears in non-edit mode.
Some I did manually before I setup the Page Type Defaults to include it. But that doesn't seem to have a bearing on the problem.
The problem is some of the GuestBook blocks have a decent amount of top margin or spacing above the Title - while others have much more - too much.
I don't understand how the internal spacing of a block can change from page to page? And, yes, I checked the Design properties of each - none have been modified to include spacing or padding. Screenshots in edit mode attached to show the block outlines - which is the same spacing that appears in non-edit mode.
Do you have example URLs for your examples?
Greetings Mainio,
Thanks for responding.
Guestbook block with normal spacing above the title:
http://highdeserthomesteading.com/projects/home-roasting-green-coff...
Same block but with too much spacing:
http://highdeserthomesteading.com/blog/june-29th-89-degrees-preps-w...
A couple of notes:
I looked at the browser source code for each page and see no difference in the area concerned. This is the segment from both pages and it is identical on both pages:
Also, I copied the concrete/blocks/guestbook folder into the /blocks/ folder to modify the view.php to remove the "leave a reply" text and also reduce the top margin in the view.css as shown below - by default is was set to 30px. I change to 10px but that had no effect.
So, we have the exact same block on each page that produces the exact same HTML to the browser - yet the spacing is very different?
Thanks for responding.
Guestbook block with normal spacing above the title:
http://highdeserthomesteading.com/projects/home-roasting-green-coff...
Same block but with too much spacing:
http://highdeserthomesteading.com/blog/june-29th-89-degrees-preps-w...
A couple of notes:
I looked at the browser source code for each page and see no difference in the area concerned. This is the segment from both pages and it is identical on both pages:
</div> <div class="spacer"></div> </div></div><h4 class="guestBook-title">Questions / Comments?</h4>
Also, I copied the concrete/blocks/guestbook folder into the /blocks/ folder to modify the view.php to remove the "leave a reply" text and also reduce the top margin in the view.css as shown below - by default is was set to 30px. I change to 10px but that had no effect.
h4.guestBook-title { border-bottom:1px solid #666666; margin-top:10px;
So, we have the exact same block on each page that produces the exact same HTML to the browser - yet the spacing is very different?
You have a duplicate 'next previous' block at bottom of coffee beans page. Try taking it out and see if that helps with spacing. Once the pages are the same then adjust your CSS.
On the page where you see the excess space, the div wrapper is looking like this:
However, on the page where you DO NOT see it, it looks like this:
So the extra "blog-entry" class is causing this excess space above the commenting block, as per your CSS rules:
It's line 412 in your main.css.
<div class="twelve columns blog-entry">
However, on the page where you DO NOT see it, it looks like this:
<div class="twelve columns">
So the extra "blog-entry" class is causing this excess space above the commenting block, as per your CSS rules:
.c5wrapper .blog-entry h4.guestBook-title { margin-top: 100px; }
It's line 412 in your main.css.
Hi Mainio,
WOW, you are good. I would have never figured that one out.
Many, many thanks.
And also thank you Steevb for your reply - I've found with concrete if I paste a block from the clipboard - it always puts 2 copies in the published page. I missed that duplicate because it ended up below the guestbook somehow. Removed.
WOW, you are good. I would have never figured that one out.
Many, many thanks.
And also thank you Steevb for your reply - I've found with concrete if I paste a block from the clipboard - it always puts 2 copies in the published page. I missed that duplicate because it ended up below the guestbook somehow. Removed.