Hi, I don't see any options to change something to the background; no color, no pattern.
Is this possible and what then is the best way to do it, custom CSS?
body {
background: #bbb;
color: #555;
font-size: 16px;
font-weight: 400;
line-height: 170%;
margin: 0 0 0 52px;
min-height: 100%;
padding: 0;
word-wrap: break-word;
}
if(!function_exists('gavern_file')) {
/**
*
* Function used to get the file absolute path - useful when child theme is used
*
* @return file absolute path (in the original theme or in the child theme if file exists)
*
**/
function gavern_file($path) {
if(is_child_theme()) {
if($path == false) {
return get_stylesheet_directory();
} else {
if(is_file(get_stylesheet_directory() . DIRECTORY_SEPARATOR . str_replace('/', DIRECTORY_SEPARATOR, $path))) {
return get_stylesheet_directory() . DIRECTORY_SEPARATOR . str_replace('/', DIRECTORY_SEPARATOR, $path);
} else {
return get_template_directory() . DIRECTORY_SEPARATOR . str_replace('/', DIRECTORY_SEPARATOR, $path);
}
}
} else {
if($path == false) {
return get_template_directory();
} else {
return get_template_directory() . DIRECTORY_SEPARATOR . str_replace('/', DIRECTORY_SEPARATOR, $path);
}
}
}
}
if(!function_exists('gavern_file_uri')) {
/**
*
* Function used to get the file URI - useful when child theme is used
*
* @return file URI (in the original theme or in the child theme if file exists)
*
**/
function gavern_file_uri($path) {
if(is_child_theme()) {
if($path == false) {
return get_stylesheet_directory_uri();
} else {
if(is_file(get_stylesheet_directory() . DIRECTORY_SEPARATOR . str_replace('/', DIRECTORY_SEPARATOR, $path))) {
return get_stylesheet_directory_uri() . '/' . $path;
} else {
return get_template_directory_uri() . '/' . $path;
}
}
} else {
if($path == false) {
return get_template_directory_uri();
} else {
return get_template_directory_uri() . '/' . $path;
}
}
}
}
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/normalize.css" />
<link rel="stylesheet" href="<?php echo gavern_file_uri('css/normalize.css'); ?>" />
/*
Theme Name: Magazine Child
Theme URI: http://www.gavick.com
Description: Child theme for the Magazine theme
Author: GavickPro
Author URI: http://www.gavick.com
Template: Magazine
Version: 1.0.0
*/