Помощник
|
Как вставить код на страницу Wordpress? |
Siege_mw
|
Сообщение
#1
|
||
|
|
||
|
|||
Sa[Y]moN |
22.9.2015, 12:02;
Ответить: Sa[Y]moN
Сообщение
#2
|
|
Необходимо разместить код на странице, в режиме "Исходного кода".
Не через визуальный редактор, а именно в режиме кода. |
|
|
Siege_mw
|
Сообщение
#3
|
|
|
|
|
k0ttee |
22.9.2015, 15:33;
Ответить: k0ttee
Сообщение
#4
|
||
|
вместить всё содержимое раздела на мою страницу? Найти элемент, который не пожелал влезать, да принудить его стать маленько поуже. Собственно, внутри фрейма есть пара блоков - вот их сузить. Отладчиком быстро нашел и вижу насколько они не влезают. Надо добавить свои CSS и все будет норм. Обертка: 260 ширины <div class="inrightout box_shadow" style="width: 260px"> Вкладыш: 220 ширины <div class="inright" id="content" style="width: 220px;"> Результат будет таким (тень справа на скрине обрезалась, но я потом исправил значения - у тебя тень не отрежется). Сейчас попробуем наколдовать CCS'ы... Пробуй! :laugh: /* костыль ширины партнерки */
div.inrightout.box_shadow { width: 260px } div.inright#content { width: 220px } /* костыль ширины партнерки */ -------------------- btc: 3Hq7X9CosVftRFPqWis1Dkk5MdtM1u6jj9 |
||
|
|||
Siege_mw
|
Сообщение
#5
|
|
k0ttee, я не пойму куда вставить нужно код
/* костыль ширины партнерки */ div.inrightout.box_shadow { width: 260px } div.inright#content { width: 220px } /* костыль ширины партнерки */ В код партнерки или в мой CSS ? |
|
|
k0ttee |
22.9.2015, 16:22;
Ответить: k0ttee
Сообщение
#6
|
|
В твой CSS, но могут быть совпадения с элементами твоего шаблона а не выхлопа партнёрки. Если будет конфликт - перенаправим на фрейм, вот тогда уж точно подойдёт.
-------------------- btc: 3Hq7X9CosVftRFPqWis1Dkk5MdtM1u6jj9 |
|
|
Siege_mw
|
Сообщение
#7
|
|
k0ttee, я вставил, но без изменений, попробуй ты сделать, может я что-то не так сделал.
[spoiler="CSS"] /*============================ RESET ============================*/ [/spoiler]
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, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } /*============================ SETUP ============================*/ html { font-size: 100.01%; } body { font-family: 'Carme', Verdana, Arial, Tahoma; font-size: 10pt; border: 0; color: #222; background: #eeeeee; } ul, ol { list-style: none; } img { border: none; } .clear { clear: both; } a, a:link, a:visited{ color: #111111; text-decoration: underline; } a:hover, a:active { text-decoration: none; } .sticky {} /*============================ WRAPPER ============================*/ #wrapper { width: 920px; margin: 75px auto 0 auto; } #sidewrap, #headwrap { width: 300px; margin-right: 580px; margin-bottom: 10px; padding: 10px; background: url(images/wrapper.png) repeat; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; } #header { width: 280px; padding: 10px; background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } /*============================ STRUCTURE ============================*/ #wrap { float: right; margin: 0 0 50px 0; width: 570px; text-align: left; padding: 10px; background: url(images/wrapper.png) repeat; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; } #contentwrap { margin: 0; padding: 10px; background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } #content { margin: 25px 10px; } /*============================ SIDEBAR ============================*/ #sidebar { width: 300px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; background: #fff; } #sidebar ul li h2 { background: url(images/bg.png) repeat-x #111111; color: #fff; text-transform: uppercase; font-size: 0.9em; padding: 8px 10px; font-family: 'Carme', Verdana, Arial; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } #sidebar .widgettitle a:link, #sidebar .widgettitle a:visited { color: #fff; text-decoration: underline; } #sidebar .widgettitle a:hover, #sidebar .widgettitle a:active { text-decoration: none; } #sidebar ul li { padding: 10px; } #sidebar ul li ul, #sidebar ul li div{ padding: 10px 5px; color: #000; } #sidebar ul li ul li { background: none; } #sidebar ul li div ul, #sidebar ul li div ul li { border: none; margin: 0; padding: 0; } #sidebar ul li ul { list-style: url(images/sidebar_arrow.png) inside; } #sidebar a, #sidebar ul { font-size: 1.0em; } #sidebar a:link, #sidebar a:visited { color:#333; text-decoration: none; } #sidebar a:hover, #sidebar a:active { color:#777; text-decoration: underline; } #sidebar ul ul li { margin: 5px 10px; padding: 0; border: 0; } #sidebar ul ul ul { border: none; padding: 0; } #sidebar .children { margin-top: 10px; margin-left: 10px; background: none; } /*============================ WIDGETS ============================ */ /* Theme SocialMedia Widget */ .widget-social-icons img{ margin: 3px; } /* Theme Ads Widget */ .widget-ads img{ margin: 3px; } /* Theme Search Widget */ .screen-reader-text { display: none; } #s { background: #f5f5f5; border: 1px solid #ddd; padding: 6px 5px; font-size: 1.0em; font-weight: bold; color: #333; width: 170px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } #searchsubmit { margin-left: 5px; padding: 5px 10px; color: #333; font-size: 1.0em; font-weight: bold; cursor: pointer; border: 1px solid #ddd; background: url(images/button.png) repeat-x #eee; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } #searchsubmit:hover { background: url(images/button_hover.png) repeat-x #eee; } /* Theme Twitter Widget */ .widget-twitter ul { margin: 0 !important; padding: 0 !important; list-style: none !important; } .widget-twitter ul li{ margin: 0 10px !important; padding: 2px 0 8px 0 !important; } .widget-twitter ul li span{ display: block; margin: 3px 0; } .widget-twitter p { display: block; margin: 5px 10px; } /*============================ HEADER ============================*/ #logo { background: url(images/bg.png) repeat-x #111111; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } #logo h1 { padding: 10px 15px 5px 15px; font-size: 2.6em; color: #fff; font-family: 'Oswald', Arial; margin: 0; } #logo .tagline { padding: 0 15px 10px 15px; font-size: 0.9em; font-family: 'Carme', Verdana, Arial; color: #eee; margin: 0; text-transform: uppercase; } #logo img { margin: 10px; } #logo a { text-decoration: none; } #portrait_image .wp-post-image { padding: 0; border: none; margin-top: 10px; } /*============================ NAVIGATION ============================*/ #navi { float: left; background: url(images/bg.png) repeat-x #111111; width: 550px; font-family: 'Carme', Verdana, Arial; padding: 0; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } #nav, #nav ul{ margin: 0; padding: 0; list-style-type: none; list-style-position: outside; position: relative; } #nav li{ float:left; position:relative; } #nav a{ display: block; padding: 12px 15px; font-size: 0.9em; text-transform: uppercase; text-decoration: none; color: #fff; } #nav a:link, #nav a:visited{ text-decoration: none; } #nav a:hover{ background: url(images/navi.png) repeat-x; } #nav ul { position: absolute; display: none; z-index: 99; border-top: 4px solid #fff; background: url(images/bg.png) repeat-x #111111; } #nav ul a { width: 200px; padding: 10px; float: left; border-top: none; font-weight: normal; } #nav ul ul{ top: -1px; padding-top: 0; border-top: 1px solid #ccc; } #nav li ul ul { margin-left: 220px; } #nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{ display:none; } #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{ display:block; } #nav .current-menu-item a, #nav .current_page_item a { text-decoration: underline; } #nav .current-menu-item ul li a, #nav .current_page_item ul li a { text-decoration: none; } /*============================ More_Posts, Calendar ============================*/ #wp-calendar { width: 100%; } #wp-calendar caption { color: #444; margin: 5px 5px 10px 5px; text-align: left; } #wp-calendar th{ color: #777; font-size: 0.9em; font-weight: bold; } #wp-calendar td{ text-align: center; } #wp-calendar #prev { padding-top: 5px; text-align: left; } #wp-calendar #next { padding-top: 5px; text-align: right; } .moretext { padding: 7px 12px; font-size: 0.9em; font-weight: bold; border: 1px solid #ddd; background: url(images/button.png) repeat-x #ddd; color: #333 !important; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } .more-link { display: block; margin-top: 15px; text-decoration: none !important; } .more-link:hover .moretext{ background: url(images/button_hover.png) repeat-x #fff; } /*============================ POST ============================*/ .post { margin: 10px 0 30px 0; } .post-title { padding-bottom: 2px; font-family: 'Oswald', Arial, Verdana, sans-serif, Helvetica; font-size: 2.2em; color: #111111; } .post-title a:link, .post-title a:visited { color: #111111; text-decoration: none; } .post-title a:hover, .post-title a:active { text-decoration: underline; } .page-title{ font-size: 2.6em; font-family: 'Oswald', Arial, Verdana, sans-serif, Helvetica; color: #111111; } .entry { padding: 10px 0; line-height: 1.5em; } .entry h1, .comment h1 { font-size: 2.2em; margin: 40px 0 20px 0; color: #222; } .entry h2, .comment h2 { font-size: 2.0em; margin: 30px 0 15px 0; padding: 0; color: #222; } .entry h3, .comment h3 { font-size: 1.8em; margin: 25px 0 12px 0; color: #222; } .entry h4, .comment h4 { font-size: 1.6em; margin: 20px 0 10px 0; color: #222; } .entry h5, .comment h5 { font-size: 1.5em; margin: 15px 0 7px 0; color: #222; } .entry h6, .comment h6 { font-size: 1.3em; margin: 10px 0 5px 0; color: #222; } .entry p { margin: 5px 0 15px 0; } .arh { font-size: 1.4em; color: #222; margin: 20px 0; padding: 8px 5px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } .postmeta { font-size: 0.85em; margin-bottom: 5px; padding: 15px 10px 5px 5px; border: 1px solid #eee; border-bottom: 1px solid #ddd; background: url(images/wrapper.png) repeat-x #fff; text-transform: uppercase; font-family: 'Carme', Verdana, Arial; color: #666; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; } .postmeta span { padding: 0 5px; border-right: 1px solid #aaa; } .postmeta a:link, .postmeta a:visited { color: #222; text-decoration: none; } .postmeta a:hover, .postmeta a:active { color:#111; text-decoration: underline; } .meta-tags ul { float: left; margin: 10px 0; } .meta-tags ul li { float: left; margin: 2px 2px 0 0; } .meta-tags ul li strong { padding: 5px; line-height: 1.8em; } .meta-tags a:link, .meta-tags a:visited { display: block; color: #222; padding: 5px; background: #ddd; text-decoration: none; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } .meta-tags a:hover, .meta-tags a:active { color:#fff; background: #333; } .author_box { margin: 20px 5px; padding: 25px 15px 15px; border: 1px solid #ddd; border-top: 1px solid #eee; background: url(images/wrapper.png) repeat-x #fff; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; } .author_image { float: left; margin-right: 15px; } .author_image img { margin: 0; padding: 3px; border: 1px solid #ddd; } .author_info h5 { font-size: 1.3em; font-weight: bold; margin-bottom: 5px; color: #444; } .author_description { color: #666; } .author_website { margin-top: 5px; font-size: 0.9em; } /*============================ Page Templates ============================*/ .network_profiles a { display: block; padding: 5px; width: 154px; float: left; border: 1px solid #ddd; background: url(images/button.png) repeat-x #ddd; margin: 5px; text-decoration: none; color: #333; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } .network_profiles a:hover { background: url(images/button_hover.png) repeat-x #fff; } .network_profiles a img { float: left; margin-right: 10px; } .network_profiles a h4 { font-weight: bold; font-size: 1.0em; line-height: 32px; margin: 0; padding: 0; } .personal_details { margin: 15px 0; border-top: 1px solid #ddd; } .personal_details ul { list-style: none !important; margin: 0 !important; padding: 0 !important; } .personal_details ul li { padding: 10px; border-bottom: 1px solid #ddd; } .personal_details .detail_title { float: left; font-weight: bold; } .personal_details .detail_value { margin-left: 200px; } /*============================ Text Elements ============================*/ .entry ul, .comment ul{ list-style: square inside; margin: 0 0 20px 1.5em; } .entry ol, .comment ol{ list-style: decimal inside; margin: 0 0 20px 1.5em; } .entry ol ol, .comment ol ol{ list-style: upper-alpha inside; } .entry ol ol ol, .comment ol ol ol{ list-style: lower-roman inside; } .entry ol ol ol ol, .comment ol ol ol ol{ list-style: lower-alpha inside; } .entry ul ul, .comment ul ul, .entry ol ol, .comment ol ol, .entry ul ol, .comment ul ol .entry ol ul, .comment ol ul { margin-bottom: 5px; } dl { margin: 10px 0 20px 0; } dt { font-weight: bold; } dd { margin-bottom: 20px; } strong { font-weight: bold; } cite, em, i { font-style: italic; } big { font-size: 1.3em; } ins { padding: 1px 2px; background: #ffa; text-decoration: none; } code, pre { padding: 3px 8px; margin: 0 1px; background: #eeeeee; color: #222 !important; font-size: 0.9em; font-family: Monospace, "Courier New", Courier; overflow: auto; } del, strike, s{ text-decoration: line-through; } pre { font-family: "Courier 10 Pitch", Courier, monospace; } small { font-size: 0.7em; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } sup, sub { height: 0; line-height: 1; position: relative; vertical-align: baseline; font-size: 0.8em; } sup { bottom: 1ex; } sub { top: .5ex; } .entry var, .entry kbd, .entry tt { font-size: 1.1em; font-family: "Courier 10 Pitch", Courier, monospace; } blockquote { margin: 20px 10px; padding: 0 10px; font-size: 1.0em; font-weight: normal; font-style: italic; text-align: justify; color: #666; border-left: 5px solid #ddd; } .entry table { border-collapse: collapse; border-spacing: 0; border: 1px solid #ddd; margin: 20px 0; text-align: left; width: 100%; } .entry tr th, .entry thead th { color: #555; font-size: 1.0em; font-weight: bold; line-height: 1.0em; padding: 5px 15px; } .entry tr td { border-top: 1px solid #ddd; padding: 5px 15px; } .entry tr.odd td { background: #eee; } /*============================ Post Type Portfolio ============================*/ .portfolio-two-column .portfolio-item { float: left; width: 250px; padding: 5px; margin: 5px 5px 15px 0; } .portfolio-three-column .portfolio-item { float: left; width: 165px; margin: 5px; } .portfolio-item h3 { font-size: 1.4em; margin: 10px 0 0 5px; } .portfolio-item .entry { padding: 5px; } /*============================ POST Forms ============================*/ .entry input, .entry textarea, .wpcf7-text{ background: #f5f5f5; border: 1px solid #ddd; padding: 5px; color: #333; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } .entry input[type="submit"], .wpcf7-submit { padding: 5px 10px; color: #333; font-size: 1.0em; font-weight: bold; cursor: pointer; border: 1px solid #ddd; background: url(images/button.png) repeat-x #eee; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } .entry input[type="submit"]:hover, .wpcf7-submit:hover{ background: url(images/button_hover.png) repeat-x #eee; } /*============================ POST Images ============================*/ .entry img { max-width: 100%; height: auto; } .wp-caption { margin: 5px; max-width: 100%; padding: 6px 3px; border: 1px solid #ddd; text-align: center; } .wp-caption-text { margin: 0 !important; padding: 0; font-size: 0.8em; text-align: center; } .alignleft { float: left; display: inline; margin: 10px 15px 10px 5px; } .alignright { float: right; display: inline; margin: 10px 5px 10px 15px; } .aligncenter { margin: 10px auto; display: block; } .wp-post-image { padding: 2px; border: 1px solid #ddd; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } .gallery { margin: 10px auto; } .gallery-item { float: left; margin-top: 10px; text-align: center; width: 33%; } .gallery-caption { padding: 0 5px; } #image-nav span { display: block; margin: 10px 0; } #image-nav .nav-previous { float: left; } #image-nav .nav-next { float: right; } #image-nav .nav-previous a, #image-nav .nav-next a{ padding: 7px 12px; font-size: 0.9em; font-weight: bold; border: 1px solid #ddd; background: url(images/button.png) repeat-x #ddd; color: #333 !important; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; text-decoration: none; } #image-nav .nav-previous a:hover, #image-nav .nav-next a:hover { background: url(images/button_hover.png) repeat-x #fff; } /*============================ Featured Posts Slider ============================*/ #content-slider { padding: 5px 10px; background: #f5f5f5; } #slider_foot { height: 40px; background: url(images/sliderfoot.png) no-repeat; margin: 5px 0 25px 0; } #slideshow { width: 520px; padding: 0; margin: 0; } #slideshow .post{ padding: 0; margin: 0; border: none; width: 510px; } #slide_panel { float: left; margin: 0 0 10px 0; width: 520px; padding: 8px 5px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } #slide_head { float: left; font-size: 1.4em; color: #111; } #slide_keys { float: right; margin-top: 3px; } #slide_keys a:link, #slide_keys a:visited { font-size: 1.2em; font-family: arial, verdana; cursor: pointer; margin-right: 5px; padding: 3px; font-weight: bold !important; text-decoration: none; color: #111; } #slide_keys a:hover { text-decoration: underline; } /*============================ Comments ============================*/ #comments, #respond { padding: 5px; } #comments h3, .reply-title, #respond h3 { font-size: 1.4em; color: #222; margin: 20px 0; padding: 8px 5px !important; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } .comment-body h3 { color: #222 !important; background: none !important; padding: 0 !important; border: none !important; } #comments a:link, #comments a:visited, #respond a:link, #respond a:visited { color: #111111; text-decoration: underline; } #comments a:hover, #comments a:active, #respond a:hover, #respond a:active{ color: #222222; text-decoration: none; } .commentmetadata { font-size: 0.7em; text-transform: uppercase; font-family: 'Carme', Verdana, Arial; margin-top: 5px; } .comment-meta a, .comment-meta a:link, .comment-meta a:visited{ color: #777 !important; text-decoration: none !important; } .comment_navi { margin: 5px 10px 20px; font-size: 0.9em; font-weight: bold; } .comment_navi .alignright { float: right; } .commentlist { text-align: left; } .commentlist .comment, .commentlist .pingback, .commentlist .trackback { list-style: none; margin-bottom: 15px; padding: 15px 10px; border: 1px solid #ddd; border-top: 1px solid #eee; background: url(images/wrapper.png) repeat-x #fff; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; } .commentlist .comment li { margin: 0; padding: 0; border: none; } .comment-author img { float: left; margin: 5px 10px 15px 0; } .comment-author .says { margin-left: 5px; } .comment-author .fn { line-height: 35px; color: #333; border: 1px solid #ddd; font-size: 1.0em; font-style: normal; padding: 5px 8px; background: #ddd; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } #comments .children { margin-left: 15px; } #comments .children .comment { margin-top: 10px; border: 1px solid #ddd; border-top: 1px solid #eee; border-left: 5px solid #ccc; padding: 15px; } .commentlist p { clear: left; margin: 10px 5px 10px 0; } .comment-reply-link { text-decoration: underline !important; } .bypostauthor .fn{ background: #111111; padding: 5px 8px; color: #fff !important; border: none; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } .bypostauthor .comment .fn { background: none !important; color: #333 !important; border: 1px solid #ddd; } .pingback .says, .trackback .says, .pingback .comment-meta, .trackback .comment-meta, .pingback .reply, .trackback .reply { display: none; } .pingback .fn, .trackback .fn { border: none; padding: 0 !important; } #commentform { margin: 5px 10px 0 0; } #commentform p { margin: 5px 0 15px 10px; } #commentform input { display: block; width: 250px; border: 1px solid #ddd; background: #f5f5f5; padding: 5px; margin: 0 0 15px 0; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } .comment-form-comment { padding-right: 10px; } #commentform textarea { display:block; width: 100%; border: 1px solid #ddd; background: #f5f5f5; padding: 5px; margin: 0 10px 20px 0; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } #commentform #submit { font-weight: bold; cursor: pointer; border: 1px solid #ddd; background: url(images/button.png) repeat-x #eee; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } #commentform #submit:hover { background: url(images/button_hover.png) repeat-x #eee; } #commentform label { font-size: 1.1em; } .nocomments { margin: 10px; padding: 0; } /*============================ WP-Pagenavi ============================*/ .wp-pagenavi { margin: 15px 0; padding: 0 5px; } .wp-pagenavi .pages { float: right; margin-top: -5px; padding: 5px 10px; border: 1px solid #ddd; background: url(images/button.png) repeat-x #eee; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } .wp-pagenavi a { margin: 0 5px 0 0; padding: 3px 8px; color: #333; text-align: center; font-size: 1.1em; font-weight: bold; text-decoration: none; border: 1px solid #ddd; background: url(images/button.png) repeat-x #eee; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } .wp-pagenavi a:hover { background: url(images/button_hover.png) repeat-x #eee; } .wp-pagenavi .current { margin: 0 5px 0 0; padding: 3px 8px; background-color: #111111; color: #fff; text-align: center; font-size: 1.1em; font-weight: bold; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } /*============================ FOOT ============================*/ #footer { margin: 30px 0 0 0; padding: 5px 10px; color: #333; border: 1px solid #ddd; background: url(images/button.png) repeat-x #ddd; font-size: 0.9em; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } #footer a { color: #222; } #footer a:hover { text-decoration: none; } #foot_navi { float: right; } #foot_navi ul li { float: left; margin: 0 10px 5px 10px; } .credit_link { float: right; font-size: 0.9em; text-decoration: none; } |
|
|
k0ttee |
22.9.2015, 17:05;
Ответить: k0ttee
Сообщение
#8
|
|
Значит, обратиться к ним как к потомкам айфрейма. Так уж точно должно...
/* костыль ширины партнерки */
iframe div.inrightout.box_shadow{width:260px} iframe div.inright#content{width:220px} /* костыль ширины партнерки */ -------------------- btc: 3Hq7X9CosVftRFPqWis1Dkk5MdtM1u6jj9 |
|
|
Siege_mw
|
Сообщение
#9
|
|
Тоже ничего не получается, наверное не туда вставляю код :unsure:
|
|
|
k0ttee |
22.9.2015, 17:34;
Ответить: k0ttee
Сообщение
#10
|
|
не туда Только что посмотрел - подхватились стили (значит все туда, но не совсем то). Там уже были заданы размеры, а нам надо их изменить... Значит я забыл !important добавить. /*костыль ширины партнерки*/
iframe div.inrightout.box_shadow{width:260px !important} iframe div.inright#content{width:220px !important} /*костыль ширины партнерки*/ -------------------- btc: 3Hq7X9CosVftRFPqWis1Dkk5MdtM1u6jj9 |
|
|
|
Похожие темы
Тема | Ответов | Автор | Просмотров | Последний ответ | |
---|---|---|---|---|---|
Большие ставки для кликов в Я.Директ. Как удешевить? | 2 | rownong27 | 1124 | 26.3.2024, 14:13 автор: knezevolk |
|
Как вы бросили работу и перешли на заработок с сайтов? | 12 | uahomka | 2298 | 25.3.2024, 6:52 автор: Skyworker |
|
Как отозвать банковский платеж фрилансеру? | 28 | metvekot | 3921 | 25.3.2024, 6:34 автор: Skyworker |
|
Как вывести деньги в Украине с заблокированного Юмани ? | 23 | freeax | 3648 | 24.3.2024, 20:55 автор: Liudmila |
|
Через какой браузер и как можно найти в кэшэ браузера видео | 10 | Room | 1943 | 23.3.2024, 7:41 автор: Room |
Текстовая версия | Сейчас: 29.3.2024, 15:56 |