0 Пользователей и 1 Гость просматривают эту тему.
  • 7 Ответов
  • 1057 Просмотров
*

evrikas72

  • Осваиваюсь на форуме
  • 17
  • 0 / 0
Уважаемые друзья! Помогите решить проблемку. 
 При масштабе браузера 100% страница сайта отображается как положено: https://yadi.sk/i/AYxfXZQFjmXVH т.е. модуль меню справа, а текст самой статьи слева.
 Как только увеличиваю масштаб до 120% - текст статьи раздвигается на всю ширину экрана, а модуль меню падает в нижнюю часть страницы,
 как показано на скрине https://yadi.sk/i/cv8UZTuSjmXYJ.
 Подскажите пожалуйста : где что настроить, чтобы модуль меню был справа, а текст статьи слева при любом масштабе
?
« Последнее редактирование: 16.10.2015, 08:29:32 от evrikas72 »
*

darkghost

  • Живу я здесь
  • 2212
  • 97 / 0
Цитировать
Как только увеличиваю масштаб до 120% ...
такое условие, эта цифра где-то прописана в стилях?
*

evrikas72

  • Осваиваюсь на форуме
  • 17
  • 0 / 0
такое условие, эта цифра где-то прописана в стилях?

-- Я не нашёл.
*

ivan.sergeev

  • Захожу иногда
  • 73
  • 1 / 0
задать в процентах ширину центрального блока 70%, блока справа 30%
*

umbabaraumba

  • Живу я здесь
  • 2415
  • 153 / 1
  • если помог можете поставить +
Посмотрите в index.php , возможно там есть похожие строки
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/mobile.css" media="(max-width: 640px)" />
Errare humanum est
Ubuntu по-русски
Пишу не сложные модули и компоненты, не дорого но не срочно
*

evrikas72

  • Осваиваюсь на форуме
  • 17
  • 0 / 0
Посмотрите в index.php , возможно там есть похожие строки
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/mobile.css" media="(max-width: 640px)" />

Спасибо за ответы. В своём файле index.php https://yadi.sk/i/YNbOWtC-jvS6i  не нашел похожих строк.
*

umbabaraumba

  • Живу я здесь
  • 2415
  • 153 / 1
  • если помог можете поставить +
Спасибо за ответы. В своём файле index.php https://yadi.sk/i/YNbOWtC-jvS6i  не нашел похожих строк.
Тогда посмотрите файл template.php в папке layouts
Errare humanum est
Ubuntu по-русски
Пишу не сложные модули и компоненты, не дорого но не срочно
*

evrikas72

  • Осваиваюсь на форуме
  • 17
  • 0 / 0
Спасибо за ответ . Вот мой файл  template.php в папке layouts:
Код: php
<?php
/**
* @package   blog-j
* @author    jvg http://jvgtheme.pl/
* @copyright Copyright (C) jvg
* @license  GNU/GPL (http://www.gnu.org/licenses/gpl.html)
*/

// get template configuration
include($this['path']->path('layouts:template.config.php'));

?>
<!DOCTYPE HTML>
<html lang="<?php echo $this['config']->get('language'); ?>" dir="<?php echo $this['config']->get('direction'); ?>">

<head>
<?php echo $this['template']->render('head'); ?>
</head>

<body style="max-width: 1024px;" id="page" class="page <?php echo $this['config']->get('body_classes'); ?>" data-config='<?php echo $this['config']->get('body_config','{}'); ?>'>

<div id="page-bg">
<div>

<?php if ($this['modules']->count('absolute')) : ?>
<div id="absolute">
<?php echo $this['modules']->render('absolute'); ?>
</div>
<?php endif; ?>

<div class="wrapper grid-block">

<header id="header" class="grid-block">

<?php if ($this['modules']->count('toolbar-l + toolbar-r') || $this['config']->get('date')) : ?>
<div id="toolbar" class="grid-block">

<?php if ($this['modules']->count('toolbar-l') || $this['config']->get('date')) : ?>
<div class="float-left">

<?php if ($this['config']->get('date')) : ?>
<time datetime="<?php echo $this['config']->get('datetime'); ?>"><?php echo $this['config']->get('actual_date'); ?></time>
<?php endif; ?>

<?php echo $this['modules']->render('toolbar-l'); ?>

</div>
<?php endif; ?>

<?php if ($this['modules']->count('toolbar-r')) : ?>
<div class="float-right"><?php echo $this['modules']->render('toolbar-r'); ?></div>
<?php endif; ?>

</div>
<?php endif; ?>

<?php if ($this['modules']->count('logo')) : ?>
<a id="logo" href="<?php echo $this['config']->get('site_url'); ?>"><?php echo $this['modules']->render('logo'); ?></a>
<?php endif; ?>

<?php if ($this['modules']->count('menu + search')) : ?>
<div id="menubar" class="grid-block">

