Page 1 of 1
Slight Problem with Aphrodite template

Posted:
Fri Jan 05, 2007 3:24 pm
Author: wizard7070
Your phpBB Version: 2.0.21
phpBB Type: Integramod 132
MODs: Yes
Your knowledge: Advanced Knowledge
Board URL: http://www.faceforward.org.uk/forums/adult/portal.php PHP Version: MySQL Version: What was done before the problem appeared?Nothing What was done to try to solve the problem?Not a lot i can do Description and MessageI need some help. When using the aphrodite template on my board, the html blocks will not centre, so text is always to the left. It works fine with morpheus the other template i am using on my board, so i know its not a html error.
Re: Slight Problem with Aphrodite template

Posted:
Fri Jan 05, 2007 10:33 pm
Author: Teelk
Hey wizard7070,
When you say "html blocks" do you mean the portal blocks? You can find the code for those in the template layout folder. If you need more specific help, feel free to ask again.
Re: Slight Problem with Aphrodite template

Posted:
Sat Jan 06, 2007 3:29 am
Author: wizard7070
Hi
Yeah its a portal block, and under the option of using a block etc fourm, top posters etc. I simply set it to none. and enable html. Should i be using a block?
Thanks
Re: Slight Problem with Aphrodite template

Posted:
Sat Jan 06, 2007 3:33 am
Author: Frost
So you are using a block made of html that you did yourself and trying to center it?
If so, post the code you are trying to use
Re: Slight Problem with Aphrodite template

Posted:
Sat Jan 06, 2007 4:25 am
Author: wizard7070
I dont think its the code as it works fine with morpheus, but heres an example anyway
<p>Everyone here at faceforward would like to welcome all new members to the forums. I hope you will enjoy your stay and continue to contribute to the discussions that take place. A good place to start would be to tell us about yourself in the introduction section of the forum found <a>here</a> </p>
<p>There are a whole host of features to use, feel free to explore each one in detail. For some the forums might seem daunting at first a good FAQ found <a>here</a> will help you get started.</p>
Even tried <centre> and </centre> at start and finish, with no luck.
I had a look at the layout folder and edited the portal_body.tpl
I put the <centre> tags before and after {center_blocks_row.OUTPUT} and {right_blocks_row.OUTPUT} although it still doesnt work for html. It does now centre in BBcode, which is fine as if i want to keep it left just use html lol.
Only thing i need now is where is the header? its not in that file only the two i mentioned.
Re: Slight Problem with Aphrodite template

Posted:
Sat Jan 06, 2007 4:37 am
Author: Frost
try this
[code]<div>Everyone here at faceforward would like to welcome all new members to the forums. I hope you will enjoy your stay and continue to contribute to the discussions that take place. A good place to start would be to tell us about yourself in the introduction section of the forum found <a href="http]
And I'm not sure but it also might back a difference between "centre" and "center"
As this is just text I don't see any reason why it is not centering unless specificaly told not to in the css of your template. You can try showing me the .css file to the style and I'll have a look there too.
Also, make sure "Enable HTML" is on instead of bbcode

Posted:
Sat Jan 06, 2007 4:51 am
Author: wizard7070
Thank you for that. It worked fine, i can only assume its center instead of centre or could be the div tag, not heard of that one before, will have to look it up. Strange how it works for one template and not another.
Again Thanks
Re: Slight Problem with Aphrodite template

Posted:
Sat Jan 06, 2007 6:09 am
Author: Frost
You're welcome <img>
You could try one or the other, but I think both would have worked individually.
Still good to know what works and what doesn't for future references