#main_header > .container {
padding: 0;
margin: 0;
max-width: 100%;
}
h2.pull-right.toggle {
padding: 0px 15px;
margin: 13px 0 12px;
}
.head_btn .publish {
float: right;
padding-top: 0;
}
body.has-searchbox.home {
padding-top: 45px;
}
#main_header {
position: fixed;
top: 0;
}
<?php
$custom_field_name = [];
if (osc_count_item_meta() >= 1)
{
while (osc_has_item_meta())
{
if (osc_item_meta_value() != "")
{
$custom_field_name [osc_item_meta_slug()] = osc_item_meta_name();
$custom_field_value [osc_item_meta_slug()] = osc_item_meta_value();
}
}
}
if (
array_key_exists('additional_file', $custom_field_name) && array_key_exists('additional_file', $custom_field_value) &&
array_key_exists('put_kesh', $custom_field_name) && array_key_exists('put_kesh', $custom_field_value)
): ?>
<div class="block_list">
<div id="useful_info">
<h2 class="title">
<?php _e('Дополнительные файлы', OSCLASSWIZARDS_THEME_FOLDER); ?>
</h2>
<p class="left"><?= $custom_field_name ['additional_file']; ?> : <strong> <?= $custom_field_value ['additional_file']; ?></strong></p>
<p class="left"><?= $custom_field_name ['put_kesh']; ?> : <strong> <?= $custom_field_value ['put_kesh']; ?></strong></p>
</div>
</div>
<?php endif ?>