Поддержка Темы и шаблоны HTML код блока подписки smartresponder

  • подскажите пожалуйста где мне надо внести изменения в коде чтобы уменьшить габариты блока подписки

    <!-- SmartResponder.ru subscribe form code (begin) -->
    <style type="text/css">/*<![CDATA[*/.sr-box table {width: auto !important;}#elem_table_element_header{width:351px !important;}.sr-box img {max-width: none;}.sr-box br {display:none;}.sr-box p {display:none;}.sr-box {display: block !important;position: relative;width: 250px;}.sr-box-list table{border:0 !important}.sr-box-list td{padding:0px !important; border:0 !important}.sr-box-list{clear: both;display: block;list-style: none outside none !important;position: relative;margin: 0!important;padding: 0!important;}.sr-box-list li {list-style: none outside none !important;margin: 0;background-image: none; background-color: #FFFFFF;color: black;display: block;font-family: Arial;font-size: 12px;height: 60px;padding: 2px 25px;}.sr-element {height: 60px !important;line-height: 60px !important;}.sr-box-list li label {height: 15px;line-height: 15px;position: relative;z-index: 10;display: block;margin-bottom: 5px;overflow: hidden;}.sr-box-list input[type="text"] {font-family: Arial;font-size: 12px;height: 33px;margin-bottom: 20px;padding: 5px 10px;position: relative;width: 100%;z-index: 10; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box;}.sr-box-list input[type="submit"] {white-space:normal;cursor:pointer}.sr-box-list select{width:100%}.sr-slider-captcha{position: relative;border: none 0;margin-top: -60px;z-index: 10;height: 33px;width: 100%;}#cnt{height:60px;}#cnt img {margin-bottom: -6px;}/*]]>*/</style>
    				<script type="text/javascript" src="https://imgs.smartresponder.ru/forms/additional_files/smart-script.js"></script>
    <script type="text/javascript" src="https://imgs.smartresponder.ru/forms/private/161001-162000/161431/sr-js-2_60.js"></script>
    <form class="sr-box" method="post" action="https://smartresponder.ru/subscribe.html" target="_blank" name="SR_form_2_60" style="width: 349px; border: 1px solid rgb(200, 200, 200); margin-left: ; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; ">
    <ul class="sr-box-list"><li class="sr-2_60" style="text-align: center; height: 60px; padding: 0px; background-color: rgb(242, 242, 242); border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px solid rgb(0, 0, 0); display: block; "> <input type="hidden" name="element_header" value="" style="font-family: Arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255); border: none; "><table id="elem_table_element_header" border="0" cellspacing="0" cellpadding="0" style="display: inline-table; border-collapse: separate; width: 351px; margin: -3px 0px 0px -1px; "><tbody><tr><td id="elem_left_element_header" valign="middle" style="background-image: url(https://imgs.smartresponder.ru/forms/blank/parts/element_header/15/left.png); background-color: transparent; width: 3px; height: 63px; background-position: 50% 0%; background-repeat: no-repeat; "></td><td id="elem_container_element_header" style="vertical-align: middle;"><label class="sr-element" style="font-size: 16px; color: rgb(255, 255, 255); font-family: arial; font-weight: bold; font-style: normal; background-image: url(https://imgs.smartresponder.ru/forms/blank/parts/element_header/15/bg.png); height: 63px !important; width: 100%; text-align: center; box-sizing: border-box; padding: 0px 25px; background-position: 50% 0%; background-repeat: repeat repeat; ; height:63px !important">Подписка на рассылку</label></td><td id="elem_right_element_header" style="background-image: url(https://imgs.smartresponder.ru/forms/blank/parts/element_header/15/right.png); background-color: transparent; width: 3px; height: 63px; background-position: 50% 0%; background-repeat: no-repeat; "></td></tr></tbody></table><li class="sr-2_60" style="border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; height: 60px; text-align: center; background-color: rgb(242, 242, 242); ">
    <label style="font-family: arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-weight: normal; display: none; " class="remove_labels"></label>
    <input type="text" name="field_name_first" class="sr-required" value="Ваше имя" style="margin-top: 20px; background-image: url(https://imgs.smartresponder.ru/forms/blank/parts/field_name_first/25/bg.png); font-family: arial; color: rgb(175, 175, 175); font-size: 11px; font-style: normal; font-weight: bold; background-color: rgb(255, 255, 255); border: 1px solid rgb(223, 223, 223); border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; height: 40px; background-position: 95% 50%; background-repeat: no-repeat; ">
    <li class="sr-2_60" style="border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; height: 60px; text-align: center; background-color: rgb(242, 242, 242); ">
    <label style="font-family: arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-weight: normal; display: none; " class="remove_labels"></label>
    <input type="text" name="field_email" class="sr-required" value="Ваш email-адрес" style="margin-top: 20px; background-image: url(https://imgs.smartresponder.ru/forms/blank/parts/field_email/26/bg.png); font-family: arial; color: rgb(175, 175, 175); font-size: 11px; font-style: normal; font-weight: bold; background-color: rgb(255, 255, 255); border: 1px solid rgb(223, 223, 223); border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; height: 40px; background-position: 95% 50%; background-repeat: no-repeat; ">
    <li class="sr-2_60" style="border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; text-align: center; background-color: rgb(242, 242, 242); border: 0px; height: 90px; ">  <table id="elem_table_subscribe" border="0" cellspacing="0" cellpadding="0" style="display: inline-table; border-collapse: separate; margin-top: 27px; "><tbody><tr><td id="elem_left_subscribe" valign="middle" style="background-image: url(https://imgs.smartresponder.ru/forms/blank/parts/subscribe/21/left.png); background-color: transparent; width: 3px; height: 40px; background-position: 0% 50%; background-repeat: no-repeat; "></td><td id="elem_container_subscribe" style="vertical-align: middle;"><input type="submit" name="subscribe" value="Подписаться" style="background-image: url(https://imgs.smartresponder.ru/forms/blank/parts/subscribe/21/bg.png); font-family: arial; color: rgb(255, 255, 255); font-size: 15px; font-style: normal; font-weight: bold; border: 0px solid rgb(240, 240, 240); margin: 0px; padding: 0px 34px; height: 40px; width: 100%; background-position: 0% 50%; background-repeat: repeat repeat; "></td><td id="elem_right_subscribe" style="background-image: url(https://imgs.smartresponder.ru/forms/blank/parts/subscribe/21/right.png); background-color: transparent; width: 3px; height: 40px; background-position: 0% 50%; background-repeat: no-repeat; "></td></tr></tbody></table>
    <input type="hidden" name="uid" value="161431">
    <input type="hidden" name="tid" value="0"><input type="hidden" name="lang" value="ru"><input type="hidden" name="did[]" value="183979"></form>
    <!-- SmartResponder.ru subscribe form code (end) -->

