Problem with board module cell spacing
Problem with board module cell spacing
Hello all,
I recently installed Board3 portal v2.0 and am running phpbb 3.0.10.
The portal works fine except the cell spacing on the module boxes is incorrect. It appears shifted up. You can see what I mean when you go to my portal:
http://knights.jamespaulsarte.com
I am not sure where to look to correct the alignment of the boxes. Can someone please tell me what needs to be done?
Thank you.
I recently installed Board3 portal v2.0 and am running phpbb 3.0.10.
The portal works fine except the cell spacing on the module boxes is incorrect. It appears shifted up. You can see what I mean when you go to my portal:
http://knights.jamespaulsarte.com
I am not sure where to look to correct the alignment of the boxes. Can someone please tell me what needs to be done?
Thank you.
-
- Dev
- Posts: 2504
- Joined: 17. July 2008 21:08
- phpBB.de User: marc1706
- phpBB.com User: Marc
- Location: Clausthal-Zellerfeld / München
- Contact:
Re: Problem with board module cell spacing
Please add what browser and what version of that browser you are using. I can't see anything wrong.
Re: Problem with board module cell spacing
Sorry about that; that's because I just fixed it.
I found that I had to edit this line in the _block_config.html file:
Where it says "dt style="padding: 0px 0px 8px;", I changed the last digit from 2 to 8px. It moved the border down.
Now I'm wondering how to remove any gap between the lighter shade inside the module box and the outline of the box itself. Is that possible?
I found that I had to edit this line in the _block_config.html file:
Code: Select all
<!-- DEFINE $LR_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header"><dl><dt style="padding: 0px 0px 8px; white-space: nowrap; margin-bottom: 0px; margin-top: 0px;">' -->
Now I'm wondering how to remove any gap between the lighter shade inside the module box and the outline of the box itself. Is that possible?
-
- Portal Professional
- Posts: 1963
- Joined: 19. April 2009 21:34
- phpBB.de User: archivar
- phpBB.com User: archivar
- Location: Deutschland
Re: Problem with board module cell spacing
Thread moved to Styles support.
A download link for the style would be helpful.
A download link for the style would be helpful.

