Новости Joomla

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

genkuk

  • Осваиваюсь на форуме
  • 49
  • 0 / 1
Изменение ширины шаблона
« : 29.01.2012, 16:04:34 »
Всем привет, никак не могу найти вывод ширины шаблона бьюсь уже 2-й день, шаблон резиновый, с этим еще не сталкивался, подскажите кто знает

layout.css


/* MAIN LAYOUT DIVS
--------------------------------------------------------- */
.wrap { width: 120%; clear: both; }
.main { width: 900px; max-width: 1200px; margin: 0 auto; position: relative;}

.column { overflow: hidden; float: left; }

.ja-mass { clear: both; }

/* Gutter ---*/
.main .inner {
/* We use liquid layout, so we need to insert a div which will create margin if need */
   padding-left: 5px;
   padding-right: 5px;
}

#ja-main .inner { padding: 0 !important; margin-left: 5px; margin-right:  5px; }

#ja-mainnav .inner { padding: 0 !important; margin-left: 5px; margin-right:  5px; }

.column div.ja-moduletable, .column div.moduletable, .column div.ja-module, .column div.module {
/* for side columns and spotlight, we only need to add margin or padding to Module */
   margin-left: 5px;
   margin-right: 5px;
}

.ja-inset2 div.ja-moduletable, .ja-inset2 .div.moduletable, .ja-inset2 div.ja-module, .ja-inset2 div.module {
   margin-right: 0;
   margin-left: 10px;
}

.ja-inset1 div.ja-moduletable, .ja-inset1 .div.moduletable, .ja-inset1 div.ja-module, .ja-inset1 div.module {
   margin-right: 10px;
   margin-left: 0;
}

.article_column .contentpaneopen {
/* for article columns, we only need to add margin or padding to this div  */
   padding-left: 5px;
   padding-right: 5px;
}

.leading { }

.article_row {
/* minus the spacing of the article row to macth with the Gutter & global grid */
   margin-left: -5px;
   margin-right: -5px;
}

/* MAIN COLUMN
--------------------------------------------------------- */
#ja-mainbody { float: left; }
#ja-current-content, #ja-main { float: right; }

/* SIDE COLUMNS
--------------------------------------------------------- */
.ja-colswrap {}
.ja-col {}

/* Left Column ---*/
#ja-left .ja-l2 .ja-left1, #ja-left .ja-l2 .ja-left2 { width: 70%; }
#ja-left .ja-l1 .ja-col { width: 100%; }

/* Right Column ---*/
#ja-right { float: right; }
#ja-right .ja-r2 .ja-right1, #ja-right .ja-r2 .ja-right2 { width: 70%; }
#ja-right .ja-r1 .ja-col { width: 100%; }

/* HEADER
--------------------------------------------------------- */
#ja-header {}

/* FOOTER
--------------------------------------------------------- */
#ja-footer { clear: both; }

/* CONTENT'S GRIDS
--------------------------------------------------------- */
.article_column { float: left; position: relative; }

.cols1 .article_column { width: 100%; }
.cols2 .article_column { width: 50%; }
.cols3 .article_column { width: 33.33%; }
.cols4 .article_column { width: 25%; }
.cols5 .article_column { width: 30%; }

/* SPOTLIGHT
--------------------------------------------------------- */
#ja-topsl {}
#ja-botsl {}

.ja-box { float: left; overflow: hidden; }

и вот еще defoult.php

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
$this->_basewidth = 20;
$this->customwidth('left1', 20);
$this->customwidth('right1', 20);
$this->customwidth('left-mass-top', 30);
$positions = array (
   'left1'               =>'left',
   'left2'               =>'',
   'left-mass-top'         =>'main',
   'left-mass-bottom'      =>'',
   'right1'            =>'right',
   'right2'            =>'',
   'right-mass-top'      =>'',
   'right-mass-bottom'      =>'',
   'content-mass-top'      =>'',
   'content-mass-bottom'   =>'',
   'content-top'         =>'',
   'content-bottom'      =>'',
   'inset1'            =>'',
   'inset2'            =>''
);

$this->definePosition ($positions);
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">

<head>
<?php $this->loadBlock('head')?>
</head>

<body id="bd" class="fs<?php echo $this->getParam(JA_TOOL_FONT);?> <?php echo $this->browser();?>">

<div id="ja-wrapper">
   <a name="Top" id="Top"></a>

   <!-- HEADER -->
   <?php $this->loadBlock('header')?>
   <!-- //HEADER -->

   <!-- MAIN NAVIGATION -->
   <?php $this->loadBlock('mainnav')?>
   <!-- //MAIN NAVIGATION -->
   
   <?php $this->loadBlock('topsl')?>

   <!-- MAIN CONTAINER -->
   <div id="ja-container" class="wrap <?php echo $this->getColumnWidth('cls_w'); ?>">
   <div class="main clearfix">

      <div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw')?>%">
         <div class="ja-box1"><div class="ja-box2">
            <?php $this->loadBlock('main')?>
            <?php $this->loadBlock('left')?>
         </div></div>
      </div>

      <?php $this->loadBlock('right')?>

   </div>
   </div>
   <!-- //MAIN CONTAINER -->

   <?php $this->loadBlock('botsl')?>

   <!-- FOOTER -->
   <?php $this->loadBlock('footer')?>
   <!-- //FOOTER -->

</div>

<jdoc:include type="modules" name="debug" />

<?php if ($this->isIE6()) : ?>
   <?php $this->loadBlock('ie6/ie6warning')?>
<?php endif; ?>

</body>

</html>

*

erick29

  • Захожу иногда
  • 74
  • 0 / 0
Re: Изменение ширины шаблона
« Ответ #1 : 08.05.2012, 21:07:03 »
.main { width: 900px; max-width: 1200px; margin: 0 auto; position: relative;}
это, не?
*

tefun

  • Живу я здесь
  • 2540
  • 130 / 1
  • Легче всего обмануть себя
Re: Изменение ширины шаблона
« Ответ #2 : 08.05.2012, 21:28:11 »
genkuk как код сделайте и под спойлер


вот решение
http://joomlaforum.ru/index.php/topic,215365.msg1128188.html#msg1128188
то что постится на фОруме, не вырубается тапОрами
_______________________________________________
Мысли и женщины вместе не приходят М.Ж.
*

Pazys

  • Завсегдатай
  • 1738
  • 241 / 4
  • <a>А где я ошибся-то?</b>