Просмотр 7 ответов — с 1 по 7 (всего 7)
  • За ширину отвечает атрибут width. Поменяйте его значение в коде на нужное.

    да я знаю что надо исправить with — high но проблема в том что в этом коде я их не могу найти. есть какие то размеры в пикселях (их несколько) и насколько я поняла они относятся к отдельным элементам в этом блоке подписки. А мне нужно поменять высоту и ширину всего блока. спасибо

    грех такой код смотреть:)
    есть такой замечательный плагин — firebug называется, он покажет
    допустим за ширину блока отвечает ширина 250пикселей, а его отменяет ширина формы размером 249пикселей, вот с ним и поиграйте

    Cпасибо!

    плагин грузится с расщирением xpi а wordpress говорит надо zip. Может пожскажите как правильно грузить плагины в WordPress. Спасибо

    Может пожскажите как правильно грузить плагины в WordPress.

    Вариантов несколько.
    1. Ставить из админки поиском по плагинам.
    2. Ставить из админки загрузкой архива.
    3. Загружать папку по ftp.

    спасибо. Дело в том что я пыталась загрузить рекомендованный плагин firebug. Он для браузера FIREFOX с расширением xpi и вордпресс меня просит zip грузить. Т.е что в этом случае сделать (в поиске по плагинам его нет из админки тоже не получается)может есть плагин для вордпресса который бы мне позволил быстро редактировато хтмл коды. Моя проблема осталась — блок подписки огромный и найти в его коде width мне нереально (их там еще и несколько непонятно каких)

    Firebug — это плагин для браузера, а не для вордпресс. С помощью него находите нужное место, а потом через файлы темы редактируете.

Просмотр 7 ответов — с 1 по 7 (всего 7)
  • Тема «HTML код блока подписки smartresponder» закрыта для новых ответов.