<?php if ($this['modules']->count('menu')) : ?>
<nav id="menu"><?php echo $this['modules']->render('menu'); ?></nav>
<?php endif; ?>

<?php if ($this['modules']->count('search')) : ?>
<div id="search"><?php echo $this['modules']->render('search'); ?></div>
<?php endif; ?>

</div>
<?php endif; ?>

<?php if ($this['modules']->count('banner')) : ?>
<div id="banner"><?php echo $this['modules']->render('banner'); ?></div>
<?php endif; ?>

</header>

</div></div></div>


<div id="block-main"><div class="wrapper">

<?php if ($this['modules']->count('top-a')) : ?>
<section id="top-a" class="grid-block"><?php echo $this['modules']->render('top-a', array('layout'=>$this['config']->get('top-a'))); ?></section>
<?php endif; ?>


<?php if ($this['modules']->count('innertop + innerbottom + sidebar-a + sidebar-b') || $this['config']->get('system_output')) : ?>
<div id="main" class="grid-block">

<?php if ($this['modules']->count('top-b')) : ?>
<section id="top-b" class="grid-block"><?php echo $this['modules']->render('top-b', array('layout'=>$this['config']->get('top-b'))); ?></section>
<?php endif; ?>

<div id="maininner" class="grid-box">

<?php if ($this['modules']->count('innertop')) : ?>
<section id="innertop" class="grid-block"><?php echo $this['modules']->render('innertop', array('layout'=>$this['config']->get('innertop'))); ?></section>
<?php endif; ?>

<?php if ($this['modules']->count('breadcrumbs')) : ?>
<section id="breadcrumbs"><?php echo $this['modules']->render('breadcrumbs'); ?></section>
<?php endif; ?>

<?php if ($this['config']->get('system_output')) : ?>
<section id="content" class="grid-block"><?php echo $this['template']->render('content'); ?></section>
<?php endif; ?>

<?php if ($this['modules']->count('innerbottom')) : ?>
<section id="innerbottom" class="grid-block"><?php echo $this['modules']->render('innerbottom', array('layout'=>$this['config']->get('innerbottom'))); ?></section>
<?php endif; ?>

</div>
<!-- maininner end -->

<?php if ($this['modules']->count('sidebar-a')) : ?>
<aside id="sidebar-a" class="grid-box"><?php echo $this['modules']->render('sidebar-a', array('layout'=>'stack')); ?></aside>
<?php endif; ?>

<?php if ($this['modules']->count('sidebar-b')) : ?>
<aside id="sidebar-b" class="grid-box"><?php echo $this['modules']->render('sidebar-b', array('layout'=>'stack')); ?></aside>
<?php endif; ?>



</div>
<?php endif; ?>
<!-- main end -->
</div></div>

<?php if ($this['modules']->count('bottom-a') || $this['modules']->count('bottom-b') ) : ?>

<div id="block-bottom"><div class="wrapper">

      <?php if ($this['modules']->count('bottom-a')) : ?>
<section id="bottom-a" class="grid-block"><?php echo $this['modules']->render('bottom-a', array('layout'=>$this['config']->get('bottom-a'))); ?></section>
<?php endif; ?>

<?php if ($this['modules']->count('bottom-b')) : ?>
<section id="bottom-b" class="grid-block"><?php echo $this['modules']->render('bottom-b', array('layout'=>$this['config']->get('bottom-b'))); ?></section>
<?php endif; ?>

</div></div></div>
<?php endif; ?>

<?php if ($this['modules']->count('footer + debug') || $this['config']->get('warp_branding') || $this['config']->get('totop_scroller')) : ?>
<div id="block-footer"><div class="wrapper">

<footer id="footer">

<?php if ($this['config']->get('totop_scroller')) : ?>
<a id="totop-scroller" href="#page"></a>
<?php endif; ?>

<?php
echo $this['modules']->render('footer');
$this->output('warp_branding');
echo $this['modules']->render('debug');
?>

</footer>

</div></div>
<?php endif; ?>

<?php echo $this->render('footer'); ?>

</body>
</html>
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Пункт меню Текстовый разделитель ведет на главную страницу

Автор zahar_92

Ответов: 8
Просмотров: 2404
Последний ответ 27.07.2023, 13:37:17
от ei-dos
[РЕШЕНО]Скрыть пункт меню на мобильных устройствах

Автор lexxbry

Ответов: 16
Просмотров: 4623
Последний ответ 23.05.2023, 07:22:49
от geral
Модуль вывода похожих материалов с картинками

Автор Besa

Ответов: 3
Просмотров: 971
Последний ответ 20.04.2023, 20:25:50
от beliyadm
Цвет фона меню

Автор IhorPH

Ответов: 7
Просмотров: 1080
Последний ответ 21.03.2023, 11:47:29
от marksetter
OffCanvas меню Helix Ultimate добавить текст к иконке

Автор Andre100

Ответов: 2
Просмотров: 2101
Последний ответ 20.03.2023, 12:42:49
от Andre100