Re: Изменение ширины шаблона
« Ответ #3 : 08.05.2012, 21:32:02 »
.wrap { width: 120%; clear: both; }
.main { width: 900px; max-width: 1200px; margin: 0 auto; position: relative;}
.cols1 .article_column { width: 100%; }
.cols2 .article_column { width: 50%; }
.cols3 .article_column { width: 33.33%; }
.cols4 .article_column { width: 25%; }
.cols5 .article_column { width: 30%; }

<div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw')?>%">
Ишак меня нюхал ...
Если помог - плюсуйте в карму.
*

ca4ok

  • Осваиваюсь на форуме
  • 19
  • 0 / 0
Re: Изменение ширины шаблона
« Ответ #4 : 15.05.2012, 12:36:43 »
Здравствуйте!
Подскажите пожалуйста. Имеем шаблон расположенный по центру и с фиксированной шириной 1000px, при просмотре с разрешением менее 1000 px шаблон сжимается, как сделать так, чтобы он всегда оставался 1000px, просто внизу появлялась полоса прокрутки? Спасибо!

Сейчас код:
Код
#ja-wrapper1 {
width: 1000px;
margin: 0 auto;
}
*

Pazys

  • Завсегдатай
  • 1738
  • 241 / 4
  • <a>А где я ошибся-то?</b>
Re: Изменение ширины шаблона
« Ответ #5 : 15.05.2012, 12:42:17 »
Убрать записи в CSS начинающиеся с @media
Ишак меня нюхал ...
Если помог - плюсуйте в карму.
*

ca4ok

  • Осваиваюсь на форуме
  • 19
  • 0 / 0
Re: Изменение ширины шаблона
« Ответ #6 : 15.05.2012, 13:12:27 »
Убрать записи в CSS начинающиеся с @media
Спасибо, но таких записей нет. Вот css
Код

/* COMMON STYLE
--------------------------------------------------------- */
html, body, form, fieldset {
margin: 0;
padding: 0;
}

body {
color: #000000;
background: #e9e9f3;
font-family: Tahoma, Arial, Helvetica, sans-serif;
line-height: 150%;
}

body#bd {
color: #403C3A;
}

body.contentpane {
width: auto; /* Printable Page */
margin: 1em 2em;
background: #000000;
color: #000000;
font-size: 12pt;
font-family: serif;
line-height: 140%;
}

body.fs1 {
font-size: 9px;
}

body.fs2{
font-size: 10px;
}

body.fs3{
font-size: 11px;
}

body.fs4{
font-size: 12px;
}

body.fs5{
font-size: 13px;
}

body.fs6{
font-size: 14px;
}

/* Normal link */
a {
color: #632f6d;
text-decoration: none;
}

a:hover, a:active, a:focus {
color: #632f6d;
text-decoration: underline;
}

/* Title text */
.contentheading, .componentheading, .blog_more strong, h1, h2, h3, h4 {
font-weight: bold;
}

/* Small text */
small, .small, .smalldark, .mosimage_caption {
color: #999999;
font-size: 100%;
}

/* Heading */
h1 {
font-size: 180%;
}

h2 {
font-size: 155%;
}

h3 {
font-size: 125%;
}

h4 {
font-size: 100%;
text-transform: uppercase;
}

p, pre, blockquote, ul, ol, h1, h2, h3, h4, h5, h6 {
margin: 15px 0;
padding: 0;
}

ul {
list-style: none;
}

ul li {
padding-left: 30px;
background: url(../images/bullet-list.gif) no-repeat 18px 8px;
line-height: 180%;
}

ol li {
margin-left: 35px;
line-height: 180%;
}

th {
padding: 5px;
font-weight: bold;
text-align: left;
}

fieldset {
border: none;
}

fieldset a {
font-weight: bold;
}

hr {
border-top: 1px solid #DDDDDD;
border-right: 0;
border-left: 0;
border-bottom: 0;
height: 1px;
}

a img {
border: none;
}

td, div {
font-size: 100%;
}

/* FORM
--------------------------------------------------------- */
form {
margin: 0;
padding: 0;
}

form label {
cursor: pointer;
}

input, select, textarea, .inputbox {
padding: 1px;
font-family: Tahoma, Arial, sans-serif;
font-size: 100%;
}

select, textarea, .inputbox {
background: #FFFFFF;
color: #403C3A;
}

.button {
padding: 2px;
border: 1px solid #C8C8C8;
color: #403C3A;
background: url(../images/but-bg.gif) repeat-x top #E6E6E6;
font-weight: bold;
}

.inputbox {
margin-bottom: 1px;
padding: 3px 0 3px 5px;
border: 1px solid #999999;
background: #FFFFFF;
}

.inputbox:hover, .inputbox:focus {
}

input.addtocart {
width: 89px!important;
margin-right: 3px;
color: #E2E2E2;
background: url(../images/button-addtocart-big.gif) no-repeat top center !important;
font-size: 0px;
}

/* BONUS TYPOGRAPHY STYLES
--------------------------------------------------------- */
pre, .code {
padding: 10px 15px;
margin: 5px 0 15px;
border-left: 5px solid #999999;
background: #FFFFCC;
}

blockquote {
padding: 1em 40px 1em 15px;
}

blockquote span.open {
padding: 0 0 0 20px;
background: url(../images/so-q.gif) no-repeat left top;
}

blockquote span.close {
padding: 0 20px 0 0;
background: url(../images/sc-q.gif) no-repeat bottom right;
}

/* Quote hilight */
.quote-hilite {
padding: 10px 15px;
margin: 0;
border: 1px solid #DDDDDD;
background: #FFFFFF;
}

/* Small quote */
.small-quote {
margin: 0;
padding: 0;
background: none;
}

.small-quote span.open-quote {
margin: 0;
padding-left: 20px;
background: url(../images/so-q.gif) no-repeat center left;
}

.small-quote span.close-quote {
margin: 0;
padding-right: 20px;
background: url(../images/sc-q.gif) no-repeat center right;
}

.small-quote span.author {
padding: 2px 5px 2px 20px;
border-top: 1px solid #DDDDDD;
margin: 0.5em 0 0;
display: block;
background: url(../images/author.gif) no-repeat 5px 4px #DDDDDD;
font-size: 90%;
text-transform: uppercase;
}

/* Rropcap */
.dropcap {
float: left;
padding: 4px 8px 0 0;
display: block;
color: #999999;
font: 50px/40px Georgia, Times, serif;
}

/* Tips, Error, Message, Hightlight*/
.error {
padding-left: 25px;
color: #CC0000;
background: url(../images/bullet-error.gif) no-repeat top left;
}

.message {
padding-left: 25px;
color: #EE9600;
background: url(../images/bullet-info.gif) no-repeat top left;
}

.tips {
padding-left: 25px;
color: #EE9600;
background: url(../images/bullet-tips.gif) no-repeat top left;
}

