Centering text in viewtopic

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Get Involved

Centering text in viewtopic

Postby mals69 » Tue Jan 26, 2010 7:11 am

Would like to be able to center the post content (sentances) in viewtopic, instead of the sentances not being on a center margin.
Last edited by mals69 on Wed Feb 10, 2010 4:10 am, edited 3 times in total.
User avatar
mals69
Registered User
 
Posts: 567
Joined: Thu Mar 30, 2006 6:37 am

Re: Centering text in viewtopic

Postby calebrw » Tue Jan 26, 2010 7:25 am

Hey Mals, this type of question is best asked at the phpBB.com topic of the style creator. If a phpBB.com style topic does not exist, you may want to try the creator's site at http://www.stsoftware.biz/support/viewforum.php?f=8
Caleb Williams
My Photography:
http://blog.calebwilliamsphotography.com
User avatar
calebrw
Registered User
 
Posts: 679
Joined: Mon May 10, 2004 1:44 am
Location: Minneapolis, Minnesota

Re: Centering text in viewtopic

Postby mals69 » Tue Jan 26, 2010 8:58 am

Hi Caleb :) Cheers for the link , I could not find anything using their search function. I tried canges in stylesheet.css and common but nothing changed (content left changed to content center etc)

Any ideas out there where to make the change please ?
User avatar
mals69
Registered User
 
Posts: 567
Joined: Thu Mar 30, 2006 6:37 am

Re: Centering text in viewtopic

Postby ric323 » Tue Jan 26, 2010 9:42 am

Did you refresh the theme after making those changes?
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
User avatar
ric323
Former Team Member
 
Posts: 22903
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric

Re: Centering text in viewtopic

Postby mals69 » Tue Jan 26, 2010 9:44 am

Yes I did refresh the theme ric - am I in the right files ?
User avatar
mals69
Registered User
 
Posts: 567
Joined: Thu Mar 30, 2006 6:37 am

Re: Centering text in viewtopic

Postby ric323 » Tue Jan 26, 2010 9:46 am

That's not my field, so I've moved this topic to the Styles support forum.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
User avatar
ric323
Former Team Member
 
Posts: 22903
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric

Re: Centering text in viewtopic

Postby Josh » Wed Jan 27, 2010 4:53 am

looks like you got this working? :)
Josh Simpson- Formerly known as "HardStyle"
Styles: Submission Policy | Database | Knowledge Base | Demo
Please do not PM me for personal support.
Image
User avatar
Josh
Former Team Member
 
Posts: 1882
Joined: Sun Jan 25, 2009 3:08 pm
Location: Melbourne, AUS
Name: Josh Simpson

Re: Centering text in viewtopic

Postby calebrw » Wed Jan 27, 2010 5:02 am

HardStyle wrote:looks like you got this working? :)

I do believe that's the way it looked before.
Caleb Williams
My Photography:
http://blog.calebwilliamsphotography.com
User avatar
calebrw
Registered User
 
Posts: 679
Joined: Mon May 10, 2004 1:44 am
Location: Minneapolis, Minnesota

Re: Centering text in viewtopic

Postby mals69 » Wed Jan 27, 2010 10:21 am

Yes Caleb is correct - still the same out of a line sentances and paragraphs - any ideas please how to align the sentances and paragraphs ?
User avatar
mals69
Registered User
 
Posts: 567
Joined: Thu Mar 30, 2006 6:37 am

Re: Centering text in viewtopic

Postby Lumpy Burgertushie » Thu Jan 28, 2010 6:03 am

this is bound to be a css problem for the viewtopic_body.html file

from your overall_header.html file, it looks like greenweaver deveolped that style for you.

seeif you can contact him here.

also, that overall_header.html file is a mess. it has duplicate <head> sections in it with html before the <head> section etc. etc.

I don't really think this is causing your problem, but it should be cleaned up anyway.


robert
User avatar
Lumpy Burgertushie
Registered User
 
Posts: 51596
Joined: Mon May 02, 2005 3:11 am

Re: Centering text in viewtopic

Postby mals69 » Mon Feb 01, 2010 2:38 am

Thank you Robert :P Greenweaver real busy at present.

Yeah I'll clean the head section up, cheers for pointing that out. Greenweaver did develop the template. I'm doing the content.

I would like to have the paragraph text centered on the page on purpose (Not a fault) The centered text showing at the moment is the best I can get it , could playing around with margins help ? I had a look in the common.css and stylesheet.css Robert but anything I changed did not improve the present state.

Last line on most paragraphs needs to go left , ?
Last edited by mals69 on Wed Feb 10, 2010 4:11 am, edited 1 time in total.
User avatar
mals69
Registered User
 
Posts: 567
Joined: Thu Mar 30, 2006 6:37 am

Re: Centering text in viewtopic

Postby Lumpy Burgertushie » Mon Feb 01, 2010 4:19 am

you keep saying you want it centered but everything on the page is centered. It looks silly but it is centered.

can you give us some idea of what you want, maybe a link to an example or something. I think the problem is that you are using the term centered when that is not really what you mean.


robert
User avatar
Lumpy Burgertushie
Registered User
 
Posts: 51596
Joined: Mon May 02, 2005 3:11 am

Re: Centering text in viewtopic

Postby Lumpy Burgertushie » Mon Feb 01, 2010 4:29 am

I just took a look at your overall_header file again and you haven't made any changes to it.
I also took a look at your stylesheet.css file and it is just as big of a mess as the overall_header file is.
your css is repeated at least twice and sometimes three times in that file.

here is what I suggest. throw it all out and start with new files again.

good luck,
robert
User avatar
Lumpy Burgertushie
Registered User
 
Posts: 51596
Joined: Mon May 02, 2005 3:11 am

Re: Centering text in viewtopic

Postby mals69 » Mon Feb 01, 2010 4:56 am

"Looks silly" What silly about it, apart from how I'm trying to tidy up the last sentence and square the paragraph's up ?

There's a site template style sheet in the mix, like the header it will be tidied up. Any duplicates are not effecting in any-way with what I'm trying to accomplish, there were no conflicts before centering the text as there are no conflicts now.

Yes see what you mean by the centering term - should be square the paragraphs up like a column in a newspaper - magazine.
User avatar
mals69
Registered User
 
Posts: 567
Joined: Thu Mar 30, 2006 6:37 am

Re: Centering text in viewtopic

Postby Lumpy Burgertushie » Mon Feb 01, 2010 5:30 am

exactly what and where did you change to make it all centered?


robert
User avatar
Lumpy Burgertushie
Registered User
 
Posts: 51596
Joined: Mon May 02, 2005 3:11 am

Next

Return to [3.0.x] Styles Support & Discussion

Who is online

Users browsing this forum: No registered users and 16 guests