PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old November 9th, 2010, 06:06 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 25
FORUMHOME HeaderBlock spacing?

I need to add a <br/> or 2 where my FORUMHOME HeaderBlock exists, as my logo and advertiser banners are running over it at times.

Which template should I edit to add the <br/>?

In addition, I want to center the FORUMHOME HeaderBlock within the space.

Running vB 4.0.8 & vBGallery 3.0

Last edited by PossumX; November 9th, 2010 at 06:15 PM.
PossumX is offline   Reply With Quote
Old November 10th, 2010, 09:52 PM   #2 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
the headerblock is sometimes problematic, and if I were you I would not add a <br />

The wrapper <ul> is not generated in a template but hardcoded in
forums/includes/vbgallery/forumhome_start.php
Code:
Content visible to verified customers only.
it is there twice, once for cached images, once for newly generated.

BUT I WOULD NOT TOUCH THAT if I were you - as the element is float left or right, that can be changed in Stylevars on a per Style base. There you can also change the distance from top. (if you need a higher header, you can add a <br /> in your main header template somewhere)
to play around with the settings..

go to ACP->Styles & Templates->Style Manager.
There in the style you want to change select Stylevars in the dropdown menu.
That will take you to the Style Variable Editor.

Scroll down to the vbgallery sections to the section: vbgallery_Headerblock
There you have 3 stylevars you can edit.
ppg_hdblock_position : setting left or right
ppg_hdblock_topmargin: it is set to -4, default for left, but if you set it to right above.. you might need another height.
ppg_hdblock_topmargin_noreg: if you set it to right above.. you will need another distance to top so the block will not interfere with the login stuff.

more detailed explanation from the stylevar help:
Quote:
Useful if you set the Headerblock to 'right'. As the login in header has a different height than the block for registered users, you might need a different top-margin for guests. You can position the block higher by using a negative top-margin: example -12 will set the Block 12 pixel higher than default. [Suggested setting when block is set to 'right': Units: px and Size:-12]
negative value : -12 will set block higher than default, positive value will set it lower..

it says if you set to right, but of course it will also work if the headerblock is "left"
Luc

Last edited by Luciano; November 10th, 2010 at 10:03 PM.
Luciano is offline   Reply With Quote
Old November 11th, 2010, 04:59 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 25
Thank you very much. Unfortunate that it can't be centered, but the right side justification is better, and the spacing was easily set in the StyleVars.
PossumX is offline   Reply With Quote
Old November 13th, 2010, 07:35 AM   #4 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
centering is a bummer, because now you have float:left and float:right.
if you want to center it, you would have to change the whole html and you wouldnt be able to place it left or right anymore.
Luciano is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spacing and aligning in Pp 7.03 Geiri Photopost Pro Bug Reports 12 October 26th, 2010 11:13 AM
spacing issue Smoothie Photopost Pro Bug Reports 1 August 9th, 2006 04:18 PM
Spacing iguanairs How Do I? - vBulletin 3.5.X 8 August 19th, 2005 10:23 AM


All times are GMT -5. The time now is 11:56 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0