Новости Joomla

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

Rados

  • Новичок
  • 9
  • 0 / 0
Здравствуйте друзья! подскажите как выровнять модуль в шаблоне по центру? он вылез за границы шаблона.
вот ссылка на страницу с поехавшим модулем http://fluid-stone.com/mebel.html
« Последнее редактирование: 11.03.2014, 01:57:18 от Rados »
*

Shustry

  • Moderator
  • 6434
  • 745 / 3
Код: css
#vtemnewsshowid119-newsshow {
    left: 17px;
    position: relative;
}
*

Rados

  • Новичок
  • 9
  • 0 / 0
А где именно прописать это в шаблоне?
« Последнее редактирование: 11.03.2014, 00:33:17 от Rados »
*

Rados

  • Новичок
  • 9
  • 0 / 0
А где именно прописать это в шаблоне?
Это прописывается в шаблоне или в другом месте?
*

Shustry

  • Moderator
  • 6434
  • 745 / 3
В любом подключенном css-файле. Сразу на опережение: в любом месте.
*

Rados

  • Новичок
  • 9
  • 0 / 0
Я сделал скрин админки и написал там вопрос.
*

Rados

  • Новичок
  • 9
  • 0 / 0
Не получается прикрепить картинку. Я чайник, Вы могли-бы подробней написать где нужно это сделать?
*

Rados

  • Новичок
  • 9
  • 0 / 0
Код
body {
color:#010101;
font:14px Verdana, Arial, Geneva, Helvetica;
margin:0;
background: url(../images/body.png);
}
a {
text-decoration:none;
color:#4c5b6c;
}
a:hover {
text-decoration:underline;
}
a:active, a:focus{
outline:none;
}
input {
font:14px Verdana, Arial, Geneva, Helvetica;
vertical-align:middle;
}
textarea {
font:14px Verdana, Arial, Geneva, Helvetica;
}
form {
margin:0;
padding:0;
}
img {
border-style:none;
}
.main {
background: url(../images/top.jpg) repeat-x top;
}
.wrap {
width:1000px;
margin:0 auto;
background: url(../images/main.jpg) no-repeat top;
}
.footer {
height:157px;
background: url(../images/footer.png) repeat-x bottom;
margin-top:-124px;
}
.footer-inner {
background: url(../images/footer-inner.png) repeat-x bottom;
height:157px;
}
.footer-center {
background: url(../images/footer-center.jpg);
width:1000px;
height:157px;
margin:0 auto;
position:relative;
z-index:1;
}
.header {
height:366px;
position:relative;
}
.logo {
width:217px;
margin:0 auto;
}
.top {
height:64px;
}
.top a {
color:#947d63;
font-weight:bold;
}
.top a:hover {
text-decoration:none;
color:#b3b3b3;
}
.top .home {
position:absolute;
top:16px;
left:102px;
}
.top .contact {
position:absolute;
top:16px;
right:102px;
}
.flash {
height:205px;
}
.menu-main {
height:29px;
position:absolute;
bottom:21px;
text-align:center;
width:100%;
margin:0;
padding:0;
}
.menu-main li {
list-style:none;
display:inline;
}
.menu-main li a {
line-height:26px;
color:#b3b3b3;
font-weight:bold;
font-size:12px;
padding:0 8px;
}
.menu-main li.active a,
.menu-main li a:hover {
text-decoration:none;
color:#8e8062;
}
.holder {
width:1000px;
margin:0 auto;
background: url(../images/content.png);
}
.content {
margin-top:50px;
}
.content:after {
content:"";
clear:both;
height:0;
display:block;
}
.left-side {
float:left;
width:243px;
margin-top:-54px;
padding-bottom:355px;
background: url(../images/stones.png) no-repeat bottom right;
position:relative;
z-index:2;
}
.lbox {
background: url(../images/side-rep.png);
margin-bottom:18px;
width:243px;
}
.lbox-top {
background: url(../images/side-title.png) no-repeat top;
}
.lbox-bot {
background: url(../images/side-bot.png) no-repeat bottom;
padding:24px 20px 40px 20px;
}
.lbox h3 {
text-align:center;
margin:0;
color:#917d66;
font-size:12px;
line-height:23px;
padding-bottom:58px;
}
.menu {
margin:0;
padding:0 0 40px 36px;
}
.menu li {
list-style:none;
background: url(../images/square.png) no-repeat 0 2px;
padding:0 0 6px 22px;
}
.menu li a {
color:#00293a;
font:14px/11px Arial, Geneva, Helvetica;
}
.menu li.active a,
.menu li a:hover {
text-decoration:none;
color:#675540;
}
.right-side {
float:right;
width:237px;
margin-top:-54px;
}
.rbox {
background: url(../images/rside-rep.png);
margin-bottom:21px;
width:237px;
}
.rbox-top {
background: url(../images/rside-title.png) no-repeat top;
}
.rbox-bot {
background: url(../images/rside-bot.png) no-repeat bottom;
padding:24px 20px 40px 5px;
}
.rbox h3 {
text-align:center;
margin:0;
color:#917d66;
font-size:12px;
line-height:23px;
padding-bottom:58px;
}
.call {
text-align:center;
color:#1f2225;
font-weight:bold;
font-size:18px;
padding:0 36px 14px 0;
}
.call span {
color:#064418;
}
.call strong {
font-size:17px;
color:#0b3c51;
}
.call strong span {
color:#1f2225;
}
.meas {
font-size:13px;
font-weight:normal;
line-height:24px;
color:#000;
padding:0 30px 20px 7px;
}
.meas span {
color:#1f2226;
}
.many-text {
line-height:12px;
font-family: Verdana, Geneva, sans-serif;
}
.visual {
width:465px;
height:289px;
margin:-5px 0 20px 27px;
}
.content-holder {
margin:0 237px 0 243px;
}
.content-base {
width:100%;
float:left;
margin-top:-14px;
padding-bottom:70px;
position:relative;
z-index:2;
}
.cb-texts {
padding:0 35px 20px 39px;
}
.cb-texts h1 {
font-size:14px;
line-height:38px;
margin:0 0 17px;
}
.cb-texts h1 span {
color:#495868;
font-size:18px;
display:block;
text-align:center;
}
.intro {
font-weight:bold;
padding:0 40px 26px 0;
font-size:12px;
}
.cb-texts p {
line-height:14px;
margin:0 0 18px;
}
.cb-texts p.green {
color:#2a5101;
font-size:12px;
font-weight:bold;
}
.artice-img {
float:left;
padding:0 9px 6px 0;
}
.article p {
color:#4b4b4b;
}
.more {
text-align:right;
padding:0 8px 18px;
}
.more a {
font-size:12px;
font-weight:bold;
}
.cb-texts h2 {
font-size:14px;
margin:0 0 17px;
color:#4c5b6c;
}
.pages {
padding-right:22px;
text-align:center;
font-size:12px;
color:#4c5b6c;
line-height:29px;
}
.pages ul {
margin:0;
padding:0;
}
.pages ul li {
list-style:none;
display:inline;
}
.footer ul {
clear:both;
margin:0;
position:absolute;
left:315px;
top:93px;
padding:0;
}
.footer ul li {
list-style:none;
display:inline;
padding:0 6px;
}
.logobox {
padding-left:9px;
position:absolute;
top:93px;
right:224px;
}
.copy {
font-size:8px;
color:#c4c5c6;
position:absolute;
top:137px;
right:319px;
}