.highlight {
padding: 1px 5px;
background: #FFFFCC;
font-weight: bold;
}

/* Note Style */
p.stickynote {
padding: 10px 0px 10px 40px;
border: 1px solid #DDDDDD;
background: url(../images/sticky-bg.gif) no-repeat 5px center #FFFFFF;
}

p.download {
padding: 10px 0px 10px 40px;
border: 1px solid #DDDDDD;
background: url(../images/download-bg.gif) no-repeat 5px center #FFFFFF;
}

.blocknumber {
clear: both;
padding: 5px 15px 10px;
position: relative;
}

/* Check list */
ul.checklist {
list-style: none;
}

ul.checklist li {
margin-left: 15px;
padding: 0 0 5px 20px;
background: url(../images/checklist-bg.gif) no-repeat 0 3px;
}

/* Check list */
ul.stars {
list-style: none;
}

ul.stars li {
margin-left: 15px;
padding: 0px 0 5px 20px;
background: url(../images/star-bg.gif) no-repeat 0 3px;
}

/* Bignumber */
.bignumber {
float: left;
margin-right: 8px;
padding: 6px 7px;
display: block;
color: #FFFFFF;
background: url(../images/ol-bg.gif) no-repeat top left;
font: 20px/normal Arial, sans-serif;
font-weight: bold;
}

/* Talking box. Thinking box. */
div.bubble1, div.bubble2, div.bubble3, div.bubble4 {
margin: 15px 0;
}

div.bubble1 span.author,
div.bubble2 span.author,
div.bubble3 span.author,
div.bubble4 span.author {
padding-left: 15px;
margin-left: 15px;
background: url(../images/author.gif) no-repeat center left;
font-weight: bold;
}

div.bubble1 div {
margin: 0;
width: 100%;
background: url(../images/bub1-br.gif) no-repeat bottom right;
}

div.bubble1 div div {
background: url(../images/bub1-bl.gif) no-repeat bottom left;
}

div.bubble1 div div div {
background: url(../images/bub1-tr.gif) no-repeat top right;
}

div.bubble1 div div div div {
background: url(../images/bub1-tl.gif) no-repeat top left;
}

div.bubble1 div div div div div {
margin: 0;
padding: 15px 15px 30px 15px;
width: auto;
}

div.bubble2 div {
margin: 0;
width: 100%;
background: url(../images/bub2-br.gif) no-repeat bottom right;
}

div.bubble2 div div {
background: url(../images/bub2-bl.gif) no-repeat bottom left;
}

div.bubble2 div div div {
background: url(../images/bub2-tr.gif) no-repeat top right;
}

div.bubble2 div div div div {
background: url(../images/bub2-tl.gif) no-repeat top left;
}

div.bubble2 div div div div div {
margin: 0;
padding: 15px 15px 35px 15px;
width: auto;
}

div.bubble3 div {
margin: 0;
width: 100%;
background: url(../images/bub3-br.gif) no-repeat bottom right;
}

div.bubble3 div div {
background: url(../images/bub3-bl.gif) no-repeat bottom left;
}

div.bubble3 div div div {
background: url(../images/bub3-tr.gif) no-repeat top right;
}

div.bubble3 div div div div {
background: url(../images/bub3-tl.gif) no-repeat top left;
}

div.bubble3 div div div div div {
margin: 0;
padding: 15px 15px 50px 15px;
width: auto;
}

div.bubble4 div {
margin: 0;
width: 100%;
background: url(../images/bub4-br.gif) no-repeat bottom right;
}

div.bubble4 div div {
background: url(../images/bub4-bl.gif) no-repeat bottom left;
}

div.bubble4 div div div {
background: url(../images/bub4-tr.gif) no-repeat top right;
}

div.bubble4 div div div div {
background: url(../images/bub4-tl.gif) no-repeat top left;
}

div.bubble4 div div div div div {
margin: 0;
padding: 15px 15px 55px 15px;
width: auto;
}

/* Joomla STYLE
--------------------------------------------------------- */
table.blog {
}

.article_separator {
display: block;
background: url(../images/dot.gif) repeat-x center left;
height: 40px;
}

#ja-col1 .article_separator, #ja-col2 .article_separator {
display: none;
}

table.contentpane {
border: none;
width: 100%;
}

table.contentpaneopen {
border: none;
border-collapse: collapse;
border-spacing: 0;
}

table.contenttoc {
margin: 0 0 10px 10px;
padding: 0;
width: 35%;
}

table.contenttoc a {
text-decoration: none;
}

table.contenttoc td {
padding: 5px 5px 1px 25px;
background: url(../images/bullet-list.gif) no-repeat 5% 60%;
}

table.contenttoc th {
padding: 0 0 3px;
border-bottom: 1px solid #DDDDDD;
text-indent: 5px;
text-transform: uppercase;
}

table.poll {
padding: 0;
width: 100%;
border-collapse: collapse;
}

table.pollstableborder {
padding: 0;
width: 100%;
border: none;
text-align: left;
}

table.pollstableborder img {
vertical-align: baseline;
}

table.pollstableborder td {
padding: 2px!important;
border-collapse: collapse;
border-spacing: 0;
}

table.pollstableborder tr.sectiontableentry1 td {
border: none;
background: #DDDDDD;
}

table.pollstableborder tr.sectiontableentry2 td {
border: none;
}

table.searchintro {
padding: 10px 0;
width: 100%;
}

table.searchintro td {
padding: 5px!important;
}

table.adminform {
width: 400px!important; /*Control the Frontend Editor area width*/
}

.adminform .inputbox {
}

.blog_more {
margin: 10px 0;
}

.blog_more strong {
margin: 0 0 10px;
display: block;
font-size: 150%;
}

.blog_more ul {
margin: 0;
padding: 0;
}

.blog_more ul li {
margin: 0;
padding: 0 0 0 18px;
background: url(../images/bullet-list.gif) no-repeat 5px 7px;
}

td.buttonheading {
padding: 0 0 0 8px!important;
text-align: center;
}

.category {
font-weight: bold;
font-size: 120%;
}

.clr {
clear: both;
}

.componentheading {
padding: 0 0 15px 0;
margin: 5px 0 20px;
background: url(../images/dot.gif) repeat-x bottom left;
font-size: 200%;
text-transform: uppercase;
}

.contentdescription {
padding-bottom: 30px;
}

.contentheading {
font-size: 170%;
text-transform: capitalize;
}

a.contentpagetitle,
a.contentpagetitle:hover,
a.contentpagetitle:active,
a.contentpagetitle:focus {
text-decoration: none !important;
}

a.readon {
float: left;
display: block;
text-decoration: none;
text-transform: uppercase;
}

