Новости Joomla

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

antoha333

  • Осваиваюсь на форуме
  • 38
  • 0 / 0
Проблема с блоком меню!
« : 16.04.2011, 16:46:55 »
Проблема такая:
Есть сайт http://brendanet.com.ua/index.php видите справа блок меню , а сверху слева пробел! Как его убрать! Долбаюсь 2 недели! Помогите!
Вот содержимое template_css.css

Код: css
/*--------------------------------------------------------------
# Cutting-Edge - February 2008
# Recoded version: May 2009
# Copyright (C) 2007-2009 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: support@gavick.com
---------------------------------------------------------------*/

/* ||| universal set of reset styles |||*/
html, body, div, span, applet, object, iframe, caption, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, dl, dt, dd, ol, ul, li, fieldset, form, label, legend {vertical-align:baseline;font-size:100%;outline:0;padding:0;margin:0;border:0;}
/* remember to define focus styles! */
:focus{outline: 0;}
body{background: white;line-height: 1;color: black;}
ol, ul{list-style: none;}
/* tables still need cellspacing="0" in the markup */
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
/* remove possible quote marks (") from <q> & <blockquote> */
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
/* ||| the end |||*/
/* ||| set of clearing floats |||*/
.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* HTML .clearfix {height: 1%;}
.clearfix {display: block;}
.clear {clear: both;}
/* End hide from IE-mac */
/* ||| the end |||*/
html {
height: 100%;
margin-bottom: 1px;
}
body {
margin: 0;
padding: 0;
font-size:100%;
background: #45494D url('../images/bg_page.png') repeat-x 0 0;
font: normal 12px Arial, Verdana, sans-serif;
color: #7d7f8b;
line-height:16px;
}
a {
outline: none;
cursor: pointer;
}
img {
border: none;
text-decoration: none;
}
a:link,
a:visited,
a:active {
text-decoration: none;
color: #ff0000;
}
a:hover {
text-decoration: underline;
}
ul {
padding: 0 0 0 2px;
margin: 0;
margin-left: 1px;
list-style: none;
}
ul li {
background: transparent url('../images/arrow.gif') no-repeat 0 5px;
padding-left: 16px;
line-height: 160%;
}
ol {
margin-left: 20px;
}
ol li {
list-style-type: decimal;
line-height: 170%;
}
fieldset {
border: 0;
padding: 5px 0;
}
h1 {font-size: 200%;}
h2 {font-size: 210%;font-weight: normal;margin:2px 0 15px 0;}
h3 {font-size: 125%;}
h4 {font-size: 100%;}
h5 {font-size: 120%;}
h6 {font-size: 110%;}
th {
padding: 4px;
text-align: left;
}
fieldset {
border: none;
}
fieldset a {
font-weight: bold;
}
input,
select {
font: normal 12px Arial, Helvetica, sans-serif;
}
hr {
border-top: 1px solid #f9f9f9;
border-right: 0;
border-left: 0;
border-bottom: 0;
height: 1px;
}
.clearfix {
clear: both;
}
/* Major Blocks-------------------------------------------------------------------------------*/
div#page {
background: url('../images/bg_top.jpg') no-repeat 50% 0;
height: 100%;
margin: 0 auto;
}
div#wrap-1 {
width: 981px;
margin: 0 auto;
}
div#top {
height: 105px;
width: 960px;
margin: 0 auto;
}
/* Here you can change width or height of your logo*/
a#logo,
a#logo_styled {
display: block;
float: left;
}
a#logo_styled{
/*
Here you can change width or height of your logo
if you've disabled option "logo as image"
*/
background: transparent url('../images/logo.png') no-repeat 0 50%;
width: 200px;
height: 105px;
}
/*end*/
div#wrap-2 {
clear: both;
background: transparent url('../images/p_middle.png') repeat-y 0 0;
}
div#wrap-3 {
background: url('../images/p_top.jpg') no-repeat scroll 50% 0;
}
div#wrap-4 {
margin: 0 25px;
padding-top: 12px;
position: relative;
}
div#bottom {
background: url('../images/p_bottom.png') no-repeat 50% 100%;
height: 36px;
}
div#ctop {
width: 100%;
height: 22px;
position: absolute;
top: 12px;
}
div#loginwrap {
float: left;
width: 80%;
font: normal 11px Tahoma, Arial, Helvetica, sans-serif;
color: #2c3039;
}
div#loginwrap a {
color: #2c3039;
}
div#loginwrap input {
border: none;
border-bottom: 1px solid #202123;
margin: 0 5px;
font: normal 11px Tahoma, Arial, Helvetica, sans-serif;
color: #2c3039;
background: none;
}
ul.loginposition {
       list-style: none;
       margin: 0;
       padding: 0;
       
}
ul.loginposition li {
       background: none;
       margin: 0;
       padding: 0;
       float: left;
}

