How to increse font size of posts auto style:prosilver?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
osama_badr
Registered User
Posts: 44
Joined: Sat Sep 22, 2018 6:36 pm

How to increse font size of posts auto style:prosilver?

Post by osama_badr » Mon Dec 02, 2019 2:24 pm

i use Style prosilver
How to increase font size of posts automatically without choose size from font size menu and without extension tool ?

I searched before posting but nothing change
Thanks

User avatar
david63
Registered User
Posts: 16845
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: How to increse font size of posts auto style:prosilver?

Post by david63 » Mon Dec 02, 2019 2:35 pm

I think that you will need to explain what you mean by "increase font size of posts automatically". What action would trigger this resize? How much would it increase by?
osama_badr wrote:
Mon Dec 02, 2019 2:24 pm
without choose size from font size menu and without extension tool
You are going to have to use one of these as there is nothing in the core that will increase the font size automatically
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
warmweer
Registered User
Posts: 3217
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: How to increse font size of posts auto style:prosilver?

Post by warmweer » Mon Dec 02, 2019 2:40 pm

Use your browser's style editor.
View a post.
position your mouse on the post text and use "Inspect Element" (wording may differ according to browser).
In the style section, find the setting which defines font size: in this case =

Code: Select all

.postbody .content {
    font-size: 1.3em;
    overflow-x: auto;
}
in content.css.
edit in the inspector and see the results.

Then edit the contents.css, save, purge cache, done.
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

User avatar
david63
Registered User
Posts: 16845
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: How to increse font size of posts auto style:prosilver?

Post by david63 » Mon Dec 02, 2019 3:05 pm

@warmweer

Being pedantic that is not changing it automatically - it is just changing the font size in the .css file and it will stay at that size.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
warmweer
Registered User
Posts: 3217
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: How to increse font size of posts auto style:prosilver?

Post by warmweer » Mon Dec 02, 2019 3:29 pm

david63 wrote:
Mon Dec 02, 2019 3:05 pm
@warmweer

Being pedantic that is not changing it automatically - it is just changing the font size in the .css file and it will stay at that size.
Well, nothing really happens automatically; a certain action will have to be performed at one time or another before any change will take place.
Perhaps I interpreted the OPs request incorrectly but I had/still have the impression he wants a change in font size without an extension and without having to use the sizedropdown. I made the extra interpretation that he didn't really know where to change what so instead of just giving an "instruction" I offered some info on how to find out how to find the underlying code and see the result in real time.
I therefore agree that the request isn't 100% clear, but either my answer is helpful in which case the OP's problem is solved, or it isn't and then more information will be coming anyway 8-)

Added:
Just realised that viewtopic.php?f=591&t=2426201 offers more and better information (if that is what the OP wanted).
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

osama_badr
Registered User
Posts: 44
Joined: Sat Sep 22, 2018 6:36 pm

Re: How to increse font size of posts auto style:prosilver?

Post by osama_badr » Mon Dec 02, 2019 3:40 pm

warmweer wrote:
Mon Dec 02, 2019 2:40 pm
Use your browser's style editor.
View a post.
position your mouse on the post text and use "Inspect Element" (wording may differ according to browser).
In the style section, find the setting which defines font size: in this case =

Code: Select all

.postbody .content {
    font-size: 1.3em;
    overflow-x: auto;
}
in content.css.
edit in the inspector and see the results.

Then edit the contents.css, save, purge cache, done.
I did,but no change

User avatar
warmweer
Registered User
Posts: 3217
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: How to increse font size of posts auto style:prosilver?

Post by warmweer » Mon Dec 02, 2019 3:43 pm

Purge browser cache also.
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

osama_badr
Registered User
Posts: 44
Joined: Sat Sep 22, 2018 6:36 pm

Re: How to increse font size of posts auto style:prosilver?

Post by osama_badr » Mon Dec 02, 2019 3:43 pm

david63 wrote:
Mon Dec 02, 2019 2:35 pm
I think that you will need to explain what you mean by "increase font size of posts automatically". What action would trigger this resize? How much would it increase by?
osama_badr wrote:
Mon Dec 02, 2019 2:24 pm
without choose size from font size menu and without extension tool
You are going to have to use one of these as there is nothing in the core that will increase the font size automatically
Before , i made edit in styles files I can't remember the file after change value the font size of posts increase auto when member send his post it appear as big font size .

User avatar
warmweer
Registered User
Posts: 3217
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: How to increse font size of posts auto style:prosilver?

Post by warmweer » Mon Dec 02, 2019 3:48 pm

Isn't this basically the same as : a previous post of yours ?
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

osama_badr
Registered User
Posts: 44
Joined: Sat Sep 22, 2018 6:36 pm

Re: How to increse font size of posts auto style:prosilver?

Post by osama_badr » Mon Dec 02, 2019 4:33 pm

warmweer wrote:
Mon Dec 02, 2019 3:48 pm
Isn't this basically the same as : a previous post of yours ?
No , the currently style prosilver
IMG_20191202_183310.jpg

User avatar
warmweer
Registered User
Posts: 3217
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: How to increse font size of posts auto style:prosilver?

Post by warmweer » Mon Dec 02, 2019 5:00 pm

osama_badr wrote:
Mon Dec 02, 2019 4:33 pm
No , the currently style prosilver
The way I see it, it doesn't make a difference which style you use, the method to identify which setting defines font size is the same.
And your printscreen shows mobile version. But that doesn't make a difference: it's the same 1.3em

If however you're thinking about the area in which you type : then that's in forms.css

Code: Select all

.message-box textarea
font-size: 1.2em;
If it's something completely different then I suggest you use a printscreen with a pointer to the area you are referring to.
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

osama_badr
Registered User
Posts: 44
Joined: Sat Sep 22, 2018 6:36 pm

Re: How to increse font size of posts auto style:prosilver?

Post by osama_badr » Tue Dec 03, 2019 12:14 am

This what i want to auto be larger after send post
IMG_20191203_021239.jpg

User avatar
warmweer
Registered User
Posts: 3217
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: How to increse font size of posts auto style:prosilver?

Post by warmweer » Tue Dec 03, 2019 7:47 am

No time now but a quick printscreen (simulating mobile)
test.jpg
editing the values .postbody .content changes the size. (also of the text beneath that)
Find the one that works and then edit the relevant css file.
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

osama_badr
Registered User
Posts: 44
Joined: Sat Sep 22, 2018 6:36 pm

Re: How to increse font size of posts auto style:prosilver?

Post by osama_badr » Tue Dec 03, 2019 12:21 pm

I edited content.css file before but no change
IMG_20191203_141946.jpg

User avatar
EA117
Registered User
Posts: 1181
Joined: Wed Aug 15, 2018 3:23 am
Contact:

Re: How to increse font size of posts auto style:prosilver?

Post by EA117 » Tue Dec 03, 2019 2:06 pm

osama_badr wrote:
Tue Dec 03, 2019 12:21 pm
I edited content.css file before but no change
When warmweer mentioned "purge the browser cache", its clear this means a CTRL-F5 refresh in order to force your web browser to reload all CSS files, regardless of whether they are believed to have been modified? Just making sure, since that too could explain the "I edited this, but there wasn't any change" observations. After saving the CSS file change in the styles directory, you will need to CTRL-F5 refresh the web browser in order to immediately see this difference.

The 150% change you made is currently visible on the site, and at least for me the size difference is apparent when compared against the default 1.3em size:

compare150.png

So are you not seeing that same difference, and instead you see "no change"? Or are you saying there is not enough difference, and you need to go even larger, such as 2em:

2em.png

Post Reply

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