a.readon:hover, a.readon:active, a.readon:focus {
}

table.contentpaneopen td, table.contentpane td {
}

table.contentpaneopen, table.contentpane, table.blog {
width: 100%;
}

.createdate {
padding-top: 5px;
color: #999999;
font-weight: bold;
}

.modifydate {
padding-top: 15px;
color: #999999;
height: 15px;
}

.moduletable {
padding: 0;
}

.mosimage {
margin: 15px 5px 10px 0;
padding: 0 5px 5px;
}

* HTML .mosimage {
padding: 5px 0 !important; /*IE 6*/
margin: 15px 10px 10px 0;
}

*+html .mosimage {
padding: 5px 0 !important; /*IE 7*/
}

.mosimage img {
padding: 0 !important;
margin: 0 !important;
}

.mosimage_caption {
margin-top: 5px;
padding: 1px 2px;
color: #999999;
}

.pagenav,
.pagenav_prev,
.pagenav_next,
.pagenavbar {
padding: 0 2px;
}

a.pagenav,
.pagenav_prev a,
.pagenav_next a,
.pagenavbar a {
text-decoration: none;
}

a.pagenav:hover, a.pagenav:active, a.pagenav:focus,
.pagenav_prev a:hover, .pagenav_prev a:active, .pagenav_prev a:focus,
.pagenav_next a:hover, .pagenav_next a:active, .pagenav_next a:focus,
.pagenavbar a:hover, .pagenavbar a:active, .pagenavbar a:focus {
text-decoration: none;
}

.pagenavbar {
padding-left: 14px;
background: url(../images/pages.gif) no-repeat center left;
}

.pagenavcounter {
padding: 8px 14px 0 14px;
background: url(../images/pages.gif) no-repeat 0 11px;
}

.sectiontableheader {
padding: 8px 5px;
border-top: 15px solid #FFFFFF;
background: #DDDDDD;
font-weight: bold;
font-size: 120%;
text-transform: uppercase;
}

tr.sectiontableentry1 td {
padding: 8px 5px;
background: url(../images/dot.gif) repeat-x bottom;
}

tr.sectiontableentry2 td {
padding: 8px 5px;
background: url(../images/dot.gif) repeat-x bottom;
}

tr.sectiontableentry1:hover td,
tr.sectiontableentry2:hover td {
background: url(../images/dot.gif) repeat-x bottom;
}

.smalldark {
text-align: left;
}

div.syndicate div {
text-align: center;
}

.pollstableborder tr.sectiontableentry1 td,
.pollstableborder tr.sectiontableentry2 td {
background: none;
}

/* MAIN LAYOUT DIVS
--------------------------------------------------------- */
#ja-wrapper1 {
width: 1000px;
margin: 0 auto;
}

.narrow #ja-wrapper1 {
width: 100%;
margin: 0 auto;
}

#ja-wrapper2 {
padding-right: 14px;
background: url(../images/fon.jpg) top right;
}

.narrow #ja-wrapper2 {
padding-right: 0;
background: #FFFFFF;
}

#ja-wrapper3 {
padding-left: 14px;
background: url(../images/shadow-left.gif) repeat-y left;
overflow: hidden;
}

.narrow #ja-wrapper3 {
padding-left: 0;
background: #FFFFFF;
}

#ja-containerwrap, #ja-containerwrap-fr, #ja-containerwrap-fl {
clear: both;
background: url(../images/mainwrap-right-bg.gif) repeat-y top right;
}

#ja-containerwrap-f {
clear: both;
background: none;
}

#ja-container {
background: url(../images/mainwrap-bg.gif) repeat-y 20% 0%;
}

#ja-containerwrap-f #ja-container {
border-top: 8px solid #DDDDDD;
background: none;
}

#ja-containerwrap-fl #ja-container {
background: none;
}

#ja-mainbody, #ja-mainbody-fr, #ja-mainbody-fl {
background: url(../images/top-border-c.png) repeat-x top;
}

#ja-mainbody-inner {
padding: 25px 0;
background: url(../images/top-border-r.png) no-repeat top right;
}

#ja-containerwrap-f #ja-mainbody-inner {
background: none;
}

#ja-mainbody, #ja-mainbody-fr {
float: right;
width: 80%;
}

#ja-mainbody #ja-contentwrap {
float: left;
width: 74.9%;
}

#ja-mainbody-fl {
float: left;
width: 100%;
}

#ja-mainbody-fl #ja-contentwrap {
float: left;
width: 74.9%;
background: none;
}

#ja-mainbody-fl #ja-col2 {
float: right;
width: 25%;
}

#ja-mainbody-f {
background: none;
float: none;
width: 100%;
}

#ja-content {
padding: 0 20px;
margin: 0;
clear: both;
display: block;
}

#ja-mainbody-fr #ja-content {
padding: 0 40px 0 20px;
}

/* MODULE
--------------------------------------------------------- */
div.moduletable h3 {
padding: 0;
margin: 0 0 5px;
color: #403C3A;
font-size: 120%;
text-transform: uppercase;
}

div.moduletable {
padding: 0 15px;
margin-bottom: 30px;
}

#ja-col1 div.moduletable {
margin-bottom: 15px;
}

#ja-col1 div.moduletable h3 {
margin: 0 -15px 5px;
padding: 8px 15px;
color: #ffffff;
background: #a83b75;
}

/* Right Module */
div.module h3,
div.module-grey h3,
div.module-dark h3 {
margin: 0 -14px 5px;
padding: 0 14px 8px;
font-size: 120%;
line-height: normal;
text-transform: uppercase;
}

div.module,
div.module-grey,
div.module-dark,
div.module-blank {
margin: 5px 0 10px;
padding: 0;
float: left;
clear: both;
width: 100%;
}

div.module div, div.module div div,
div.module-grey div, div.module div div,
div.module-dark div, div.module div div {
padding: 0;
}

div.module div div div,
div.module-grey div div div,
div.module-dark div div div {
padding: 8px 15px 15px;
}

div.module-blank div div div {
padding: 15px;
}

div.module div div div div,
div.module-grey div div div div,
div.module-dark div div div div,
div.module-blank div div div div {
margin: 0;
padding: 0;
float: none;
background: none;
}

div.module h3 {
border-bottom: 1px solid #DDDDDD;
}

div.module {
background: url(../images/box-br.gif) no-repeat bottom right;
}

div.module div {
background: url(../images/box-bl.gif) no-repeat bottom left;
}

div.module div div {
background: url(../images/box-tr.gif) no-repeat top right;
}

div.module div div div {
background: url(../images/box-tl.gif) no-repeat top left;
}