div#loginwrap input.button {
border: 1px solid #202123;
}
li.pad {
   padding-left: 12px!important;
}
div#patmenu-wrap1 {
position: relative;
top: -11px;
padding: 0;
background: #eee url('../images/bg_patmenu-left.png') no-repeat 0 0;
}
div#patmenu-wrap2 {
height: 18px;
padding: 0 12px;
background: url('../images/bg_patmenu-right.png') no-repeat 100% 0;
}
div#pathway {
float: left;
font: normal 11px Tahoma, Arial, Helvetica, sans-serif;
color: #000000;
line-height: 18px;
background: url('../images/icon_pathway.png') no-repeat 0 50%;
padding-left: 20px;
}
div#topmenu {
float: right;
margin-top: 2px;
}
div#search {
float: right;
width: 20%;
}
div#search input {
float: right;
}
div#search input.inputbox {
background: transparent url('../images/icon_search.png') no-repeat 0 40%;
border: none;
border-bottom: 1px solid #0f1014;
padding: 0 18px 0 20px;
height: 19px;
line-height: 19px;
font: normal 11px Tahoma, Arial, Helvetica, sans-serif;
color: #000000;
}
div#cont-1 {
clear: both;
width: 931px;
background: url('../images/Sci-Fi_01.jpg') no-repeat scroll 50% 0;
padding-top: 8px;
margin-top: 39px;
}
div#cont-2 {
background: #000000 url('../images/Sci-Fi_02.jpg') no-repeat scroll 50% bottom;
padding: 15px;
position: relative;
margin-bottom: 20px;
}
div#mainbody {
color : #ffffff;
background : #;
font-family : Arial, Helvetica, sans-serif;
line-height : 150%;
}
div#menu {
color : #ffffff;
clear: both;
background: url('../images/menu_bg.jpg') no-repeat 50% 0;
height: 39px;
margin-top: 47px;
}
div#header {
clear: both;
}
/* Footer
-------------------------------------------------------------------------------*/
div#footer {
clear: both;
padding: 0;
font-size: 11px;
margin:0 25px;
}
div#footer a {
font-size: 11px;
color: #7D7F8B;
}
div#links {
float: left;
padding-bottom: 10px;
color: #7D7F8B;
}
div#copyright {
float: right;
}
/* Setup of major blocks
----------------------------------------------------------------------------------*/
div#column {
float: right;
}
div#inset {
float: right;
}
div#mainbody_wrapper {
float: left;
}
div#conwrap {
float: left;
}
div#mainbody {
clear: both;
}
div#user_position-1{
float: left;
}
div#content_wrapper_left{
float: left;
}
div#footer{
overflow:hidden;
}

/* Setup value of users position 1, 2, 3, 4
----------------------------------------------------------------------------------*/

