I set the site name size to 2em for Corolla using the settings interface. It works fine, displaying the site name at 2em as long as the display is wide enough. When I narrow the window below about 800px, the site name is suddenly displayed at 3.5em! Widening it back out restores my selected font size.

It appears that an absolute font size, based on an original really big one, is used as the window width shrinks. The responsive fonts should all be based on percentage values of the full-width font--not on hard-coded internal values which ignore user specifications. (I'm going to hard-code my own values as a work-around.)

Comments

Jeff Burnz’s picture

Project: AdaptiveTheme » Corolla
Version: 7.x-3.2 » 7.x-3.x-dev
Component: Theme Settings » Code

Yeah, I agree with this, what you are seeing is a really old implementation that really should have been updated - if the user changes the font size value then it should be global for all breakpoints.

potassiumchloride’s picture

Same issue here. Any advice for us?

vgriffin’s picture

I don't LIKE the baling-wire-and-chewing-up "fix" I came up with, but I did a search for "3.5em" in the project and changed the values by hand. Ugly and unmaintainable, but it solved my immediate problem.

Ideally, the font should scale with the breakpoint down to a small-but-readable value.

srobert72’s picture

Could we use a dropdown list with "X.Xvw" values instead of "X.Xem" ?
For example "3.5vw" instead of "3.5em" ?