Change default font size

  • Profile picture of Jeff Jeff said 2 months, 3 weeks ago ago:

    Is there a way to change the default font size for all pages and posts? It would be nice if this ability was added through the Dashboard since some themes have this ability, but I assume the change must be made within default.css.

    Can someone please help by providing which line of code needs changed and what the change should look like? I have tried to figure it out on my own through the BuddyBoss child theme, but have had no luck. Any help is greatly appreciated! The default font-size is simply too small.

  • Profile picture of TJ Chester (Admin) TJ Chester (Admin) said 2 months, 3 weeks ago ago:

    @discoverthefire in order to change the font-size via your child theme you will need to add a new entry into your child theme’s main CSS file. I forget if this is called custom.css or default.css in the child theme.

    Add this:
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {font-style:arial; font-size:14px;}

    You can edit the font settings as necessary :)

You need to log in or to participate in this forum topic.