Page 1 of 1
Change font size in current breakpoint with Global replace
Posted: Sat Feb 27, 2021 1:10 pm
by Evgeny
Hello!
WB 16.2.0 (64bit)
One of the new features of Global Replace: Specifies whether to replace values in all breakpoints or in the current breakpoint only.
I have 3 breakpoints (360, 480, 768 +default 1250)
Try to change the page texts font size from 12 to 14 in one breakpoint only (480 as example) with Global Replace. Al texts are "Enable responsive fonts".
But font sizes change in all breakpoints, not 480 b-p only. What am I doing wrong?
https://28101.ru/
Re: Change font size in current breakpoint with Global replace
Posted: Sat Feb 27, 2021 2:04 pm
by Pablo
I cannot see what you have done based on the published page.
To be able to help you, I need a demo project and a description of how to reproduce this behavior.
Re: Change font size in current breakpoint with Global replace
Posted: Sat Feb 27, 2021 2:55 pm
by Evgeny
Pablo wrote: ↑Sat Feb 27, 2021 2:04 pm
I cannot see what you have done based on the published page.
To be able to help you, I need a demo project and a description of how to reproduce this behavior.
I made this action for changing font size on one break point only. But font size changed on all breakpoints
Re: Change font size in current breakpoint with Global replace
Posted: Sat Feb 27, 2021 3:24 pm
by Evgeny
Pablo wrote: ↑Sat Feb 27, 2021 2:04 pm
I cannot see what you have done based on the published page.
To be able to help you, I need a demo project and a description of how to reproduce this behavior.
demo
https://files.dp.ua/ru/yhKV
Re: Change font size in current breakpoint with Global replace
Posted: Sat Feb 27, 2021 3:25 pm
by Pablo
Note that not all elements support responsive fonts. So, for some objects the fonts applied to all breakpoints.
But if you think something is wrong then please share demo project.
Re: Change font size in current breakpoint with Global replace
Posted: Sat Feb 27, 2021 3:43 pm
by Evgeny
Pablo wrote: ↑Sat Feb 27, 2021 3:25 pm
Note that not all elements support responsive fonts. So, for some objects the fonts applied to all breakpoints.
But if you think something is wrong then please share demo project.
I used just simple text blocks. They are responsive. Link for demo in my previous message.
Thank you, Pablo, for quick response
Re: Change font size in current breakpoint with Global replace
Posted: Sat Feb 27, 2021 4:06 pm
by Pablo
I was not able to download the file.
Can you please use a public server?
Also, please describe what I need to do to reproduce the behavior.
Re: Change font size in current breakpoint with Global replace
Posted: Sat Feb 27, 2021 4:43 pm
by Evgeny
Pablo wrote: ↑Sat Feb 27, 2021 4:06 pm
I was not able to download the file.
Can you please use a public server?
Also, please describe what I need to do to reproduce the behavior.
https://dropmefiles.com/XQiaF
another link
1. You need to be sure that texts in all breakpoints have same size
2. In one of breakpoints use "Global replace" to change font size in this breakpoint only.
You will see that font size changed in all breakpoints
Re: Change font size in current breakpoint with Global replace
Posted: Sat Feb 27, 2021 4:57 pm
by Pablo
You are right, this functionality is not supported by the standard text object because this uses it's own internal formatting storage. For the (responsive) text, fonts are not stored globally like all for other objects.
I will investigate if this can be added to a future version.
Re: Change font size in current breakpoint with Global replace
Posted: Sat Feb 27, 2021 6:51 pm
by Evgeny
Pablo wrote: ↑Sat Feb 27, 2021 4:57 pm
You are right, this functionality is not supported by the standard text object because this uses it's own internal formatting storage. For the (responsive) text, fonts are not stored globally like all for other objects.
I will investigate if this can be added to a future version.
May be it would be useful to mention about this exception in the "Help"