رفتن به مطلب

قرار دادن کد گوگل پلاس در گوشه سایت


پست های پیشنهاد شده

سلام دوستان

یه کد گوگل پلاس دارم که میخام تو گوشه سایت قرار بدم ولی نمیدونم کجا باید بزارم .

لطفا راهنمایی کنید .


<!-- Place this tag in your head or just before your close body tag. -->
<script src="https://apis.google.com/js/platform.js" async defer>
{lang: 'fa'}
</script>
<!-- Place this tag where you want the +1 button to render. -->
<div class="g-plusone" data-size="tall" data-href="http://zmelody.ir/"></div>

ادرس سایت

اون کد اول که فراخوانی میکنه گوگل رو قرار دادم .

لینک به ارسال

سلام

آخر فایل header.php کد زیر رو باید قرار بدین:


<!-- Place this tag where you want the +1 button to render. -->
<div class="gplus">
<div class="g-plusone" data-size="tall" data-href="http://zmelody.ir/"></div>
</div>

برای ثابت کردن هم کد زیر رو در style.css قرار دهید:


.gplus {position: fixed;
left: 15px;
bottom: 20px;
border-radius: 3px;
z-index: 1;}

لینک به ارسال

سلام

آخر فایل header.php کد زیر رو باید قرار بدین:


<!-- Place this tag where you want the +1 button to render. -->
<div class="gplus">
<div class="g-plusone" data-size="tall" data-href="http://zmelody.ir/"></div>
</div>

برای ثابت کردن هم کد زیر رو در style.css قرار دهید:


.gplus {position: fixed;
left: 15px;
bottom: 20px;
border-radius: 3px;
z-index: 1;}

داداش اخر فایل هیدر قرار دادم ولی افتاد بالای سایت سمت راست .

من میخام گوشه سمت چپ پایین بیوفته .

و برای ثابت کردن کجای فایل style.css قرار بدم ؟


