WordPress.org

Ready to get started?Download WordPress

Forums

what if ... there weren't any font-declarations (except the most basic ones) (4 posts)

  1. davitz
    Member
    Posted 1 year ago #

    Hi
    I still don't know much about wordpress, except that, depending the theme's quality, it can be a major hassle to adapt it.

    I always ask myself "why must there be so many many font-declarations, size-declarations etc.", and this is my question to the forum:

    Wouldn't a theme work very well if the fonts were declared about more or less once (per object / "rank" in the structure's hierarchy)? I guess so becuase HTML / CSS is supposed to work this way and the tags inherit the properties, right? or am I wrong?

    thanks for insight!

    david

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Sure, you don't have to have ANY font or size CSS if you don't want to... a browser will then use its defaults. It's simply a matter of choice/style to change that.

    EDIT - and "hassle" is a rather subjective assumption - if you know CSS a bit, it can actually be a lot of fun :).

  3. davitz
    Member
    Posted 1 year ago #

    that's how I was thinking it would be.
    thanks!

  4. paulwpxp
    Font hero
    Posted 1 year ago #

    but if you don't want to 100% rely on browsers default, use this.
    http://necolas.github.io/normalize.css/

Topic Closed

This topic has been closed to new replies.

About this Topic