div#user_position-1,
div#user_position-2,
div#user_position-3,
div#user_position-4,
div#user_position-5,
.us-stand {
clear: both;
overflow: hidden;
}
div.us_width-33,
div.us_width-50,
div.us_width-100{
float: left;
width: 32.2%;
overflow: hidden;
margin-left: 1.6%;
}
div.us_width-50{
width: 49%;
margin-left: 2%;
}
div.us_width-100{
width: 100%;
margin-left: 0;
}
div.us_width-33:first-child,
div.us_width-50:first-child{
margin-left:0!important;
}
div#user_position-1,
div#user_position-4 {
background: url('../images/box-right.png') no-repeat bottom right;
}
div#user_position-1 div,
div#user_position-4 div {
background: url('../images/box-left.png') no-repeat bottom left;
}
div#user_position-1 div div,
div#user_position-4 div div {
background: url('../images/box-top.png') no-repeat top right;
}
div#user_position-1 div div div,
div#user_position-4 div div div {
background: url('../images/box-topleft.png') no-repeat top left;
}
div#user_position-5 {
background: url('../images/box-bottomright.jpg') no-repeat bottom right;
}
div#user_position-5 div {
background: url('../images/box-col1left.png') no-repeat bottom left;
}
div#user_position-5 div div {
background: url('../images/box-col1top.png') no-repeat top right;
}
div#user_position-5 div div div {
background: url('../images/box-col1topleft.png') no-repeat top left;
}
div#user_position-1,
div#user_position-4,
div#user_position-5 {
margin: 10px 0 0;
padding: 0;
clear: both;
width: 100%;
height:1%;
}
div#user_position-1 {
margin: 0 0 10px;
}
div#user_position-1 div,
div#user_position-1 div div,
div#user_position-4 div,
div#user_position-4 div div,
div#user_position-5 div,
div#user_position-5 div div {
padding: 0;
}
div#user_position-1 div div div,
div#user_position-4 div div div,
div#user_position-5 div div div {
padding: 9px 0;
}
div#user_position-1 div.us_width-33,
div#user_position-1 div.us_width-50,
div#user_position-4 div.us_width-33,
div#user_position-4 div.us_width-50{
background: url('../images/bullet.gif') repeat-y top left!important;
}

div#user_position-5 div.us_width-33,
div#user_position-5 div.us_width-50{
background: url('../images/bullet_2.gif') repeat-y top left!important;
}

