Add and retrieve a new typography field

Viewing 2 posts - 1 through 2 (of 2 total)
  • #14400
    Pepozzo
    Participant

    Hello!

    I’ve customized theme-options.php to add another changeable value.

    For example i would like to change from Typography page (in Theme Settings) the background color of my header. So, in PHP file i’ve added the field that displays correctly on WP back-end.

    Now i’ve this problem: how can I do to show the correct background-color to my header ID?

    My header ID is called “cambiohead” and it is correctly declared in theme file header.php and in the style.css.

    Thanks!

    #14413
    Daniel Tara
    Keymaster

    Easiest way to do it is to replace all occurences of #header with #cambiohead. Most of them should be in functions.php and style.css.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.