How to vertically center 'Last Post' text in prosilver based style?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
User avatar
paulie
Registered User
Posts: 90
Joined: Thu Mar 30, 2017 3:41 pm
Location: Hull, East Yorkshire.

Re: How to vertically center 'Last Post' text in prosilver based style?

Post by paulie »

I just simply added:

text-align: center;

To line 191 of content.css
'Life in the Air Age isn't all the brochures say ...'
User avatar
warmweer
Jr. Extension Validator
Posts: 4831
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: How to vertically center 'Last Post' text in prosilver based style?

Post by warmweer »

paulie wrote:
Thu Feb 14, 2019 8:12 pm
I just simply added:

text-align: center;

To line 191 of content.css
I doubt this works: AFAIK text-align is for horizontal aligning see https://www.w3schools.com/cssref/pr_text_text-align.asp
vertical-align might do the trick see https://www.w3schools.com/cssref/pr_pos ... -align.asp
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.
User avatar
paulie
Registered User
Posts: 90
Joined: Thu Mar 30, 2017 3:41 pm
Location: Hull, East Yorkshire.

Re: How to vertically center 'Last Post' text in prosilver based style?

Post by paulie »

warmweer wrote:
Thu Feb 14, 2019 9:55 pm
paulie wrote:
Thu Feb 14, 2019 8:12 pm
I just simply added:

text-align: center;

To line 191 of content.css
I doubt this works: AFAIK text-align is for horizontal aligning see https://www.w3schools.com/cssref/pr_text_text-align.asp
vertical-align might do the trick see https://www.w3schools.com/cssref/pr_pos ... -align.asp
It definitely works hence the reason I posted!

Assuming of course that the opening poster meant this:
lastpost.png
'Life in the Air Age isn't all the brochures say ...'
User avatar
Lumpy Burgertushie
Registered User
Posts: 67933
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: How to vertically center 'Last Post' text in prosilver based style?

Post by Lumpy Burgertushie »

yes it works for horizontal centering. however the OP asked for vertical centering.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
Post Reply

Return to “[3.2.x] Styles Support & Discussion”