.item-page{
font-size:12px;
margin:0 0 17px;
color:#000;
font-weight: normal;
font-family: Verdana, Geneva, sans-serif;
}


.componentheading{
font-size:14px;
margin:0 0 17px;
color:#4c5b6c;
font-weight: bold;
}



.contentheading{
font-size:14px;
margin:0 0 17px;
color:#4c5b6c;
font-weight: bold;
}


.junews a{
font-size:12px;
margin:0 0 17px;
color:#060;
font-weight: bold;
font-family: Verdana, Geneva, sans-serif;
}

.junews {
font-size:12px;
margin:0 0 17px;
color:#333;
font-weight: normal;
font-family: Verdana, Geneva, sans-serif;
}


.menu-right {
margin:10;
padding-top: 0;
padding-right: 28;
padding-bottom: 40px;
padding-left: 0px;
}
.menu-right li {
list-style:none;
background: url(../images/square.png) no-repeat 0 2px;
padding:0 0 6px 22px;
}
.menu-right li a {
color:#00293a;
font:14px/11px Arial, Geneva, Helvetica;
}

.menu-right li.active a,
.menu-right li a:hover {
color:#675540;
text-decoration:none;
}

.pagination ul{
text-align: center;
}

.pagination ul  > li {
display: inline-block;
*display: block;
*zoom: 1;
padding: 0 5px;
font-size: 9pt;
}

div.tooltip {
display: none !important;
}
*

Rados

  • Новичок
  • 9
  • 0 / 0
Это фай находится в корне шаблона в котором я разместил модуль он называется  all.css
*

Shustry

  • Moderator
  • 6434
  • 745 / 3
В конце файла допишите:

Код: css
#vtemnewsshowid119-newsshow {
    left: 17px !important;
    position: relative !important;
}
*

Rados

  • Новичок
  • 9
  • 0 / 0
 поставил но к сожалению никаких изменений. там еще есть  ie.css
может другая причина?
*

Rados

  • Новичок
  • 9
  • 0 / 0
Получилось, нужно было в главном шаблоне поставить тот код.
спасибо огромное:)
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

В новом шаблоне не адаптируется изображение

Автор Ebelous

Ответов: 4
Просмотров: 2854
Последний ответ 13.02.2024, 17:01:12
от Vastriet
Как уменьшить отступ между Title и Components в шаблоне Helix3

Автор artem_wrong

Ответов: 21
Просмотров: 6161
Последний ответ 17.06.2022, 22:42:47
от Scaltro
Как сделать плавающий модуль?

Автор THeCMeX

Ответов: 2
Просмотров: 1231
Последний ответ 08.03.2021, 22:21:01
от Flexderection
Как поставить такой курсор на сайт Joomla?

Автор Romanych

Ответов: 0
Просмотров: 1032
Последний ответ 05.11.2020, 21:45:29
от Romanych
Вопрос по CSS Joomla 3+

Автор HomoSapiens

Ответов: 8
Просмотров: 1604
Последний ответ 02.11.2020, 16:30:48
от Verhov526