Support » Theme: Hueman » Dynamic CSS: For no styles in head, copy and put the css below in ur custom.css

  • Hi, i want to put the Dynamic CSS in the custom.css

    but i have to copy in custom.css directly the php code?

    Like:
    // google fonts
    if ( ot_get_option( ‘font’ ) == ‘titillium-web-ext’ ) { $styles .= ‘body { font-family: “Titillium Web”, Arial, sans-serif; }’.”\n”; }
    if ( ot_get_option( ‘font’ ) == ‘droid-serif’ ) { $styles .= ‘body { font-family: “Droid Serif”, serif; }’.”\n”; }

Viewing 1 replies (of 1 total)
  • Hi!

    You would not copy it from the PHP file, but rather view the page live when you’ve set your styling options, inspect the source code of the page and you will get all styles you need to copy within the <head> of your theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Dynamic CSS: For no styles in head, copy and put the css below in ur custom.css’ is closed to new replies.