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

  1. davitz
    Posted 3 years ago #

    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!


  2. WPyogi
    Forum Moderator
    Posted 3 years 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
    Posted 3 years ago #

    that's how I was thinking it would be.

  4. paulwpxp
    Font hero
    Posted 3 years ago #

    but if you don't want to 100% rely on browsers default, use this.

Topic Closed

This topic has been closed to new replies.

About this Topic