div#user_position-1 div.us_width-33:first-child,
div#user_position-1 div.us_width-50:first-child,
div#user_position-4 div.us_width-33:first-child,
div#user_position-4 div.us_width-50:first-child,
div#user_position-5 div.us_width-33:first-child,
div#user_position-5 div.us_width-50:first-child{
background: none!important;
}
/*Modules
-------------------------------------------------------------------*/
div.moduletable,
div.moduletable_text,
div.moduletable_clear,
div.moduletable_menu,
div.moduletable-color1,
div.moduletable-color2 {
font: normal 100% Arial, Helvetica, sans-serif;
line-height:16px;
padding: 0 10px!important;
margin:-9px 0 0 0;
}
div.moduletable h3,
div.moduletable_text h3,
div.moduletable_menu h3,
div.moduletable_clear h3,
div.moduletable-color1 h3,
div.moduletable-color2 h3 {
font: bold 11px Arial, Helvetica, sans-serif;
text-transform: uppercase;
padding: 0;
margin: 0 0 5px 0;
line-height: 24px;
color: #050505;
}
div#user_position-5 div.moduletable h3,
div#user_position-5 div.moduletable-color1 h3,
div#user_position-5 div.moduletable-color2 h3 {
color: #fff;
}
div#user_position-5 a {
color: #fff;
}
div#user_position-5 ul li {
background: transparent url('../images/arrow_color.gif') no-repeat 0 5px;
}
div.module h3,
div.module-slider h3,
div.module-color1 h3,
div.module-color2 h3,
div.module-clear h3 {
margin: 0 -14px 0px;
padding: 0 14px 8px;
font: bold 11px Arial, Helvetica, sans-serif;
text-transform: uppercase;
line-height: normal;
color: #ffffff;
}
div.module-color2 h3 {
color: #fff;
}
div.module,
div.module-slider,
div.module-color1,
div.module-color2,
div.module-clear {
margin: 0 0 10px;
padding: 0;
clear: both;
width: 100%;
height:1%;
}
div.module-clear {
margin: 0 0 10px;
}
div.module div,
div.module div div,
div.module-slider div,
div.module-slider div div,
div.module-color1 div,
div.module-color1 div div,
div.module-color2 div,
div.module-color2 div div {
padding: 0;
}
div.module div div div,
div.module-slider div div div,
div.module-color1 div div div,
div.module-color2 div div div {
padding: 9px 0;
overflow: hidden;
}
/* Default*/
div.module {
background: url('../images/box-right.png') no-repeat bottom right;
}
div.module div {
background: url('../images/box-left.png') no-repeat bottom left;
}
div.module div div {
background: url('../images/box-top.png') no-repeat top right;
}
div.module div div div {
background: url('../images/box-topleft.png') no-repeat top left;
padding: 9px;
}
/*Slider*/
div.module-slider h3 {
color: #fff;
}
div.module-slider {
background: url('../images/box-col1right.jpg') no-repeat bottom right;
}
div.module-slider div {
background: url('../images/box-col1left.png') no-repeat bottom left;
}
div.module-slider div div {
background: url('../images/box-col1top.png') no-repeat top right;
}
div.module-slider div div div {
background: url('../images/box-col1topleft.png') no-repeat top left;
color: #fff;
padding: 9px 0;
}
/*color1*/
div.module-color1 {
background: url('../images/box-col2right.png') no-repeat bottom right;
}
div.module-color1 div {
background: url('../images/box-col2left.png') no-repeat bottom left;
}
div.module-color1 div div {
background: url('../images/box-col2top.png') no-repeat top right;
}
div.module-color1 div div div {
background: url('../images/box-col2topleft.png') no-repeat top left;
padding: 13px;
}
/*color2*/
div.module-color2 h3 {
color: #fff;
}
div.module-color2 {
background: url('../images/box-col1right.jpg') no-repeat bottom right;
}
div.module-color2 div {
background: url('../images/box-col1left.png') no-repeat bottom left;
}
div.module-color2 div div {
background: url('../images/box-col1top.png') no-repeat top right;
}
div.module-color2 div div div {
background: url('../images/box-col1topleft.png') no-repeat top left;
padding: 13px;
color: #fff;
}
/*|||------ Restrictions ------|||*/
div.module div div div div,
div.module div div div div div,
div.module div div div div div div,
div.module-slider div div div div,
div.module-slider div div div div div,
div.module-slider div div div div div div,
div.module-color1 div div div div,
div.module-color1 div div div div div,
div.module-color1 div div div div div div,
div.module-color2 div div div div,
div.module-color2 div div div div div,
div.module-color2 div div div div div div,
div#user_position-1 div div div div,
div#user_position-1 div div div div div,
div#user_position-1 div div div div div div,
div#user_position-4 div div div div,
div#user_position-4 div div div div div,
div#user_position-4 div div div div div div,
div#user_position-5 div div div div,
div#user_position-5 div div div div div,
div#user_position-5 div div div div div div {
background: none;
}
div.module div div div div,
div.module div div div div div,
div.module div div div div div div,
div.module-slider div div div div,
div.module-slider div div div div div div,
div.module-color1 div div div div,
div.module-color1 div div div div div,
div.module-color1 div div div div div div,
div.module-color2 div div div div,
div.module-color2 div div div div div,
div.module-color2 div div div div div div,
div#user_position-1 div div div div div,
div#user_position-1 div div div div div div,
div#user_position-4 div div div div div,
div#user_position-4 div div div div div div,
div#user_position-5 div div div div div,
div#user_position-5 div div div div div div {
padding: 0;
}
div.module-color2 a {
color: #fff;
}
div.module-color2 ul li {
background: transparent url('../images/arrow_color.gif') no-repeat 0 5px;
}
/* System message
---------------------------------------------------------------*/
#system-message dt{
display: none;
}
#system-message{
margin-top: 10px;
margin-bottom:0px;
text-align: center;
}
#system-message dd.error ul{
list-style-type: none!important;
background:#e98b05 none repeat scroll 0 0;
border-bottom:2px solid #ef6b00;
border-top:2px solid #ef6b00;
color:#fff;
margin:0;
}
#system-message dd.error ul li{
background:none!important;
}
*