/*

Version: 6.0
*/
@font-face{font-family:'Yekan';src:url('Fonts/BYekan.ttf') format('truetype'), url('Fonts/BYekan.eot?#') format('eot'), url('Fonts/BYekan.woff') format('woff');font-style:normal;font-weight:normal;}
*{border:0;padding:0;margin:0;}
body{direction:rtl;color:#34495e;background:#34495e;margin:0;padding:0;text-align:center;font:11px/1.9 tahoma;}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, big, cite, code, del, dfn, em, font, img, ins, kbd, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form{padding:0;margin:0;}
a{text-decoration:none;color:#34495e;transition:all 0.3s ease-out;}
a:hover{text-decoration:none;color:#e94f2e;}
ul, li{border:0;padding:0;margin:0;list-style:none;}
caption, cite, code, dfn, em, th, var{border:0;padding:0;margin:0;outline:0;}
img{border:0;transition:all 0.3s ease-out;}
h1{font:bold 1.7em/1.6 Arial, tahoma;margin:0;padding:0;}
h3,h2{font:1.2em/1.2 Yekan, Yekan;}
h4{font:bold 1.2em/1.6 Arial, tahoma;}
.clear{clear:both;}
.input-comment, .text-box, select, input.text_input, textarea, input{font:11px tahoma;padding:8px 5px;text-align:right;background:#f2f2f2;transition:all 0.3s ease-out;margin:5px 0px;}
.input-comment:focus, .text-box:focus, input.text_input:focus, textarea:focus, input:focus{background:#e5e5e5;}
.comment-button, .wpcf7-submit, .submit, #cancel_reply a, .thdrpy a{background:#E94F2E;text-shadow:1px 1px #DA4B2C;font:15px Yekan,tahoma;color:#FFF;cursor:pointer;padding:2px 6px 1px;border:1px solid #DA4B2C;}
.comment-button:hover, .wpcf7-submit:hover, .submit:hover,#cancel_reply a:hover, .thdrpy a:hover{color:#FFF;background:#34495e;text-shadow:1px 1px #2a3b4c;border:none;border:1px solid #2a3b4c;}
#cancel_reply a{float:left}
.warpper{direction:rtl;margin:0 auto 0;padding:0 0 8px 0;position:relative;width:988px;text-align:right;}
.page-body{float:left;width:550px;}
.two-box-warpper{float:right;width:720px;}
.content{margin:5px 0;}
.top{margin:0 auto;width:988px;}
.post .more a:hover,.post .contents .feedburner img:hover,.post .contents .download .button a:hover,.post .contents .download .button3 a:hover,.iconfa:hover,.footer .copyright .logo:hover{opacity:0.8;}
.menu{width:100%;border-bottom:1px solid #2c3e50;border-top:1px solid #2c3e50;height:35px;background:#34495e;}
.menu ul{font:14px Yekan,tahoma;padding:2px 0px;float:right;margin:4px 0px;}
.menu ul li{float:right;border-left:1px solid #2c3e50;}
.menu li:last-child{border-left:medium none;}
.menu ul li a{color:#F2F2F2;padding:6px 5px;margin:0px 3px;text-shadow:1px 1px 0px #2c3e50;position:relative;z-index:1;transition:all 0.1s ease-in 0.1s;}
.menu ul li a:hover{color:#FFCE34;background:#2a3b4c;}
.menu ul li a:after{content:" ";position:absolute;z-index:-1;top:0px;left:0px;width:100%;height:0px;background:#2a3b4c;transition:all 0.3s ease 0s;}
.menu ul li a:hover:after{height:100%;}
.menu span{float:left;background:#2c3e50;padding:7px 5px;font:13px Yekan,tahoma;color:#e5e5e5;text-shadow:1px 1px 0px #233240;transition:all 0.3s ease 0s;}
.menu span:hover{padding:7px}
.bread{background:#D9D9D9;width:100%;padding:3px 0px 4px;box-shadow:0px 0px 2px rgba(0, 0, 0, 0.1);}
.breadcrumbs{font:13px Yekan,tahoma;color:#34495e;text-align:right;text-shadow:1px 1px 0px #e5e5e5}
.breadcrumbs a{color:#34495e;}
.breadcrumbs a:hover{color:#e94f2e;border-bottom:2px solid #e94f2e;}
.breadcrumbs i{font-size:22px;font:17px tahoma;float:right;margin:-2px 0px 0px 5px;}
.header{width:100%;background:url('images/header-bg.png') repeat fixed 0px 0px transparent;height:92px;background-color:#f2f2f2;}
.header .icon{float:right;width:72px;height:72px;background:url('images/icon.png') no-repeat 0px 0px;margin:10px 0px 0px;transition-duration:1s;}
.header:hover .icon{transform:scale(1) rotate(360deg) translate(0px, 0px) skew(0deg, 0deg);}
.header img{float:left;margin-top:14px;border:2px solid #e5e5e5;}
.header:hover img{border:2px solid #f2f2f2;opacity:0.8;}
.ehha{float:right;width:40%;margin:8px 10px;}
.ehha h1{text-align:right;font:30px Yekan,tahoma;color:#34495e;width:100%;transition:all 0.3s ease 0s;}
.ehha h2{text-align:right;font:14px Yekan,tahoma;color:#556e87;width:100%;transition:all 0.3s ease 0s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.header:hover .ehha h1, .header:hover .ehha h2{color:#e94f2e;}
.banners{text-align:center;padding-top:6px;margin:0px 0px 5px;background:#ededed;width:100%;}
.banners img{margin:3px 2em;}
.special_posts{float:right;width:100%;margin-bottom:5px;}
.Famo{width:194px;height:200px;float:right;background:#34495e;margin:1.8px;position:relative;overflow:hidden;transition:all 0.3s ease-in;}
.Famo img{height:100%;}
.sp1 img{height:405px;width:405px;margin-right:-200px;}
.sp2 img{width:100%;height:auto;}
.Famo .title{width:100%;position:absolute;bottom:-50px;background:rgba(0,0,0,0.5);padding:3px;direction:ltr;font:12px Yekan,tahoma;color:#fff;transition:all 0.3s ease-in;}
.Famo:hover .title{bottom:0px;}
.Famo .cat{position:absolute;top:5px;right:5px;background:#fff;font:11px tahoma;padding:4px;border-radius:3px;z-index:9;font:13px/1 Yekan,tahoma;}
.Famo .cat a{color:#34495e;}
.Famo:hover .cat{background:#e94f2e;color:#f2f2f2;}
.Famo:hover .cat a:hover,.Famo:hover .cat a{color:#f2f2f2;}
.sp2{width:390px;}
.sp1{height:402px;}
.post .contents .download-links2 #musicbox{padding:0px;float:right;width:100%;}
.post .contents .download-links2 #musboxl{float:right;margin-right:1px;width:100%;}
.post .contents .download-links2 audio{width:100%;}
div#extraControls2{width:100%;text-align:center;margin:0px auto;}
.post .contents .download-links2 #musicbox #plUL{list-style:none outside none;padding:-0px;}
.post .contents .download-links2 #musicbox #btnNext{border:medium none;width:60px;height:32px;float:right;font-size:20px;color:#222}
.post .contents .download-links2 #musicbox #btnPrev{border:medium none;width:60px;height:32px;float:left;font-size:20px;color:#222;}
.post .contents .download-links2 #musicbox #npTitle{font:13px Yekan,tahoma;color:#444;margin-top:5px;background:#F2F2F2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0px 0px 2px;width:100%;}
#musicbox .plTitle:hover{color:#E84a3a}
.post .contents .download-links2 #musicbox #npAction{width:100%;float:none;line-height:25px;}
.post .contents .download-links2 #musboxr{float:right;width:100%;}
#musicbox{padding:5px 5px 0px;float:right;width:98%;}
#musicbox img{height:200px;width:237px;margin-top:5px;border:3px solid #E5E5E5;}
#musboxr{float:right;width:53%;font:13px Yekan,tahoma;}
div#plwrap{padding-top:20px;font-size:1em;}
#plUL{list-style:none outside none;margin-top:-19px;padding:0px 0px 0px;}
#plUL li{cursor:pointer;text-align:right;color:#474F5A;margin:4px 2px;line-height:26px;background:#fafafa;padding:0px}
.plSel, .plSel:hover{color:#e94f2e !important}
.plHead, .plItem{position:relative;}
.plHeadNum, .plNum, .plLength{text-align:center;background:#f2f2f2;border-radius:0px 2px 2px 0px;}
.plHeadNum, .plNum{width:25px;}
.plHeadTitle, .plTitle{position:absolute;top:0px;right:35px;left:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#musboxl{float:right;width:46%;margin-right:1%;}
#audiowrap{text-align:center;}
#audiowrap #audio0{text-align:center;margin:0px auto;}
div#extraControls{max-width:290px;text-align:center;margin:0px auto;}
#btnPrev{border:medium none;float:left;background:url('images/icon.png') no-repeat -116px 7px #f2f2f2;width:50px;height:30px;}
#btnNext{border:medium none;float:right;background:url('images/icon.png') no-repeat -116px -18px #f2f2f2;width:50px;height:30px;}
#npAction{color:#60666A;width:100%;line-height:31px;text-align:center;font-size:14px;}
#musicboxpic{margin-top:2px;}
#npTitle{font:13px Yekan,tahoma;color:#474F5A;margin-top:-6px;background:#f2f2f2;padding:0px 0px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#audiowrap #audio0 audio{width:100%;}
.entry audio{float:left;margin-bottom:5px;width:100%;}
.postdown ul{width:100%;background:#F2F2F2;float:right;margin-bottom:5px;}
.postdown ul li{padding:4px 7px;float:right;text-align:justify;font:13px Yekan,tahoma;transition:all 0.3s ease-out 0s;border-left:1px solid #e5e5e5;}
.postdown ul li:hover{background:#e5e5e5;}
.postdown ul li a{padding:0px 5px;}
.postdown li:last-child{border-left:medium none;}
.post{margin:0px 0px 10px;width:551px;background:#FFF;display:inline-block;}
.post .title{width:100%;border-bottom:1px solid #cc462a;background:#da4b2c;padding:5px 0px;}
.post .title h3,.post .title h2{width:80%;margin-right:10px;}
.post .title h3 a, .post .title h2 a{font:15px Yekan,tahoma;text-shadow:1px 1px 0pt #cc462a;text-align:center;color:#F2F2F2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.post .title h3 a:hover,.post .title h2 a:hover{padding-right:5px;opacity:0.8;}
.post .title .leftbox{margin:-23px 0px 0px 10px;float:left;width:70px;}
.post .title .leftbox .like{float:left;}
.contents{width:97%;padding:0px 7px;}
.post .more a{background:#E94F2E;color:#F2F2F2;text-shadow:1px 1px 0px #DA4B2C;transition:all 0.3s ease-out 0s;padding:5px 10px;font:16px Yekan,tahoma;text-align:center;float:left;margin:5px;}
.comments a{float: right !important;background:#34495e !important;text-shadow:1px 1px 0px #2a3b4c !important;}
.post .contents > ul li:before{font-family:FontAwesome;font-size:9px;margin-left:5px;color:#34495E;display:inline-block;text-align:center;content:"\f104";}
.post .contents ul li{padding:2px 10px 2px 1px;color:#34495E;list-style-position:inside;transition:all 0.3s ease-out 0s;}
.post .contents ul li:hover{padding:2px 15px 2px 1px;}
.post .contents h2{font-size:14px;margin:5px 0px;}
.post .contents h3{font-size:15px;margin:5px 0px;}
.post .contents img{border:3px solid #EFEFEF;opacity:0.9;max-width:99%;height:100%;}
.post .contents .feedburner{background:#f7f7f7;width:100%;transition:all 0.3s ease-out 0s;display:inline-block;}
.post .contents .feedburner img{border:0px;}
.post .contents .feedburner:hover{background:#f2f2f2;}
.post .contents .download .button a{display:block;color:#f2f2f2;font:15px/3 Yekan,Tahoma;background:#e94f2e;transition:all 0.3s ease-out 0s;width:50%;margin-bottom:5px;text-shadow:1px 1px 0px #da4b2c;border-right:5px solid #da4b2c;border-left:5px solid #da4b2c;}
.button2 a{background:#34495e !important;text-shadow:1px 1px 0px #2a3b4c !important;border-right:5px solid #2a3b4c !important;border-left:5px solid #2a3b4c !important;}
.post .contents .download .button3{display:inline-block;width:25.5%;}
.post .contents .download .button3 a{background:#34495e;text-shadow:1px 1px 0px #2a3b4c;border-right:3px solid #2a3b4c;border-left:3px solid #2a3b4c;font:15px/3 Yekan,Tahoma;color:#f2f2f2;display:block;}
.socialfa{text-align:center;padding-top:8px;}
.iconfa{display:inline-block;width:32px;height:32px;background:url('images/icon.png') repeat;overflow:hidden;white-space:nowrap;text-indent:100%;opacity:0.9;transition:all 0.3s ease-out;margin:0px 0px;}
.googlefa{background-position:-96px -105px;}
.google_plus{background-position:0px -105px;}
.stumbleupon{background-position:-129px -137px;}
.digg{background-position:-128px -105px;}
.cloob{background-position:0px -137px;}
.facenama{background-position:-32px -137px;}
.twitterfa{background-position:-64px -105px}
.facebookfa{background-position:-32px -105px;}
.yahoofa{background-position:-64px -137px;}
.emailfa{background-position:-96px -137px;}
.linkedin{background-position:-126px -73px;}
.sefaresh a{font:13px/1.7 Yekan,tahoma;float:left;background:#F2F2F2;padding:1px 5px;color:#34495E;text-shadow:1px 1px 0px #fff;}
.sefaresh a:hover{background:#e94f2e;color:#f2f2f2;text-shadow:1px 1px 0px #da4b2c;}
.sefaresh span{font:13px Yekan,tahoma;color:#34495e;border-bottom:1px solid #e5e5e5;}
.sidebar-right{float:right;width:163px;}
.sidebar-left{float:left;width:260px;margin-bottom:5px;}
.sidebar-right .box, .sidebar-left .box, .tags{margin:0px 0px 5px;background:#FFF;padding:5px;}
.sidebar-right .box .title,.sidebar-left .box .title,.tags .title{background:#e94f2e;padding:0px 30px 0px 0px;margin-bottom:5px;}
.sinbot{background:#34495e !important;}
.sinbot p{text-shadow:1px 1px 0px #2a3b4c !important;}
.sidebar-right .box .title h4, .sidebar-left .box .title h5, .tags .title p{padding:0px 7px;font:15px/2 Yekan,Tahoma;color:#F2F2F2;border-right:1px solid #E5E5E5;text-shadow:1px 1px 0px #da4b2c;}
.sidebar-right .box .content,.sidebar-left .box .content,.tags .content{width:100%;margin:0px;clear:both;}
.tags .content{width:100%;}
.tags .content h3{text-align:justify;}
.tags .content h3 a{font:13px/33px Yekan,tahoma;padding:3px 4px;background:#f7f7f7;color:#444;}
.tags .content h3 a:hover{background:#34495e;color:#f2f2f2;text-shadow:1px 1px 0 #2b3d4e;}
.sidebar-right .box .content li:last-child,.sidebar-left .box .content li:last-child ,.tags .content li:last-child{border-bottom:medium none;}
.sidebar-right .box .content ul li, .sidebar-left .box .content ul li, .tags .content ul li{transition:all 0.3s ease-out 0s;font:13px Yekan,tahoma;padding:3px 5px;color:#34495e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid #fff;background:#f7f7f7;}
.sidebar-right .box .content li:nth-child(2n),
.sidebar-left .box .content li:nth-child(2n),
.tags .content li:nth-child(2n){background:#f1f1f1;}
.sidebar-right .box .content ul li a:before, .sidebar-left .box .content ul li a:before, .tags .content ul li a:before{padding-left:3px;font-size:15px;float:right;content:"»";margin-top:-2px;}
.sidebar-right .box .content ul li:hover,.sidebar-left .box .content ul li:hover,.tags .content ul li:hover{background:#e94f2e;color:#f2f2f2;}
.sidebar-right .box .content ul li a,.sidebar-left .box .content ul li a,.tags .content ul li a{color:#34495e;font:12px Yekan, tahoma;}
.sidebar-right .box .content ul li:hover a,
.sidebar-left .box .content ul li:hover a,
.tags .content ul li:hover a,
.sidebar-right .box .content ul li:hover a:hover,
.sidebar-left .box .content ul li:hover a:hover,
.tags .content ul li:hover a:hover{color:#f2f2f2;}
.sidebar-right .box .content .ads-right,.sidebar-left .box .content .ads-left{text-align:center;clear:both;}
.sidebar-right .box .content .ads-right img,.sidebar-left .box .content .ads-left img{margin-top:7px;}
categories{margin-bottom: -5px;}
.categories ul{font:13px Yekan,tahoma;}
.categories ul li{margin:0px 5px;}
.categories ul li a{display:block;padding-bottom:5px;position:relative;color:#34495e;}
.categories > ul > li > a{color:#E94F2E;font-size:15px;width:100%;margin:5px 0px;}
.categories > ul > li > a:hover{color:#cc462a}
.categories > ul > li:last-child li ul li:last-child a{border-bottom:0;}
.categories li ul li a:before{content:"»";float:right;margin:-3px 0px 0px 4px;font-size:15px;}
.categories > ul > li > ul > li:hover > a:before{background-position:-208px -79px;transition:all 250ms ease-in-out 0s;}
.categories > ul > li > ul > li:hover > a,.categories > ul > li > ul > li > ul > li:hover > a{color:#cc462a;padding-right:5px}
.categories > ul > li > ul > li:before,
.categories > ul > li > ul > li:after{display:table;line-height:0;content:"";}
.categories > ul > li > ul > li:after{clear:both;}
.categories > ul > li > ul > li > ul{width:97%;float:left;}
.categories li ul li{margin-top:4px;}
.text-ads{text-align:center;font-family:Yekan,tahoma;}
.text-ads a{color:#34495e;display:inline-block;font-size:14px;margin-top:2px;text-shadow:1px 1px 0px #FFF;background:#f7f7f7;border-right:3px solid #e5e5e5;padding:3px 0px;width:48%;}
.text-ads a:hover{color:#f2f2f2;background:#e94f2e;text-shadow:1px 1px 0px #da4b2c;border-right:3px solid #da4b2c;}
.request-box{margin:0px 0px 5px;background:#FFF;border:1px solid #E5E5E5;padding:5px;}
.request-box .title{background:#E94F2E;padding:0px 5px;font:15px/2 Yekan,Tahoma;color:#F2F2F2;border-right:1px solid #E5E5E5;text-shadow:1px 1px 0px #DA4B2C;margin-bottom:5px}
.request-box .contact{width:100%;margin:0px;clear:both;}
.request-box .contact .request{text-align:center;}
.request-box .contact .request a{background:none repeat scroll 0px 0px #34495E;color:#FFF;font:13px/2 Yekan,tahoma;text-shadow:1px 1px 0px #2B3D4E;display:block;padding:2px 0px;}
.request-box .contact .request a:hover{background:none repeat scroll 0px 0px #2b3d4e;text-shadow:1px 1px 0px #1e2a35;}
.pages{float:right}
.wp-pagenavi{clear:both;direction:ltr;text-align:right;float:left;font:15px Yekan, tahoma;width:99.5%;}
.wp-pagenavi a, .wp-pagenavi span{text-decoration:none;margin:2px;direction:rtl;text-align:center;color:#666;float:left;padding:0 7px;height:27px;background:#ededed;line-height:25px;text-shadow:1px 1px #fff;transition:all 0.5s ease;}
.wp-pagenavi a:hover, .wp-pagenavi span.current{border-color:#999;color:#FFF;float:left;background:#e94f2e;text-shadow:1px 1px #da4b2c;}
.wp-pagenavi span.current{float:left;}
.t1{height:25px;background:#efefef;}
.t2{height:25px;}
.ltr{direction:ltr;}
.jads{width:500px;border:#bababa solid 1px;background:#ffffff;}
.jads-t{background:#3297da;padding:5px;color:#ffffff;font-family:Yekan;font-size:15px;text-shadow:1px 1px 0 #2c85c0;}
.comment-bodys{margin:0 10px;}
.addcomment{margin:15px 0 10px 0;}
.textarea-box{display:inline-block;}
.commentdata{float:right;width:42%;margin-right:5px;}
#commentform{width:102%;}
.commentdata label, .textarea-box label{margin:8px 0;width:100px;display:block;font:13px Yekan,tahoma;}
.comment{margin:10px 0px;background:#f2f2f2;padding:10px;border:1px solid #e5e5e5;display:inline-block;width:96%;}
.avatar{float:right;margin-left:5px;}
.comment-author{width:100%;}
.comment h4, .vcard, .commentmetadata{font:14px Yekan, tahoma;}
.text-box{width:296px;height:175px;float:left;}
.comment-text{width:250px;display:block;}
.comments-rules{border-right:4px solid #eee;padding:5px;margin:10px 0;color:#999;font:12px Yekan, tahoma;}
.comments-rules h4{color:#666;font:14px Yekan, tahoma;}
.editComment, .editableComment, .textComment{display:inline;}
.comment-childs{margin:10px 0 5px;background:#f5f5f5;padding:10px;border:#e2e2e2 solid 1px;}
.chalt{width:97%;background-color:#f5f5f5;}
#newcomment{border:#777 dashed 1px;width:90%;}
#newcommentsubmit{color:red;}
.adminreplycomment{border:#777 dashed 1px;width:99%;margin:4px;padding:4px;}
.mvccls{color:#999;}
.footer{background:url('images/header-bg.png') repeat fixed 0px 0px #F2F2F2;border-top:3px solid #d9d9d9;border-bottom:3px solid #34495e;}
.footer .tagslist h6{font:17px Yekan,tahoma;color:#F2F2F2;background:#34495e;padding:2px 5px;text-align:right;float:right;text-shadow:1px 1px 0px #2a3b4c;margin-left:5px;}
.footer .tagslist{width:100%;float:right;line-height:31px;text-align:justify;padding:5px 0px;}
.footer .tagslist a{padding:6px 5px;color:#34495E;background:#E5E5E5;text-shadow:1px 1px #F2F2F2;font:10px tahoma;}
.footer .tagslist a:hover{color:#f2f2f2;background:#34495e;text-shadow:1px 1px #2b3d4e}
.footer .bottom{background:#D9D9D9;padding:5px 0px;float:right;width:100%;}
.footer .links{width:60%;float:right;}
.footer .links p{font:13px/25px Yekan,tahoma;text-align:justify}
.footer .links a{color:#e94f2e;}
.footer .links a:hover{color:#34495e;}
.footer .links ul{font:13px Yekan,tahoma;float:right;color:#7d8e9e;text-align:right;}
.footer .links ul li{margin:5px 2px;display:inline-block;}
.footer .links ul li a{color:#34495e;}
.footer .links ul li a:hover{color:#e94f2e}
.footer .copyright{color:#4d647a;float:left;text-align:left;font:11px/24px tahoma;margin-top:5px;width:40%;}
.footer .copyright .logo{float:left;width:104px;height:31px;background:url('images/icon.png') no-repeat 0px -73px;margin:10px;transition:all 0.3s ease-out 0s;}
.entry{background:#FFF;margin:0px 0px 5px;width:539px;float:right;border:1px solid #E5E5E5;padding:5px;}
.entry p{margin:5px;}
.entry .title{background:#34495e;font:16px/2 Yekan,tahoma;color:#F2F2F2;padding:0px 30px 0px 0px;}
.entry .title h2,.entry .title h3{padding:0px 7px;font:15px/2 Yekan,Tahoma;color:#F2F2F2;border-right:1px solid #E5E5E5;text-shadow:1px 1px 0px #2a3b4c;}
.entry .buy a{display:block;color:#FFF;font:13px Yekan,tahoma;padding:7px;margin:5px;border:1px solid #E69827;border-right:5px solid #E69827;text-shadow:1px 1px 0px #E69827;background:#faa52a;}
.entry .buy a:hover{border:1px solid #d38b24;text-shadow:1px 1px 0px #d38b24;background:#e69827;}
.entry .buy a span{float:left;width:44px;height:46px;margin:-19px 0px 0px;background:url('images/icon.png') no-repeat -72px 0px;}
.entry img{border:3px solid #EFEFEF;opacity:0.9;max-width:99%;height:100%;}
.clear{clear:both;font-size:0;line-height:0;height:0;}
.iLikeThis{display:inline;}
.iLikeThis .counter{background:url(images/icon.png) no-repeat -75px -46px;padding:0 0 0 17px;font:14px Yekan,Tahoma;color:#e5e5e5;}
.iLikeThis .counter a{cursor:pointer;}
.iLikeThis .counter a.image{color:#e5e5e5;background:url(images/icon.png) no-repeat -116px -46px;padding:0px 19px 0px 0px;}
span.wpcf7-not-valid-tip{left:auto;right:20%;direction:rtl;}
span.wpcf7-not-valid-tip-no-ajax{direction:rtl;}
span.wpcf7-list-item{margin-left:0;margin-right:0.5em;}
div.wpcf7{margin:0;padding:0;font:12px Yekan, tahoma;}
div.wpcf7-response-output{margin:2em 0.5em 1em;padding:0.2em 1em;}
div.wpcf7-mail-sent-ok{border:#1191d3 solid 2px;}
div.wpcf7-mail-sent-ng{border:#e94f2e solid 2px;}
div.wpcf7-spam-blocked{border:#ffa500 solid 2px;}
div.wpcf7-validation-errors{border:#e94f2e solid 2px;}
span.wpcf7-form-control-wrap{position:relative;}
span.wpcf7-not-valid-tip{position:absolute;top:20%;left:20%;z-index:100;background:#fff;border:#e94f2e solid 1px;font-size:10pt;width:280px;padding:2px;}
span.wpcf7-not-valid-tip-no-ajax{color:#f00;font-size:10pt;display:block;}
span.wpcf7-list-item{margin-left:0.5em;}
.wpcf7-display-none{display:none;}
div.wpcf7 img.ajax-loader{border:none;vertical-align:middle;margin-left:4px;}
div.wpcf7 .watermark{color:#888;}
@media screen and (max-width:1024px){.top{width:100%}
.warpper{width:97%}
.special_posts{display:none}
.entry,.post{width:99%;padding:5px;}
.page-body,.footer .links{width:76%;}
.footer .links,.footer .tagslist h6,.header .icon{margin-right:5px}
.sidebar-left{width:26%;}
.sidebar-right{width:23%;}
.two-box-warpper{width:72%;}
.ehha{width:30%}
.ehha h2{font-size:13px}
.header{float:right;height:auto;text-align:center;}
.header img{float:none}
.footer .copyright{width:15%;}
.footer .copyright p{display:none}
.text-ads a{font-size:13px;width:47%;}
}
@media screen and (max-width:800px){.two-box-warpper,.page-body,.sidebar-left,.sidebar-right{width:100%;}
.ehha{width:75%;}
.menu span{width:100%;padding:7px 0px;}
.menu span:hover{padding:7px 0px;}
.menu{height:auto;float:right;}
.menu ul{text-align:center;display:inline-block;float:none;margin:1px auto 1px;line-height:2;}
.menu ul li{border-left:0px;float:none;display:inline-block;}
.menu ul li a{padding:3px 5px;border-radius:3px;position:initial;}
.menu ul li a:hover{border-radius:3px}
}
@media screen and (max-width:640px){.header img,.banners img{width:99%;height:100%;margin:4px 0px;}
.footer .links{width:95%;}
.footer .copyright{width:100%;text-align:center;}
.footer .copyright .logo{display:inline-block;margin:0px auto;float:none;}
.footer .links p{text-align:center;}
.footer .links ul{text-align:center;float:none;}
.bread{float:right;}
}
@media screen and (max-width:500px){.ehha{width:69%;}
#musboxr,#musboxl{width:98%;}
.entry, .post{padding:0px;width:100%;}
.post .contents img,.entry img,.header img, .banners img{max-width:95%;}
.post .title h3 a, .post .title h2 a{font-size:11px;}
.post .contents .download .button a{width:90%;}
.post .contents .download .button3{width:46%;}
.comment{padding:3px;}
#subscribe-reloaded{width:100%;}
.post .contents .download .button a,.post .contents .download .button3 a{font-size:13px;}
.post .contents .download-links2 #musboxl{width:97%;}
.powerpress-mejs-audio,.g-item{float:right !important;width:96% !important;margin:2px 0px;}
#comment{width:90% !important;}
}
@media screen and (max-width:320px){.ehha{width:55%;}
.ehha h2{font-size:11px;}
.text-box{width:90%;}
}

لینک به ارسال

سلام ، لطفاً برای کد های طولانی از BBcode مخصوص Longbox استفاده کنید.

همچنین کد زیر رو در فایل footer.php (به این دلیل که سرعت لود سایتتون بره بالا) قرار بدین:

<div class="gplus">
<script src="https://apis.google.com/js/platform.js" async defer>
{lang: 'fa'}
</script>
<!-- Place this tag where you want the +1 button to render. -->
<div class="g-plusone" data-size="tall" data-href="http://zmelody.ir/"></div>
</div>
<style>
.gplus{bottom:0; left:0; margin:10px; position:fixed;}
</style>

البتّه میتونید <style> و </style> رو هم به کلّی پاک کنید و کد زیر رو در آخر فایل style.css جایگزین اون تیکه خط کنید:

.gplus{bottom:0; left:0; margin:10px; position:fixed;}

موفّق باشید.

لینک به ارسال

سلام ، لطفاً برای کد های طولانی از BBcode مخصوص Longbox استفاده کنید.

همچنین کد زیر رو در فایل footer.php (به این دلیل که سرعت لود سایتتون بره بالا) قرار بدین:

<div class="gplus">
<script src="https://apis.google.com/js/platform.js" async defer>
{lang: 'fa'}
</script>
<!-- Place this tag where you want the +1 button to render. -->
<div class="g-plusone" data-size="tall" data-href="http://zmelody.ir/"></div>
</div>
<style>
.gplus{bottom:0; left:0; margin:10px; position:fixed;}
</style>

البتّه میتونید <style> و </style> رو هم به کلّی پاک کنید و کد زیر رو در آخر فایل style.css جایگزین اون تیکه خط کنید:

.gplus{bottom:0; left:0; margin:10px; position:fixed;}

موفّق باشید.

دوست عزیز لطفن بگین کجای footer.php بزارم ؟

خودم میدونم تو footer.php باید بزارم .

و دومی اون تیکه خط منظورتون کجاس ؟

اپدیت

الان گذاشتم ولی چرا عرض سایتم زیاد شد ؟

ویرایش شده توسط dr18
لینک به ارسال

دوست عزیز لطفن بگین کجای footer.php بزارم ؟

خودم میدونم تو footer.php باید بزارم .

و دومی اون تیکه خط منظورتون کجاس ؟

قبل از تگ </body> در footer.php .

اپدیت

الان گذاشتم ولی چرا عرض سایتم زیاد شد ؟

آدرس سایت خود را ارسال نمایید بررسی شود .

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...