Enter project name having 13 to 15 characters (ex. JoomlaCMSStaging).
Check the site in responsive view
The project name is going out of the div.
It should be in div.
Going out of the div.
Joomla! 3.6.0-rc — © 2016 joomlacmsstaging
I think this is the normal and the expected bahavior when your site name is a long and single word.
Use "Joomla CMS Staging" instead or lower the font-size via CSS or use a hyphenator...
Somehow related: #8575 (comment)
Font sizes do not dynamically resize like images :(
The one thing we could do is to add css to force the text to wrap http://caniuse.com/#search=word-break
http://www.w3schools.com/cssref/tryit.asp?filename=trycss3_word-break
word-break: break-all;
The word will break at any character.
joomlacmsst
aging
joomlatittlet
es
Joomla CM
S Staging
I would prefer if users would ask in a forum when they really need a solution for this problem instead of coding the above behavior into core.
There are several possible solutions: via CSS, media queries, hyphenators, manipulating font-size via JS, width-height-calculation. But none of them is a good "universal one" I think.
Agreed
Closing as it isn't something we can really control at a system level
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-07-09 07:38:55 |
Closed_By | ⇒ | brianteeman |
please leave this open, it does not need to be closed,
because there are good solutions that are also (browser) safe enough,
and this is an opportunity to make more use of them
.site-title
{
font-size: 40px;
font-size: calc(16px + 1vw);
}
The above
also this is opportunity to use the above in other titles too like module titles, etc
If you have a PR then submit it. No need to re-open
On 9 July 2016 at 09:24, Georgios Papadakis notifications@github.com
wrote:
@bertmert https://github.com/bertmert
@brianteeman https://github.com/brianteemanplease leave this open, it does not need to be closed,
because there are good solutions that are also browser safe,
and this is an opportunity to make more use of them
- protostar is already using them, and i mean using 'vw' view port (ok, calc() is not used yet)
- they are also valid for the LESS compiler version currently included and as said above are browser-safe (enough)
.site-title
{
font-size: 40px;
font-size: calc(16px + 1vw);
}The above
- works in all browsers and in in IE9+, and is safe for IE8
- browsers that do not support the 2nd font-size definition that uses calc(), will still use the 1st definition
also this is opportunity to use the above in other titles too like module
titles, etc—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11053 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABPH8Te5yiG9rmd6tGqeZC4WlXv9jv0oks5qT1qpgaJpZM4JIAB9
.
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/
agreed, will do in good time,
(will do later and not now, as i would like to search and include more cases into the PR)
I have tested this issue in front-end successfully.
Found in responsive view
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11053.