/* Right Module - Grey */
div.module-grey h3 {
background: url(../images/sep.gif) repeat-x bottom;
}

div.module-grey {
background: url(../images/box-br-grey.gif) no-repeat bottom right #E6E6E6;
}

div.module-grey div {
background: url(../images/box-bl-grey.gif) no-repeat bottom left;
}

div.module-grey div div {
background: url(../images/box-tr-grey.gif) no-repeat top right;
}

div.module-grey div div div {
background: url(../images/box-tl-grey.gif) no-repeat top left;
}

/* Right Module - Dark */
div.module-dark h3 {
background: url(../images/sep2.gif) repeat-x bottom;
}

div.module-dark {
color: #ffffff;
}

div.module-dark div {
background: #b1b1d5;
}

div.module-dark div div {
background: #b1b1d5;
}

div.module-dark div div div {
background: #b1b1d5;
}

div.module-dark a, div.module-dark a:hover, div.module-dark a:active, div.module-dark a:focus {
color: #FFFFFF;
text-decoration: underline;
}

/* HEADER
--------------------------------------------------------- */
#ja-headerwrap {
clear: both;
background: url(../images/header-bg.jpg) repeat top left;
position: relative;
height: 222px;
}

#ja-header {
}

h1.logo {
float: left;
margin: 0;
padding: 0;
width: 295px;
display: block;
font-size: 300%;
height: 100px;
}

h1.logo a {
width: 280px;
float: left;
display: block;
background: url(../images/logo.gif) no-repeat;
text-decoration: none;
text-transform: uppercase;
text-indent: -4000px;
height: 100px;
outline: none;
}

/* MAIN NAVIGATION
--------------------------------------------------------- */
#ja-mainnavwrap {
clear: both;
border-bottom: 1px solid #ffffff;
}

#ja-mainnav {
border-top: 1px solid #b6a7c6;
border-bottom: 1px solid #b6a7c6;
background: url(../images/mainnav-bg.png) repeat-x bottom #c6c5e4;
font-family: Arial, Helvetica, sans-serif;
}

#ja-mainnavwrap a,
#ja-mainnavwrap a:hover,
#ja-mainnavwrap a:active,
#ja-mainnavwrap a:focus {
outline: none;
}
#ja-subnav {
background: #DDDDDD;
padding: 8px 0;
}

/* Default Joomla! Menu */
a.mainlevel {
padding: 5px 0 6px 15px;
width: 90%;
display: block;
color: #ff0000;
font-weight: bold;
text-decoration: none;
}

a.mainlevel:hover,
a.mainlevel:active,
a.mainlevel:focus {
color: #ff0000;
text-decoration: none;
}

a.mainlevel#active_menu {
color: #ff0000;
font-weight: bold;
text-decoration: none;
}

a.sublevel {
padding: 2px 4px 2px 20px;
display: block;
color: #000000;
text-decoration: none;
}

a.sublevel:hover,
a.sublevel:active,
a.sublevel:focus {
color: #a83b75 !important;
text-decoration: none;

}

#active_menu {
color: #000000 !important;
font-weight: bold;
}

/* PATHWAY + SEARCH
--------------------------------------------------------- */
#ja-pathwaywrap {
clear: both;
background: url(../images/pathway-right-bg.gif) no-repeat bottom right;
height: 50px;
position: relative;
}

#ja-pathway {
padding-top: 20px;
width: 80%;
float: right;
display: block;
text-indent: 20px;
}

#ja-pathway strong {
margin-right: 10px;
}

#ja-pathway img {
margin: 0 5px;
}

#ja-pathway a {
font-weight: bold;
text-decoration: none;
}

/* Search */
#ja-searchwrap {
width: 20%;
float: left;
background: url(../images/pathway-bg.gif) no-repeat bottom right;
height: 50px;
position: relative;
}

#ja-search {
margin-top: 15px;
background: url(../images/search-bg.gif) no-repeat center;
height: 24px;
}

#ja-search .inputbox {
width: 150px;
padding: 2px 5px 3px;
border: none;
background: none;
position: absolute;
top: 18px;
left: 18px;
}

.narrow #ja-search {
background: url(../images/search-narrow-bg.gif) no-repeat center;
}

.narrow #ja-search .inputbox {
width: 100px;
}

/* LEFT COLUMN + RIGHT COLUMN
--------------------------------------------------------- */
#ja-col1 {
float: left;
width: 20%;
background: url(../images/top-border-l.png) no-repeat top right;
overflow: hidden;
}

#ja-col1 div.ja-innerpad {
padding: 8px 0 10px;
color: #C8C8C8;
}

#ja-col1 a {
color: #000000;
font-style: normal !important;
background: url(../images/bullet-list2.gif) no-repeat 2px 8px;
}

#ja-col1 a:hover, #ja-col1 a:active, #ja-col1 a:focus {
color: #a83a77;
}

#ja-col2 {
float: right;
width: 24.9%;
overflow: hidden;
}

#ja-col2 div.ja-innerpad {
padding: 0 25px 10px 0;
}

#ja-col2 li a {
color: #403C3A;
}

#ja-col2 li a:hover, #ja-col2 li a:active, #ja-col2 li a:focus {
color: #403C3A;
}

#ja-col1 table,
#ja-col2 table {
border-collapse: collapse;
border-spacing: 0;
}

#ja-col1 ul li,
#ja-col2 ul li {
padding-left: 15px;
margin: 0;
background: url(../images/bullet-list.gif) no-repeat 2px 8px;
}

#ja-col1 li {
background-image: url(../images/bullet-list3.gif)!important;
}

#ja-col1 ul,
#ja-col2 ul {
margin: 0;
}

/* USER TOOLS
--------------------------------------------------------- */
#ja-usertools,
#ja-usercolors {
font-size: 11px;
position: absolute;
top: 22px;
right: 30px;
}

*+html #ja-usertools {
right: 10px; /*IE 7*/
}

#ja-usercolors ul,
#ja-usertools ul {
margin: 0;
padding: 0;
float: left;
}

#ja-usercolors ul li,
#ja-usertools ul li {
margin: 0;
padding: 0;
list-style: none;
display: inline;
background: none;
}

#ja-usercolors img,
#ja-usertools img {
padding: 0;
margin: 0;
}

#ja-usercolors {
float: left;
padding: 10px 5px 4px;
}

/* FOOTER
--------------------------------------------------------- */
#ja-footerwrap {
clear: both;
float: left;
width: 100%;
background: #a83a77;
position: relative;
height: 100px;
}

#ja-footerwrap span.spacer {
width: 20%;
float: left;
display: block;
height: 100px;
}

