Black Pearl Not Supporting Center Align? »  Show posts from    to     

Icy Phoenix


phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - Black Pearl Not Supporting Center Align?



ubahpenguin [ Mon 19 Oct, 2009 21:35 ]
Post subject: Black Pearl Not Supporting Center Align?
Alright well, as the title says, Black pearl doesn't seem to be supporting my center align thing.
It works with left and right alignment but not center, it shows the bbcode and doesn't align it to the center.
demo
It seems to work with pro silver just fine but not Black Pearl, why is this and how do i fix this?


Mighty Gorgon [ Wed 21 Oct, 2009 00:20 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Did you properly edit styles/black_pearl/template/bbcode.html?


ubahpenguin [ Wed 21 Oct, 2009 19:58 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Mighty Gorgon wrote: [View Post]
Did you properly edit styles/black_pearl/template/bbcode.html?


what do I add precisely? It'd be the first time I've ever had to edit the bbcode.html.


Mighty Gorgon [ Wed 21 Oct, 2009 20:09 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Which edits are required by that mod?

Can you post installing instructions please?


ubahpenguin [ Wed 21 Oct, 2009 22:28 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Mighty Gorgon wrote: [View Post]
Which edits are required by that mod?

Can you post installing instructions please?


Not a mod, just trying to make the BBCode for center alignment work but it doesn't.


spydie [ Thu 22 Oct, 2009 00:18 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
if you´re trying to edit an block. make shure you have it switched to bbcode and not to html


Mighty Gorgon [ Thu 22 Oct, 2009 08:38 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
ubahpenguin wrote: [View Post]
Not a mod, just trying to make the BBCode for center alignment work but it doesn't.

Please post me the code you are using and the settings you are using in your ACP, so I can check.


brewster [ Tue 03 Nov, 2009 22:27 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Meh ... I can't even get my sons forum aligned to the center of the screen! No matter what I do it's aligned to the right. Even the alignment of "sitelogo_small" - when set to align center in the header table, doesn't center properly - the header gradient still shows on the right side. Increasing the width of the image to 950 breaks the page entirely!

This style is nice and my son wants it, but it's making me crazy with these edits.

http://blueflamepress.com/forum


Joshua203 [ Wed 04 Nov, 2009 00:51 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
in overal header modify:

Code: [Hide] [Select]
<td height="165" align="left" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>


im now gonna stop chasing your posts ... lol


brewster [ Wed 04 Nov, 2009 01:27 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Joshua203 wrote: [View Post]
in overal header modify:

Code: [Hide] [Select]
<td height="165" align="left" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>


im now gonna stop chasing your posts ... lol


Who ... ME? LOL!

Oh merde ...
I have this there:
Code: [Hide]
  1. <td height="150" align="center" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>  
  2.  

and that doesn't center the image. The "shadowright" (I think that's what it's called) still shows by about 10px. I've tried enlarging the image to 950 and that just breaks the table altogether, resulting in a scrollbar. Not good:( The image height of 150 fits the space perfectly, however.

I saw one forum based on BP that had an image measuring 950x200 and it fit perfectly. I tried viewing his source and found nothing different than mine - yet if I go larger in height than 150 the bottom of the image covers the upper blue border on the menu. I am beginning to talk to myself and scaring my wife. She says when I start answering .... she's leaving.


Joshua203 [ Wed 04 Nov, 2009 02:04 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
uuhm did you remove

Code: [Hide] [Select]
<td align="center" valign="middle"><h1><font color="#AA0000" size="5px"><b><i><u>{SITENAME}</u></i></b></font></h1><span class="gen"><font color="lime"><b><i>{SITE_DESCRIPTION}</i></b></font></span></td>
<td align="right" valign="top">&nbsp;</td>


? or something that looks like that

i'm walking away too hahaha


Mighty Gorgon [ Wed 04 Nov, 2009 10:32 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Best thing you can do is having a PNG logo which will fit any background. Alternatively you can design the logo to match the gradient, so you won't see mismatching when the logo ends.

There are many ways to align things, first you need to make sure that you have a proper container which is 100% width, otherwise your efforts will be useless.


brewster [ Wed 04 Nov, 2009 16:06 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Mighty Gorgon wrote: [View Post]
Best thing you can do is having a PNG logo which will fit any background. Alternatively you can design the logo to match the gradient, so you won't see mismatching when the logo ends.

There are many ways to align things, first you need to make sure that you have a proper container which is 100% width, otherwise your efforts will be useless.


The logo IS a PNG, Luca:) Doesn';t make any difference. I tried using the gradient as a BG but because it is only a slice could not expand it in PSP to take the dimension I wanted, so I used the standard #111 bg color. Because I use a dropshadow highlight fore the text I couldn't use a transparent PNG because I got a load of artifacts around the text.

I'm not sure what you mean about the 100% container width - I haven't changed any of the CSS relating to the size of the header container. All I did was make a new sitelogo_small.png to hopefully cover the original one. making it the same size as the original header container (950x165) breaks it entirely.

The only thing I've been able to come up with that cleans up the logo somewhat is to remove the following from the #top_logo container:
Code: [Hide]
  1. background: url('./images/top_header.png') repeat;  
  2.  

which renders the whole container area as the standard #111 bg color. None of this has changed anything about the entire forum aligning itself to the tight - leaving a margin of appx 25px on the left. I haven't changed anything that should have effected that, and I haven't touched the PHP files at all to change this.

I'm just stumped. maybe if you looked at the forum? Firefox's Web Developer add-on doesn't give me any help at all.


Joshua203 [ Wed 04 Nov, 2009 21:55 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
well i had some time left today so since you did not answer my last question, i been looking for it:

did you remove the code mentioned above? : partly

i can only wonder why this is still in there:
Code: [Hide] [Select]
<td align="center" valign="middle"><h1></h1><span class="gen"></span></td>
<td align="right" valign="top">&nbsp;</td>


i could be wrong but i think that is the reason you re off centered

Edit: maybe that second line should stay i m not sure


brewster [ Thu 05 Nov, 2009 00:05 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Joshua203 wrote: [View Post]
well i had some time left today so since you did not answer my last question, i been looking for it:

did you remove the code mentioned above? : partly

i can only wonder why this is still in there:
Code: [Hide] [Select]
<td align="center" valign="middle"><h1></h1><span class="gen"></span></td>
<td align="right" valign="top">&nbsp;</td>


i could be wrong but i think that is the reason you re off centered

Edit: maybe that second line should stay i m not sure


No - haven't had a chance, Joshua - I was a bit confused by your question. That line - whatever it is - was always there, I didn't add it. I haven't yet learned PHP so I hesitate to get in there and mess around with things I don't understand.

Now this line above is from the stylesheet? It is curious that the H1 tag is blank, but I don't know what else it does. I just hesitate to remove stuff without knowing why its present and what it does. I see the line also has an open span class. I have NO idea what that's all about - but then there are a lot of things in this style that have me scratching my head.


Joshua203 [ Thu 05 Nov, 2009 00:13 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
well in all fairness i m not sure if it is the cause but i think you left the forum name and description empty, those would normally be in the first line

the file i am talking about is the overall_header.html

Edit: i would try removing the first line and if that does not correct it then try removing the second one too?? (after having backed up the original)

Edit 2: attached a black header


brewster [ Thu 05 Nov, 2009 06:23 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Joshua203 wrote: [View Post]
well in all fairness i m not sure if it is the cause but i think you left the forum name and description empty, those would normally be in the first line

the file i am talking about is the overall_header.html

Edit: i would try removing the first line and if that does not correct it then try removing the second one too?? (after having backed up the original)

Edit 2: attached a black header


I spent some time this afternoon after reading all this again. The more I looked at those lines of code, the more it occurred to me that these lines were in fact artifacts of leaving the site name and description blank. Turns out you were correct all along, but didn't explain it in a way I understood. That's not YOUR fault - it's mine. At my age things don't come as easily as they did in my younger years:(

So since I'm not having much luck sleeping right now I went and removed the following:
Code: [Hide]
  1. <td align="center" valign="middle"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>  
  2. <td align="right" valign="top">&nbsp;</td><td align="right" valign="top">&nbsp;</td>  
  3.  

and everything looks pretty good. The alignment is off now by maybe a few pixels, but not enough to worry about. I may just try making a new sitelogo_small that is larger and see what happens.

I have just one more lingering problem I can't figure out that I will put in another post - concerning the class ".quotecontents" and why changing it doesn't change the color of text added after a quote:(

Thanks for the help, Joshua - it IS appreciated.


Joshua203 [ Thu 05 Nov, 2009 13:37 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
well it does not matter as long as you fixed it to your satisfaction, maybe i am somewhat chaotic but most of all i am just an amateur in candy land like yourself

trying to get a point across can be hard sometimes even more when not focussing on one particular problem before going to the next

Quote:
and everything looks pretty good. The alignment is off now by maybe a few pixels, but not enough to worry about. I may just try making a new sitelogo_small that is larger and see what happens.

I don t see it, must be a good sign.. lol

i hope the black topheader replacementpeng i attached for you was good for something, but if you need to change colors on graphics in future, ... i used office picture manager for the one attached ...i guess any tool will do this if it has an edit function


Mighty Gorgon [ Thu 05 Nov, 2009 21:50 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
This is one of the best example of how users should behave in a forum.

This may sound strange, but reading your posts really made me happy today.

Thanks both guys.


Joshua203 [ Thu 05 Nov, 2009 22:53 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
You re very welcome MG, now stop making us blush hahahha

thnx for the other thingi too, i ll find out what it means soon


brewster [ Thu 05 Nov, 2009 23:14 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Joshua203 wrote: [View Post]
You re very welcome MG, now stop making us blush hahahha

thnx for the other thingi too, i ll find out what it means soon


"Other thingy"? What other thingy! Did you get something I didn't get, Joshua? That's not fair!


Joshua203 [ Thu 05 Nov, 2009 23:54 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
skeleton_20_june
Me running to hide my toys


Mighty Gorgon [ Sat 07 Nov, 2009 11:33 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
brewster wrote: [View Post]
"Other thingy"? What other thingy! Did you get something I didn't get, Joshua? That's not fair!

Ok brewster, choose a prize from the central shelf...


brewster [ Sat 07 Nov, 2009 16:49 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Mighty Gorgon wrote: [View Post]
brewster wrote: [View Post]
"Other thingy"? What other thingy! Did you get something I didn't get, Joshua? That's not fair!

Ok brewster, choose a prize from the central shelf...


Okay Luca - you lost me:) "Central shelf"?

Not to worry - I was just messing with Joshua anyway


Mighty Gorgon [ Mon 09 Nov, 2009 12:21 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Well, maybe I didn't express myself correctly as English is not my native language.

I was trying to joke: in amusement parks if you go shooting and you hit all targets you win a prize... so I was trying to kid you about that "Choose a prize from the central shelf". I hope that everything is clear now, and sorry for not being so fluent in English.


brewster [ Mon 09 Nov, 2009 19:53 ]
Post subject: Re: Black Pearl Not Supporting Center Align?
Mighty Gorgon wrote: [View Post]
Well, maybe I didn't express myself correctly as English is not my native language.

I was trying to joke: in amusement parks if you go shooting and you hit all targets you win a prize... so I was trying to kid you about that "Choose a prize from the central shelf". I hope that everything is clear now, and sorry for not being so fluent in English.


Not to worry, Luca - I thought it was something like that. LOL:) And don't worry about English skills - half the people here aren't fluent either!

Now if my sister in law can teach me some basic Italian ...




Powered by Icy Phoenix