dynamit

  • Завсегдатай
  • 1744
  • 265 / 0
  • Winter Is Coming
Re: Проблема с блоком меню!
« Ответ #1 : 16.04.2011, 17:06:21 »
поточнее можно? сверху слева где?


P.S.
если имеется ввиду - отступ сверху от "Главная" - то это <h3>.
typography.css (строка 118)
можно изменить так
Код
h1, h2, h3, h4 {
    margin: 0 0 25px;
}
« Последнее редактирование: 16.04.2011, 17:14:11 от dynamit »
ТАМ ГДЕ ТЫ НИЧЕГО НЕ МОЖЕШЬ, ТЫ НЕ ДОЛЖЕН НИЧЕГО ХОТЕТЬ
==========================================================
Сайты на Joomla!. Верстка. Консультации.  ||  Яндекс уже не ищет, он уже продает (с)  ||    Создание шаблона для Joomla 2.5
*

antoha333

  • Осваиваюсь на форуме
  • 38
  • 0 / 0
Re: Проблема с блоком меню!
« Ответ #2 : 16.04.2011, 17:34:49 »
Нет! Я про пробел в рамке!
*

dynamit

  • Завсегдатай
  • 1744
  • 265 / 0
  • Winter Is Coming
Re: Проблема с блоком меню!
« Ответ #3 : 16.04.2011, 18:58:22 »
вот такие манипуляции привели все в нормальный вроде вид
файл template_css.css
Код
div.module div div {
  background: url("../images/box-top.png") no-repeat scroll
    right top transparent;
  margin-left: 1px;
  width: 235px;
}
и
div.module div div div {
  background: url("../images/box-topleft.png") no-repeat scroll
    left top transparent;
  padding: 8px;
  margin-left: -1px;
}
но, это так, - танцы с бубном. смотрите box-topleft.png в папке images - у него ширина 889px.  в общем где-то там копайте.
ТАМ ГДЕ ТЫ НИЧЕГО НЕ МОЖЕШЬ, ТЫ НЕ ДОЛЖЕН НИЧЕГО ХОТЕТЬ
==========================================================
Сайты на Joomla!. Верстка. Консультации.  ||  Яндекс уже не ищет, он уже продает (с)  ||    Создание шаблона для Joomla 2.5
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Ширина меню

Автор alex86r93

Ответов: 5
Просмотров: 5063
Последний ответ 14.06.2018, 05:13:50
от KANEGI
как сделать кнопки меню!

Автор Millenium_3000

Ответов: 10
Просмотров: 11613
Последний ответ 17.08.2017, 17:24:12
от Intrande
шаблон IT Newsy - By IceTheme проблема со списком.

Автор wolf34

Ответов: 4
Просмотров: 6285
Последний ответ 30.05.2017, 11:52:27
от darkghost
Вопрос по добавлению тега в МЕНЮ j 1.5

Автор berTalino

Ответов: 12
Просмотров: 4884
Последний ответ 29.03.2017, 16:20:43
от berTalino
Проблема с изменением логотипа штатного шаблона rhuk_milkyway Joomla_1.5

Автор Porohok

Ответов: 6
Просмотров: 5134
Последний ответ 22.03.2017, 10:34:23
от Porohok