#ja-footer {
padding: 20px 0;
width: 80%;
float: right;
color: #ffffff;
position: relative;
}

#ja-footer small, #ja-footer address {
padding: 0 0 0 20px;
display: block;
color: #ffffff;
font-style: normal;
font-size: 100%;
}

#ja-footer ul {
margin: 0 0 10px 5px;
padding: 0;
}

#ja-footer li {
margin: 0;
padding: 0;
display: inline;
background: none;
}

#ja-footer li a {
padding: 0 15px;
display: inline;
color: #ffffff;
font-weight: bold;
line-height: normal;
text-decoration: none;
text-transform: uppercase;
}

#ja-footer li a:hover, #ja-footer li a:active, #ja-footer li a:focus {
color: #ffffff;
text-decoration: underline;
}

/* MISCELLANOUS
----------------------------------------------------------- */
ul.accessibility {
position: absolute;
top: -100%;
}

#ja-banner {
text-align: center;
}

div.back_button a,
div.back_button a:hover,
div.back_button a:active {
margin: 10px 0;
display: block;
background: none!important;
text-decoration: none!important;
}

#modlgn_passwd, #modlgn_username {
width: 90%;
}

#modlgn_remember {
border: none;
background: none;
}

/* JA slider */
#ja-sliderwrap {
padding: 20px 30px 0 30px; /*background: url(../images/slider-bg.gif) repeat-x top left #E6E6E6;*/
}

#ja-slider {
margin:0 auto;
padding: 0;
}

.ja-slider-center {
    margin-left:auto;
    margin-right:auto;
    padding: 0;
text-align: center;
}

.narrow .ja-slider-center {
width: 100% !important;
}

#ja-slider-left,
#ja-slider-right {
float: left;
width: 30px;
position: relative;
}

#ja-slider-left img,
#ja-slider-right img {
position: absolute;
top: 55px;
right: 0;
}

#ja-slider-center span {
width: 150px;
width: 100%;
margin: 0;
padding: 0;
text-align: center;
}

#ja-slider-center img {
margin: 0;
padding: 0;
}

/* Clearfix */
.clearfix:after {
clear: both;
display: block;
content: ".";
height: 0;
visibility: hidden;
}

* HTML > body .clearfix {
width: 100%;
display: block;
}

* HTML .clearfix {
height: 1%;
}

/* Firefox Scrollbar Hack - Do not remove */
html {
margin-bottom: 1px;
height: 100%!important;
height: auto;
}
#form-login p {
margin:0px;
}

#form-login ul li a {
color:#FFF;
}
*

Pazys

  • Завсегдатай
  • 1738
  • 241 / 4
  • <a>А где я ошибся-то?</b>
Re: Изменение ширины шаблона
« Ответ #7 : 15.05.2012, 13:24:27 »
Лучше адрес сайта дайте. Эту портянку бесполезно читать.
Ишак меня нюхал ...
Если помог - плюсуйте в карму.
*

alex75300

  • Захожу иногда
  • 99
  • 5 / 0
  • Кому щас легко...
Re: Изменение ширины шаблона
« Ответ #8 : 12.08.2012, 08:36:09 »
Привет всем, есть вопросик.
Помогите правильно настроить ширину в шаблоне.
Буду очень признателен всем кто окажет мне помощь.



GSS код шаблона
Код
/* CSS Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
background: transparent;
border: 0;
font-family: inherit;
font-size: 100%;
font-style: inherit;
font-weight: inherit;
margin: 0;
padding: 0;
outline: 0;
vertical-align: baseline;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

/* Resets font size to 10px. (1.2em will be 12px, etc.). */
body {
background:#fff;
color:#000;
font: 62.5%/1.2 Arial, Helvetica, sans-serif;
text-align: center;
}

/* Structure */
#page {
margin:0 auto;
position:relative;
text-align:left;
width:100%;
}
#toplinks {
color:#fff;
position:relative;
text-align:right;
}
#toplinks .red, #toplinks .orange, #toplinks .yellow, #toplinks .green, #toplinks .blue, #toplinks .purple, #toplinks .gray {
height:22px;
}
#header {
height:90px;
margin:5px 0;
position:relative;
}
#logo {
position:absolute;
top:0; left:0;
width:227px;
}
h1.title {
background:url(../../../images/logo.png) no-repeat;
height: 0px !important;
height /**/:90px;
margin: 0;
padding: 90px 0 0 0;
overflow: hidden;
}
#leaderboard {
position:absolute;
right:0; bottom:0;
text-align:right;
width:100%;
}
#menu {
position:relative;
z-index:999;
}
#menu .red, #menu .orange, #menu .yellow, #menu .green, #menu .blue, #menu .purple, #menu .black {
height:28px;
}
#splitmenu {
position:relative;
}
#contentholder{
clear:both;
margin:10px 0;
position:relative;
width:100%;
z-index:1;
}
#center {
background:#fff;
float:left;
font-size:1.2em;
line-height:1.4;
overflow:hidden;
}
* HTML #center {
display: inline;
}
.threecolumns #center {
margin:0 10px 0 170px;
width:480px;
}
.leftcolumn #center {
margin:0 0 0 170px;
width:790px;
}
.rightcolumn #center {
margin:0 10px 0 0;
width:650px;
}
.nocolumns #center {
margin:0;
width:960px;
}
body.black .darkbg, body.gray .darkbg, body.bismark .darkbg, body.red .darkbg, body.orange .darkbg, body.yellow .darkbg, body.green .darkbg, body.blue .darkbg, body.purple .darkbg {
padding:10px;
}
#left {
float:left;
font-size:1.2em;
overflow:hidden;
width:160px;
}
.threecolumns #left {
margin:0 0 0 -660px;
}
.nocolumns #left, .rightcolumn #left {
display:none;
}
.leftcolumn #left {
margin:0 0 0 -960px;
}
#right {
float:left;
font-size:1.2em;
overflow:hidden;
width:160px;
}
.nocolumns #right, .leftcolumn #right {
display:none;
}
#bottom {
font-size:1.2em;
margin:10px 0 0;
position:relative;
text-align:center;
}
#footer {
color:#fff;
font-size:1.2em;
line-height:22px;
position:relative;
text-align:center;
}
#footer .red, #footer .orange, #footer .yellow, #footer .green, #footer .blue, #footer .purple, #footer .gray {
height:22px;
}
.clear {
clear: both;
display: block;
height: 1px;
overflow: hidden;
}

