control html class

function lh_theme_preprocess_html(&$variables)

{


$variables['attributes']['class'][] = 'inner-page'; //add a class to html , the new class = 'inner-page'

留言

此網誌的熱門文章

multiple xampp versions on Windows?

fix drupal 11 install error