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: 113
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: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

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.


Time flies like an arrow, but fruit flies like a banana.
User avatar
paulie
Registered User
Posts: 113
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: 69223
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
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Post Reply

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