/* Text Styles */
a:link, a:visited {
color:#1b6da9;
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
p {
margin:0 0 10px;
}
#center ol, #center ul {
margin:0 0 15px 40px;
}
#left ol, #left ul, #right ol, #right ul {
margin:5px 0 5px 20px;
}
#center img {
margin:10px;
}
#center .buttonheading img {
margin:0;
}
#center h2 {
font:bold 1.4em Arial, Helvetica, sans-serif;
margin:10px 0;
}
#center h3 {
font-weight:bold;
margin:15px 0 5px;
}
#center {
line-height:1.3;
}
.componentheading, .contentheading {
font:normal 2.4em Arial, Helvetica, sans-serif;
letter-spacing:-1px;
padding:10px 0;
}
.blog .contentheading {
font:bold 1.4em Arial, Helvetica, sans-serif;
letter-spacing:0;
word-spacing:-0.5px;
}
.readon {
background:url(../images/icons.png) 0 0 no-repeat;
float:right;
padding:0 0 0 20px
}
.small {
font-size:0.8em;
color: #333;
}
.createdate, .modifydate {
font-size:0.8em;
color: #666;
}
.highlight {
background:#ddd;
}

/* Misc */
#modlgn_username, #modlgn_passwd {
  width:130px;
  }
.article_column {
padding:0 5px 0 0;
}
.article_column.column_separator {
padding:0 0 0 5px;
}
div.search {
position:absolute;
top:4px; right:4px;
}
#mod_search_searchword {
background:#fff url(../images/icons.png) 3px -31px no-repeat;
padding:0 5px 0 20px;
border:1px solid #666;
height:18px;
}
#searchForm .contentpaneopen {
background:#efefef;
border:10px solid #efefef;
margin:10px 0;
}
#searchForm .searcharea {
border-bottom:2px solid #ccc;
padding:0 0 10px;
}
#searchForm .searchintro {
margin:10px 0;
width:100%;
}
.searchresult {
border-bottom:1px dotted #ccc;
padding:10px 0;
}
#alledia {
opacity:0.5;
position:absolute;
top:0; right:10px;
}
#alledia a {
color:#fff;
}

/* Modules */
#toplinks .moduletable {
padding:0 10px;
}
.content {
padding:10px;
}
#splitmenu .content {
padding:0;
}
.module-plain .content {
padding:0;
}
.module-red h3, .module-orange h3, .module-yellow h3, .module-green h3, .module-blue h3, .module-purple h3, .module-black h3 {
color:#fff;
font-weight:bold;
height:16px;
padding:3px 10px;
}
.module-redbg h3, .module-orangebg h3, .module-yellowbg h3, .module-greenbg h3, .module-bluebg h3, .module-purplebg h3, .module-blackbg h3 {
color:#fff;
font-weight:bold;
height:16px;
padding:10px 10px 0;
}
.module-red, .module-orange, .module-yellow, .module-green, .module-blue, .module-purple, .module-black, .module-plain, .module, .module_menu,
.module-redbg, .module-orangebg, .module-yellowbg, .module-greenbg, .module-bluebg, .module-purplebg, .module-blackbg {
margin:0 0 10px;
}

/*** Colors ***/
/* Background */
body.black {
background:#000;
}
body.gray {
background:#ddd;
}
body.bismark {
background:#4d778b;
}
body.red {
background:#f9d9dd;
}
body.orange {
background:#ffead9;
}
body.yellow {
background:#fef4de;
}
body.green {
background:#e0f2de;
}
body.blue {
background:#dde9f2;
}
body.purple {
background:#e8e4f0;
}
/* Red */
#toplinks .red, #footer .red {
background:#d7021e url(../images/red.png) 0 -28px repeat-x;
}
#menu .red {
background:#d7021e url(../images/red.png) repeat-x;
}
#menu .red a {
border-right:1px solid #d7021e;
}
#menu .red a:hover, #menu .red .menu li ul a:hover, #splitmenu .module-red .menu a:hover, #splitmenu .module-redbg .menu a:hover {
background:#d7021e;
}
#menu .red .menu li ul {
border:1px solid #d7021e;
}
#splitmenu .module-red .menu a {
color:#d7021e;
}
#splitmenu .module-redbg .menu a {
color:#ac0218;
}
.module-red {
background:#fff;
border:1px solid #d7021e;
}
.module-red h3 {
background:#d7021e url(../images/red.png) 0 -28px repeat-x;
border-bottom:1px solid #ddd;
}
.module-redbg {
background:#e76778;
}
/* Orange */
#toplinks .orange, #footer .orange {
background:#ff7101 url(../images/orange.png) 0 -28px repeat-x;
}
#menu .orange {
background:#ff7101 url(../images/orange.png) repeat-x;
}
#menu .orange a {
border-right:1px solid #ff7101;
}
#menu .orange a:hover, #menu .orange .menu li ul a:hover, #splitmenu .module-orange .menu a:hover, #splitmenu .module-orangebg .menu a:hover {
background:#ff7101;
}
#menu .orange .menu li ul {
border:1px solid #ff7101;
}
#splitmenu .module-orange .menu a {
color:#ff7101;
}
#splitmenu .module-orangebg .menu a {
color:#cc5a01;
}
.module-orange {
background:#fff;
border:1px solid #ff7101;
}
.module-orange h3 {
background:#ff7101 url(../images/orange.png) 0 -28px repeat-x;
border-bottom:1px solid #ddd;
}
.module-orangebg {
background:#ffaa67;
}
/* Yellow */
#toplinks .yellow, #footer .yellow {
background:#fbb81f url(../images/yellow.png) 0 -28px repeat-x;
}
#menu .yellow {
background:#fbb81f url(../images/yellow.png) repeat-x;
}
#menu .yellow a {
border-right:1px solid #fbb81f;
}
#menu .yellow a:hover, #menu .yellow .menu li ul a:hover, #splitmenu .module-yellow .menu a:hover, #splitmenu .module-yellowbg .menu a:hover {
background:#fbb81f;
}
#menu .yellow .menu li ul {
border:1px solid #fbb81f;
}
#splitmenu .module-yellow .menu a {
color:#fbb81f;
}
#splitmenu .module-yellowbg .menu a {
color:#c99319;
}
.module-yellow {
background:#fff;
border:1px solid #fbb81f;
}
.module-yellow h3 {
background:#fbb81f url(../images/yellow.png) 0 -28px repeat-x;
border-bottom:1px solid #ddd;
}
.module-yellowbg {
background:#fdd479;
}
/* Green */
#toplinks .green, #footer .green {
background:#32a524 url(../images/green.png) 0 -28px repeat-x;
}
#menu .green {
background:#32a524 url(../images/green.png) repeat-x;
}
#menu .green a {
border-right:1px solid #32a524;
}
#menu .green a:hover, #menu .green .menu li ul a:hover, #splitmenu .module-green .menu a:hover, #splitmenu .module-greenbg .menu a:hover {
background:#32a524;
}
#menu .green .menu li ul {
border:1px solid #32a524;
}
#splitmenu .module-green .menu a {
color:#32a524;
}
#splitmenu .module-greenbg .menu a {
color:#28841d;
}
.module-green {
background:#fff;
border:1px solid #32a524;
}
.module-green h3 {
background:#32a524 url(../images/green.png) 0 -28px repeat-x;
border-bottom:1px solid #ddd;
}
.module-greenbg {
background:#84c97c;
}
/* Blue */
#toplinks .blue, #footer .blue {
background:#1b6da9 url(../images/blue.png) 0 -28px repeat-x;
}
#menu .blue {
background:#1b6da9 url(../images/blue.png) repeat-x;
}
#menu .blue a {
border-right:1px solid #1b6da9;
}
#menu .blue a:hover, #menu .blue .menu li ul a:hover, #splitmenu .module-blue .menu a:hover, #splitmenu .module-bluebg .menu a:hover, #splitmenu .module .menu a:hover, #splitmenu .module_menu .menu a:hover {
background:#1b6da9;
}
#menu .blue .menu li ul {
border:1px solid #1b6da9;
}
#splitmenu .module-blue .menu a {
color:#1b6da9;
}
#splitmenu .module-bluebg .menu a {
color:#165787;
}
.module-blue, .module, .module_menu {
background:#fff;
border:1px solid #1b6da9;
}
.module-blue h3, .module h3, .module_menu h3 {
background:#1b6da9 url(../images/blue.png) 0 -28px repeat-x;
border-bottom:1px solid #ddd;
}
.module-bluebg {
background:#76a7cb;
}
/* Purple */
#toplinks .purple, #footer .purple {
background:#65489a url(../images/purple.png) 0 -28px repeat-x;
}
#menu .purple {
background:#65489a url(../images/purple.png) repeat-x;
}
#menu .purple a {
border-right:1px solid #65489a;
}
#menu .purple a:hover, #menu .purple .menu li ul a:hover, #splitmenu .module-purple .menu a:hover, #splitmenu .module-purplebg .menu a:hover {
background:#65489a;
}
#menu .purple .menu li ul {
border:1px solid #65489a;
}
#splitmenu .module-purple .menu a {
color:#65489a;
}
#splitmenu .module-purplebg .menu a {
color:#513a7b;
}
.module-purple {
background:#fff;
border:1px solid #65489a;
}
.module-purple h3 {
background:#65489a url(../images/purple.png) 0 -28px repeat-x;
border-bottom:1px solid #ddd;
}
.module-purplebg {
background:#a391c2;
}
/* Black */
#toplinks .gray, #footer .gray {
background:#333 url(../images/black.png) 0 -28px repeat-x;
}
#menu .black {
background:#333 url(../images/black.png) repeat-x;
}
#menu .black a {
border-right:1px solid #333;
}
#menu .black a:hover, #menu .black .menu li ul a:hover, #splitmenu .module-black .menu a:hover, #splitmenu .module-blackbg .menu a:hover {
background:#333;
}
#menu .black .menu li ul {
border:1px solid #333;
}
#splitmenu .module-black .menu a {
color:#333;
}
#splitmenu .module-blackbg .menu a {
color:#000;
}
.module-black {
background:#fff;
border:1px solid #333;
}
.module-black h3 {
background:#333 url(../images/black.png) 0 -28px repeat-x;
border-bottom:1px solid #ddd;
}
.module-blackbg {
background:#666;
}

