WordPress.org

Ready to get started?Download WordPress

Forums

[Theme: Bouquet} Is "inherit" the name of a font, or some code command? (5 posts)

  1. tspnyc
    Member
    Posted 1 year ago #

    I am totally new to WordPress and html.

    I am using the theme Bouquet and I need to change the font type because it uses weird number and dash styles.

    After finding the style.css, I see this

    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;

    Is that the name of a particular font? Or is it some sort of code command to inherit the font from somewhere else?

    If I just change those three instances of inherit to arial, will the font for my theme change to arial?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    We can't give you a step-by-step guide for all CSS queries because CSS is relative to the HTML structure of each theme and template file (it changes a lot).

    We advise you not to edit the theme's files and instead create new styles through a Child Theme or Custom CSS plugin.

    Which do you have; a Child Theme or Custom CSS plugin?

  3. tspnyc
    Member
    Posted 1 year ago #

    thanks sorry, I found the css (I am using multi-site and forgot I had to go to the Admin dashboard to find the style sheets)

    my real issue was changing the main font of the theme.

    And I do not have Custom CSS or a Child Theme. Just the theme.

  4. tspnyc
    Member
    Posted 1 year ago #

    Still looking for an answer.

    I need to change the font in a theme, that is my only change I need to make to the theme. I am not reinventing it. This default font does not display correctly in Windows 7.

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    In that theme, the fonts are set in the functions.php file - but DO NOT try to change them there. The best way to change theme is to set up Custom CSS (you can use a plugin) or a Child Theme and then copy this (from the theme stylesheet) to the new custom CSS or child theme style.css file and change the font there:

    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, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    	font-family: arial;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic