BaNru сказал(а):
Это правится в style.css или, может быть, в другом css файле.
Там надо найти класс slider-wrap и попробовать добавить ему
margin или
padding
Благодарствую. Тема у меня покупная, поэтому немного проблемно для меня это все.
Style.css у меня такой:
/*
Theme Name: Attorney
Theme URI: http://themeforest.net/user/pixarwpthemes
Description: A premium wordpress theme for Lawyers, Law agencies and Law Companies. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Author: Pixar Themes.
Author URI: http://www.pixarwpthemes.com/
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Version: 1.7
Tags: black, brown, orange, tan, white, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, post-formats, translation-ready
Text Domain: PIXELART
*/
/****************************************************************************
WP CORE CLASSES
****************************************************************************/
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float:right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 18px; line-height: 25px; margin: 0; padding: 0 4px 5px; }
.sticky {}
.gallery-caption {}
.bypostauthor {}
.nocomments {}
Есть еще main.css в котором есть этот раздел slider-wrap. Но! Я там пробовал менять практически все значения и никаких изменений не наблюдалось вообще((((
/****************************************************************************
*-*-*-* SLIDER *-*-*-*
****************************************************************************/
.wraper {background: #eeecec;}
.wrapr_two {background:#322c2b url("../images/bg2.png") no-repeat;}
.wrapr_two .slides .detail h1 {color: #ffffff;}
.wrapr_two .slides .detail h3 {color: #888180;}
.wrapr_two .slides .detail p {color: #6c6564;}
.slider-wrap { margin-bottom: 90px; position: relative;}
.slider-wrap > a { position: absolute; top: 50%; margin-top: -25px; width: `; z-index: 999999; height: 49px; display: block;-webkit-transition: 0.5s; -moz-transition: 0.5s; -o-transition: 0.5s; -ms-transition: 0.5s; transition: 0.5s; }
.slider-wrap > a:hover { background-position: 0 -49px !important; }
.slider-wrap > a.left { background: url("../images/left3.png") no-repeat; left: 0px; background-position: 0 0; }
.slider-wrap > a.right { background: url("../images/right3.png") no-repeat; right: 0px; background-position: 0 0; }
.slides {width: 100%;}
.slides .detail { padding-top: 140px; }
.slides .detail h1 { color: #322c2b; background: url("../images/heading-bg.png") left bottom no-repeat; padding-bottom: 15px; margin-bottom: 30px; font: 36px 'ralewaybold', sans-serif; }
.slides .detail h3 {color: #322c2b; margin-bottom: 50px; font: 36px 'ralewaylight', sans-serif;}
.slides .detail p { color: #322c2b; margin-bottom: 50px; font: 18px 'ralewayregular', sans-serif; line-height: 30px; }
.slides figure { height: 650px; width: 100%; }
.slides figure img { height: 100%; width: 100%; }
.flexslider {height:574px;position: relative; width: 102%; }
.flexslider .slides { width: 100%;height:574px;}
.flexslider .slides a { width: 95.6%;display: block;height:100%;}
.flexslider .slides a img { width: 100%;height:100%;}
Мне нужно уменьшить расстояние которое я красным выделил. Насколько я смог разобраться, оно зависит именно от кода слайдера, потому, что если строчку слайдера убрать из шаблона, текст будет начинаться вплотную от менюшки.