/* Menu */
ul.menu, ul.menu ul {
list-style:none;
}
#toplinks .menu li {
display:inline;
}
#toplinks .menu a {
color:#fff;
line-height:22px;
padding:0 10px;
}
#menu .menu li {
float:left;
position:relative;
}
#menu a {
color:#fff;
display:block;
font-size:1.1em;
font-weight:bold;
line-height:28px;
padding:0 12px;
}
#menu a:hover {
text-decoration:none;
}
#menu .menu li ul {
background:#fff;
padding:7px 0;
position: absolute;
width:154px;
margin:-1px 0 0 -1px;
left: -999em;
}
#menu .menu li ul a {
border:none;
color:#000;
width:114px;
font-weight:normal;
line-height:22px;
padding:0 20px;
text-transform:none;
text-align:left;
}
#menu .menu li ul a:hover {
color:#fff;
}
#menu .menu li:hover ul, #menu .menu li.sfhover ul {
left: auto;
}
#menu .menu li:hover, #menu .menu li.sfhover {
position:static;
}
#splitmenu ul.menu {
padding:0 12px;
}
#splitmenu .menu li {
display:inline;
}
#splitmenu .menu a {
font-size:1.1em;
font-weight:bold;
line-height:24px;
padding:5px 12px;
}
#splitmenu .menu a:hover {
color:#fff;
text-decoration:none;
}
#left .menu, #right .menu {
list-style:disc;
margin:0 0 0 20px;
}
#footer .menu li {
display:inline;
}
#footer .menu a {
color:#fff;
padding:0 10px;
}
#center ul.pagination {
  border-top:2px solid #efefef;
  list-style:none;
  margin:0;
  padding:5px 0 0;
  text-transform:lowercase;
  }
ul.pagination li {
  display:inline;
  }
ul.pagination span {
  padding:0 3px;
  }
ul.pagination a {
  padding:0 3px;
  }
ul.pagination .prevnext, ul.pagination .prevnext a {
  color:#999;
  }
ul.pagination .pagenum span {
  border-bottom:3px solid #ccc;
  font-weight:bold;
  }
ul.pagination a:hover {
  border-bottom:3px solid #ccc;
  color:#fff;
  background:#ccc;
  text-decoration:none;
  }
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Как вывести путь до шаблона с помощью API Joomla?

Автор elche

Ответов: 13
Просмотров: 13837
Последний ответ 11.09.2018, 23:48:50
от DK-Scorp
Стили шаблона

Автор karkan25

Ответов: 12
Просмотров: 2969
Последний ответ 21.05.2017, 16:40:32
от karkan25
Проблема с изменением логотипа штатного шаблона rhuk_milkyway Joomla_1.5

Автор Porohok

Ответов: 6
Просмотров: 3284
Последний ответ 22.03.2017, 10:34:23
от Porohok
Настройка неадаптивного шаблона

Автор Zegeberg

Ответов: 4
Просмотров: 3214
Последний ответ 21.06.2016, 00:21:06
от Zegeberg
Редактирование шаблона

Автор gdmitry

Ответов: 1
Просмотров: 2967
Последний ответ 04.06.2016, 20:25:32
от Taatshi