Добрый день! Ситуация такая. Мне нужно сделать шире рабочую часть шаблона body.width-wide div.wrapper. Но не могу найти в CSS этот параметр. В этом шаблоне есть следующие css:
- editor.css
- editor_content.css
- extensions.css
- general.css
- ie6hacks.css
- ie7hacks.css
- iehacks.css
- Joomla.css
- layout.css
- menu.css
- module.css
- popups.css
- template.css.php
Перерыла все файлы, нигде не нашла, где править. Параметры template.css.php такие:
<?php
if (extension_loaded('zlib') && !ini_get('zlib.output_compression')) @ob_start('ob_gzhandler');
header('Content-type: text/css; charset: UTF-8');
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600). ' GMT');
define('DS', DIRECTORY_SEPARATOR);
define('PATH_ROOT', dirname(__FILE__). DS);
/* filter request */
if (is_array($_GET)) {
foreach ($_GET as $name => $value) {
$_GET[$name] = (string) preg_replace('/[^A-Z0-9_\.-]/i', '', $value);
}
}
/* layout styling */
include(PATH_ROOT . 'layout.css');
if (isset($_GET['widthThinPx'])) echo 'body.width-thin div.wrapper { width: ' . $_GET['widthThinPx'] . 'px; }';
if (isset($_GET['widthWidePx'])) echo 'body.width-wide div.wrapper { width: ' . $_GET['widthWidePx'] . 'px; }';
if (isset($_GET['widthFluidPx'])) echo 'body.width-fluid div.wrapper { width: ' . intval($_GET['widthFluidPx'] * 100). '%; }';
if (isset($_GET['styleswitcherFont']) && isset($_GET['styleswitcherWidth'])) {
if ($_GET['styleswitcherFont'] && $_GET['styleswitcherWidth']) {
echo 'div#styleswitcher { width: 90px; }';
} else {
echo 'div#styleswitcher { width: 45px; }';
}
}
/* general tag styling */
include(PATH_ROOT . 'general.css');
/* menu styling */
include(PATH_ROOT . 'menu.css');
/* module styling */
include(PATH_ROOT . 'module.css');
/* Joomla core styling */
include(PATH_ROOT . 'joomla.css');
/* third party extensions styling */
include(PATH_ROOT . 'extensions.css');
/* color styling */
if (isset($_GET['color']) && $_GET['color'] != '' && $_GET['color'] != 'default') {
$suffixes = array('-layout', '-menu', '-module');
foreach ($suffixes as $suffix) {
$css_file = PATH_ROOT . $_GET['color'] . DS . $_GET['color'] . $suffix . '.css';
if (is_readable($css_file)) {
include($css_file);
}
}
}
/* ie browser */
if (array_key_exists('HTTP_USER_AGENT', $_SERVER) && preg_match('/(MSIE\\s?([\\d\\.]+))/', $_SERVER['HTTP_USER_AGENT'], $matches)) {
$is_ie7 = intval($matches[2]) == 7;
$is_ie6 = intval($matches[2]) == 6;
if ($is_ie7 || $is_ie6) include(PATH_ROOT . 'iehacks.css');
if ($is_ie7) include(PATH_ROOT . 'ie7hacks.css');
else if ($is_ie6) include(PATH_ROOT . 'ie6hacks.css');
}
?>
ПОМОГИТЕ!