Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #994518

    Hello Support,
    Currently, the smallest size available in the Flexible font size (adjusts to screen width) pulldown is 3vw.
    Is there a way to add smaller font choices; 2.5vw, 2vw etc.?
    I looked through support posts and didn’t see this addressed.
    Sincerely,
    Greg

    #995033

    Hey Greg,

    I’m not really sure where to find the vw based font size since we used px.
    If the size you want to use isn’t defined in the dropdown selection, I would suggest using Quick CSS found in Enfold > General Styling.
    Can you give us a link to your site and point us what text/content you want to change the font size and we’ll help provide the css code that should work.

    Best regards,
    Nikko

    #995059

    Hello Nikko,

    The site is behind a firewall and I won’t be able to open access to you.

    However, I’ve taken a screenshot of the Enfold Admin showing the vw font sizes. You can see that 3vw is the smallest size available in the pull-down.

    Can we adapt the theme so that 2.5vw and 2vw are also choices?

    Sincerely,
    Greg

    link to screenshot

    screen shot of flexible font choices in Enfold admin

    • This reply was modified 6 years, 3 months ago by Donkies11. Reason: it didn't look like the image actually loaded - so i placed a link to the screenshot
    #995068

    Hi Donkies11,

    I see thanks for clearing that out, you can open heading.php found in enfold\config-templatebuilder\avia-shortcodes\heading folder (line 55):

    __("Flexible font size (adjusts to screen width)" , 'avia_framework') => AviaHtmlHelper::number_array(3,7,0.5 , array(), "vw", "", "vw"),

    and replace it with:

    __("Flexible font size (adjusts to screen width)" , 'avia_framework') => AviaHtmlHelper::number_array(1,7,0.5 , array(), "vw", "", "vw"),

    this should include 1vw, 1.5vw, 2vw and 2.5vw.

    The customization would be lost during the Enfold theme update, so I suggest using a child theme then follow the instructions here: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#add-elements-to-alb
    Hope this helps.

    Best regards,
    Nikko

    #995188

    Hello Nikko,

    Took me a little bit to get all the elements needed to work the Child Theme – and I got it!

    Thanks for your help – working like a charm!

    Sincerely,
    Greg

    P.S. this ticket can be closed – thanks again. gw

    #995256

    Hi Greg,

    Great, glad you got it working. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Flexible font size – smaller sizes in pull-down menu?’ is closed to new replies.