V.G. archivar
sorry for my bad english
sorry for my bad english
Re: Problem with board module cell spacing
Here is a link to the style:archivar wrote:Thread moved to Styles support.
A download link for the style would be helpful.
http://www.phpbb.com/community/viewtopic.php?t=2125167
-
- Portal Professional
- Posts: 1963
- Joined: 19. April 2009 21:34
- phpBB.de User: archivar
- phpBB.com User: archivar
- Location: Deutschland
Re: Problem with board module cell spacing
The style is phpBB v. 3.0.8!
Replace the contents of _block_config.html:
Remove it in portal-style files attachments_center.html, custom_center.html, poll_center.html, welcome_center.html :
Replace the contents of _block_config.html:
Code: Select all
<!-- Config for the left and right blocks //-->
<!-- DEFINE $LR_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header"><dl><dt style="padding: 0px 0px 6px; white-space: nowrap; margin-bottom: 0px; margin-top: 0px;">' -->
<!-- DEFINE $LR_BLOCK_H_R = '</dt></dl></li></ul><ul class="topiclist forums"><li><dl><dd style="border-left: 0px; width: 100%;"><div style="text-align: left; margin: 5px 5px 5px 5px">' -->
<!-- DEFINE $LR_BLOCK_F_L = '</div></dd></dl></li></ul>' -->
<!-- DEFINE $LR_BLOCK_F_R = '<span class="corners-bottom" style="margin-bottom: -5px; margin-top: 0px;"><span></span></span></div></div><br style="clear:both" />' -->
<!-- Config for the center blocks //-->
<!-- DEFINE $C_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header"><dl class="icon"><dt>' -->
<!-- DEFINE $C_BLOCK_H_R = '</dt></dl></li></ul>' -->
<!-- DEFINE $C_BLOCK_F_L = '' -->
<!-- DEFINE $C_BLOCK_F_R = '<span class="corners-bottom" style="margin-bottom: -5px; margin-top: 0px;"><span></span></span></div></div><br style="clear:both" />' -->
<!-- Config for compact blocks //-->
<!-- DEFINE $CC_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header"><dl class="icon">' -->
<!-- DEFINE $CC_BLOCK_H_R = '</dl></li></ul>' -->
<!-- Images-URL //-->
<!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' -->
<!-- Vertical distance between left/right and center Blocks -->
<!-- DEFINE $BLOCK_DISTANCE = '10px' -->
<!-- show Icons in left/right Blocks? 0=no 1=yes -->
<!-- DEFINE $S_BLOCK_ICON = 1 -->
<!-- postbody top (default 1 by prosilver) 0=no 1=yes -->
<!-- DEFINE $S_POSTBODY_TOP = 1 -->
<!-- override the column width settings of the ACP for this style? 0=no 1=yes -->
<!-- DEFINE $S_COLUMNS_WIDTH_OVERRIDE = 0 -->
<!-- override the column width settings of the ACP - set the width if enabled -->
<!-- DEFINE $PORTAL_LEFT_COLUMN_OVERRIDE = '200' -->
<!-- DEFINE $PORTAL_RIGHT_COLUMN_OVERRIDE = '200' -->
Code: Select all
panel
V.G. archivar
sorry for my bad english
sorry for my bad english
Re: Problem with board module cell spacing
Thank you for your help. I will try what you have suggested.
Edit:
Thank you so much for your help. The portal looks so much nicer now that I was able to incorporate the edits you suggested. You may see how it appears at our new domain name:
http://cn-knights.net
I was hoping to ask you a favor. It seems I have a similar problem with the cell spacing in the actual forum itself. I realize now that this style is for 3.0.8. Since you did not create this style, you are not responsible for providing support but it seems you may be the best person to ask. If you are willing to assist, what files in the main template do I need to edit so I can also make the forum blocks look nice and neat like the portal?
Thank you very much!
Edit:
Thank you so much for your help. The portal looks so much nicer now that I was able to incorporate the edits you suggested. You may see how it appears at our new domain name:
http://cn-knights.net
I was hoping to ask you a favor. It seems I have a similar problem with the cell spacing in the actual forum itself. I realize now that this style is for 3.0.8. Since you did not create this style, you are not responsible for providing support but it seems you may be the best person to ask. If you are willing to assist, what files in the main template do I need to edit so I can also make the forum blocks look nice and neat like the portal?
Thank you very much!

Re: Problem with board module cell spacing
Disregard. I fixed it by modifying the theme's common.css file.
Thanks again.
Thanks again.
Re: Problem with board module cell spacing
Oops!
After I fixed the forum cell spacing by modifying the common.css file, the portal borders got messed up again. This time, the bottom of the tables are protruding past the cell border.
http://cn-knights.net/portal.php
Sorry, but not sure what variable in _block_config.html has to be edited to compensate. Could you please tell me?
This is what I added to the common.css file:
In context:
After I fixed the forum cell spacing by modifying the common.css file, the portal borders got messed up again. This time, the bottom of the tables are protruding past the cell border.
http://cn-knights.net/portal.php
Sorry, but not sure what variable in _block_config.html has to be edited to compensate. Could you please tell me?
This is what I added to the common.css file:
Code: Select all
}
.forabg span.corners-bottom, .forumbg span.corners-bottom, .forabg span.corners-bottom span, .forumbg span.corners-bottom span {
height: 0;
Code: Select all
}
span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span {
font-size: 1px;
line-height: 1px;
display: block;
height: 5px;
background-repeat: no-repeat;
}
.forabg span.corners-bottom, .forumbg span.corners-bottom, .forabg span.corners-bottom span, .forumbg span.corners-bottom span {
height: 0;
}
span.corners-top {
background-image: none;
background-position: 0 0;
margin: 0 -5px;
}
Re: Problem with board module cell spacing
Disregard. I found the right variables to modify in the _block_config.html file.