WordPress.org

Ready to get started?Download WordPress

Forums

Removing the "Leave a Reply" box and "Like" button for Imbalance 2 template (3 posts)

  1. sarah hyder
    Member
    Posted 1 year ago #

    Hi there,

    I'm looking to delete the "Leave a Reply" box and "Like" button and I can't figure it out.

    I'm using the Imbalance 2 template:

    body {
    	background-color:#ffffff;
    	color:#000000;
    	text-align:center;
    	font-size:75%;
    	font-family:raleway;
    	margin:0;
    	padding:0;
    }
    
    p {
    	font-size:1em;
    	line-height:1.5em;
    	margin:0 0 1.5em;
    }
    
    small {
    	font-size:.75em;
    }
    
    a:link,a:visited {
    	color:#000000;
    	text-decoration:none;
    }
    
    a:hover {
    	color:#000000;
    }
    
    .center-column img {
    	margin:0 0 1.5em;
    }
    
    .center-column img.aligncenter {
    	margin:0 auto 1.5em;
    }
    
    .center-column img.alignleft {
    	margin-right:1.5em;
    }
    
    .center-column img.alignright {
    	margin-left:1.5em;
    }
    
    .full-column {
    	border-bottom:1px solid #000000;
    }
    
    .center-column {
    	width:58.334em;
    	text-align:left;
    	clear:both;
    	margin:0 auto;
    }
    
    .alignright {
    	float:right;
    }
    
    .alignleft {
    	float:left;
    }
    
    .aligncenter,div.aligncenter {
    	display:block;
    	margin-left:auto;
    	margin-right:auto;
    }
    
    .wp-caption {
    	border:1px solid #000000;
    	text-align:center;
    	background-color:#f3f3f3;
    	padding-top:4px;
    	margin:10px;
    }
    
    .wp-caption img {
    	border:0 none;
    	margin:0;
    	padding:0;
    }
    
    .wp-caption p.wp-caption-text {
    	font-size:8px;
    	line-height:17px;
    	margin:0;
    	padding:0 4px 5px;
    }
    
    .clearboth {
    	clear:both;
    }
    
    .navigation {
    	font-size:1.5em;
    	border-top:1px solid #000000;
    	padding:.333em 0;
    }
    
    .image-attachment .navigation .alignleft a:before {
    	content:'« ';
    }
    
    .image-attachment .navigation .alignright a:after {
    	content:' »';
    }
    
    .pagetitle {
    	font-size:1.5em;
    	color:#000000;
    	position:left;
    	border-top:1px solid #000000;
    	padding:.333em 0;
    }
    
    .pagetitle span {
    	position:absolute;
    	left:240px;
    }
    
    #searchform {
    	font-size:1.167em;
    	margin:0 0 1.5em;
    }
    
    .menu-main {
    	display:block;
    	float:left;
    	font-size:11px;
    	font-weight:normal;
    	width:58.334em;
    }
    
    .menu-main ul {
    	list-style:none;
    }
    
    .menu-main li {
    	float:left;
    	position:relative;
    }
    
    .menu-main a {
    	border-top:3px solid #fff;
    	color:#000000;
    	display:block;
    	line-height:10px;
    	margin-right:1.819em;
    	text-decoration:none;
    	width:9.08em;
    	padding:10px 0;
    }
    
    .menu-main a:hover {
    	border-color:#000000;
    }
    
    .menu-main .current_page_item a {
    	border-color:#000000;
    }
    
    .menu-main ul ul {
    	display:none;
    	float:left;
    	position:absolute;
    	top:43px;
    	left:0;
    	z-index:99999;
    }
    
    .menu-main ul ul li {
    	min-width:180px;
    }
    
    .menu-main ul ul ul {
    	left:180px;
    	top:0;
    }
    
    .menu-main ul ul a {
    	background:#000000;
    	color:#fff;
    	font-weight:normal;
    	height:auto;
    	width:160px;
    	border-color:#000000;
    	margin:0;
    	padding:8px 10px 12px;
    }
    
    .menu-main li:hover > a {
    	border-color:#000000;
    }
    
    .menu-main ul ul li:hover > a {
    	border-color:#000000;
    }
    
    .menu-main ul ul a:hover {
    	background:#5A676A;
    	border-color:none;
    }
    
    .menu-main ul li:hover > ul {
    	display:block;
    }
    
    .blog-name {
    	font-size:10em;
    	font-weight:normal;
    	line-height:1em;
    }
    
    .blog-name a:link,.blog-name a:visited {
    	color:#000000;
    	text-decoration:none;
    }
    
    .blog-name a:hover {
    	color:#464646;
    }
    
    .description {
    	margin-top:.5em;
    	font-size:1.5em;
    	color:#464646;
    }
    
    #header {
    	padding:2em 0;
    }
    
    .center-column .hentry,.center-column .page {
    	border-top:none;
    	padding-top:1.5em;
    }
    
    * html .post,* html .page {
    	height:1%;
    }
    
    .center-column .sticky {
    	border-top:none;
    }
    
    h1 {
    	color:#000000;
    	font-size:1.5em;
    	font-weight:normal;
    	line-height:1em;
    	padding-bottom:.6em;
    }
    
    h1 a:link,h1 a:visited {
    	color:#464646;
    	text-decoration:none;
    }
    
    h1 a:hover {
    	color:#464646;
    }
    
    .post-info {
    	float:left;
    	width:18.333em;
    	word-wrap:break-word;
    	overflow:hidden;
    	margin:0 1.667em 0 0;
    }
    
    .archive-byline {
    	margin:-1em 0 0;
    }
    
    .archive-byline a {
    	color:#464646;
    }
    
    .archive-byline a:hover {
    	color:#464646;
    }
    
    .timestamp {
    	display:none;
    }
    
    .comment-bubble {
    	float:left;
    	font-size:1em;
    	margin-left:.5em;
    	text-align:center;
    }
    
    .comment-bubble a:link,.comment-bubble a:visited {
    	color:#464646;
    	text-decoration:none;
    	display:block;
    	width:27px;
    	height:32px;
    	background:url('images/comment-bubble.png') no-repeat 0 2px;
    }
    
    .comment-bubble a:hover {
    	color:#464646;
    }
    
    .sticky .comment-bubble {
    	margin-left:0;
    }
    
    .post-content {
    	float:left;
    	width:38.333em;
    	overflow:visible;
    }
    
    .post-content h2 {
    	font-size:1em;
    	margin-bottom:.75em;
    }
    
    .post-content h3 {
    	font-size:1em;
    	margin-bottom:1em;
    }
    
    .post-content h4 {
    	font-size:1em;
    	margin-bottom:.867em;
    }
    
    blockquote {
    	background:url('images/blockquote.png') no-repeat top left;
    	margin-left:7em;
    	padding-left:3em;
    	font-style:none;
    }
    
    .pull-1 {
    	margin-left:-8.571em;
    	width:41.428em;
    }
    
    .pull-2 {
    	margin-left:-17.143em;
    	width:50em;
    }
    
    * html .pull-1,* html .pull-2 {
    	position:relative;
    }
    
    .post-content ul,.post-content ol {
    	font-size:1em;
    	margin:0 0 1.5em;
    	padding:0;
    }
    
    .post-content ul li,.post-content ol li {
    	margin-left:3em;
    	padding-left:0;
    	line-height:1em;
    }
    
    .post-content ul li ul,.post-content ol li ol,.post-content ul li ol,.post-content ol li ul {
    	font-size:1em;
    }
    
    pre {
    	white-space:pre-wrap;
    	word-wrap:break-word;
    	margin:0 0 1.5em;
    }
    
    dl {
    	margin:0 0 1.5em;
    }
    
    dt {
    	font-weight:normal;
    	font-size:1em;
    }
    
    dd {
    	font-size:1.167em;
    	margin-left:8.571em;
    }
    
    acronym,abbr {
    	border-bottom:none;
    }
    
    hr {
    	color:#464646;
    	height:1px;
    	background-color:#252525;
    	border:none;
    }
    
    .more-link {
    	display:block;
    	margin-top:1.5em;
    }
    
    .post-meta-data {
    	display:none;
    }
    
    .post-meta-data span {
    	display:block;
    	float:right;
    	clear:both;
    	width:38.333em;
    }
    
    .lteIE7 .post-meta-data span {
    	margin-top:-1.5em;
    }
    
    .gallery {
    	margin:0 0 1.5em;
    	padding:0;
    }
    
    .gallery-item {
    	float:left;
    	text-align:left;
    	margin:10px 0 0;
    	padding:0;
    }
    
    .gallery img,.gallery a img {
    	border:none;
    	background:#ffffff;
    	margin:0;
    	padding:4px;
    }
    
    .gallery a:hover img {
    	background:#fff;
    	border-color:#252525;
    }
    
    .gallery-caption {
    	font-size:.833em;
    	line-height:1em;
    	color:#464646;
    	margin:0 0 1.5em;
    }
    
    table {
    	border-collapse:collapse;
    	margin:1.5em 0;
    	padding:0;
    }
    
    table th {
    	border:none;
    	background-color:#f8f8f8;
    	padding:.5em;
    }
    
    table tr {
    	margin:0;
    	padding:0;
    }
    
    table tr td {
    	border:1px solid #252525;
    	padding:.5em;
    }
    
    .post input[type=text],#respond input[type=text] {
    	border:none;
    }
    
    .post textarea,#respond textarea {
    	border:1px solid #333;
    }
    
    #comment-wrapper {
    	display:none;
    }
    
    h3#comments {
    	color:#464646;
    	font-size:1em;
    	font-weight:normal;
    	height:100%;
    	position:relative;
    	padding:.333em 0;
    }
    
    h3#comments span.comment-number {
    	display:block;
    	width:6.667em;
    }
    
    h3#comments span.comment-message {
    	position:absolute;
    	top:.333em;
    	left:6.667em;
    }
    
    ol.commentlist {
    	margin:0;
    	padding:0;
    }
    
    ol.commentlist li {
    	list-style:none;
    	position:relative;
    	border-top:1px solid #252525;
    	padding:.333em 0 0 10em;
    }
    
    ol.commentlist li.bypostauthor {
    	border-top:1px solid #252525;
    }
    
    ol.commentlist li.comment-author-admin {
    	border-top:1px solid #252525;
    }
    
    ol.commentlist li.comment div.vcard {
    	padding-top:1em;
    }
    
    ol.commentlist li.comment div.vcard cite.fn {
    	font-size:1.167em;
    }
    
    ol.commentlist li.comment div.vcard img.avatar {
    	position:absolute;
    	left:0;
    	padding-top:.333em;
    }
    
    * html ol.commentlist li.comment div.vcard img.avatar {
    	left:-10em;
    }
    
    ol.commentlist li.comment div.vcard span.says {
    	visibility:hidden;
    }
    
    ol.commentlist li.comment div.comment-meta {
    	margin-bottom:1em;
    }
    
    ol.commentlist li.comment div.reply {
    	position:absolute;
    	top:8px;
    	right:3px;
    }
    
    ol.commentlist li.pingback div.vcard {
    	padding-top:1em;
    }
    
    ol.commentlist li.pingback div.vcard cite.fn {
    	font-size:1.167em;
    }
    
    ol.commentlist li.pingback div.vcard span.says {
    	visibility:hidden;
    }
    
    ol.commentlist li.pingback div.reply {
    	position:absolute;
    	top:8px;
    	right:3px;
    }
    
    #respond {
    	position:relative;
    	border-top:1px solid #252525;
    	margin-bottom:3em;
    	padding:0;
    }
    
    #respond h3 {
    	font-size:1em;
    	color:#464646;
    	font-weight:normal;
    	padding:.333em 0;
    }
    
    #respond p {
    	height:100%;
    	position:relative;
    }
    
    #respond p input[type=text],#respond p.comment-notes input,#respond p.comment-form-author input,#respond p.comment-form-url input {
    	left:19.8%;
    	position:absolute;
    }
    
    #respond p input#submit {
    	left:20%;
    	position:relative;
    }
    
    #respond .comment-form-comment {
    	overflow:hidden;
    }
    
    #respond .comment-form-comment label {
    	position:absolute;
    	top:0;
    	left:0;
    }
    
    #respond .comment-form-comment textarea {
    	position:relative;
    	left:19.8%;
    	font-size:1em;
    	font-family:raleway;
    	width:79%;
    }
    
    #respond .form-allowed-tags {
    	display:none;
    }
    
    .cancel-comment-reply {
    	position:absolute;
    	top:8px;
    	right:3px;
    }
    
    #commentform {
    	border-top:1px solid #252525;
    	padding-top:1em;
    }
    
    .nocomments {
    	border-top:1px solid #252525;
    	padding:1em 0 0 8.571em;
    }
    
    .form-field {
    	position:relative;
    	margin-bottom:1em;
    	height:100%;
    }
    
    .form-field span {
    	position:absolute;
    	left:8.571em;
    }
    
    .form-field #author,.form-field #email,.form-field #url {
    	background-color:#fcfcfc;
    	border:1px solid #333;
    }
    
    .form-field span textarea#comment {
    	background-color:#fcfcfc;
    	border:1px solid #333;
    	width:32.857em;
    	height:200px;
    	font-size:1em;
    	font-family:raleway;
    }
    
    .comment-box {
    	margin-bottom:200px;
    }
    
    .center-column-sidebar {
    	width:58.334em;
    	text-align:left;
    	clear:both;
    	overflow:hidden;
    	margin:0 auto;
    }
    
    #footer-widgets {
    	width:60em;
    	border-top:1px solid #252525;
    	overflow:hidden;
    	margin:0 0 1em;
    	padding:1em 0 0;
    }
    
    #footer-widgets .widget-area {
    	float:left;
    	font-size:1em;
    	line-height:1em;
    	margin-right:1.429em;
    	width:15.713em;
    	list-style:none;
    	overflow:hidden;
    }
    
    #footer-widgets .widget li {
    	list-style:none;
    }
    
    #footer-widgets li .widgettitle {
    	font-size:1em;
    	color:#252525;
    	padding:.333em 0;
    }
    
    table#flickr_badge_uber_wrapper {
    	margin:0;
    }
    
    table#flickr_badge_uber_wrapper tr td {
    	border:none;
    	padding:0;
    }
    
    #flickr_badge_wrapper {
    	border:none!important;
    }
    
    table#flickr_badge_uber_wrapper img {
    	max-width:15.713em;
    	margin:0;
    }
    
    .widget_rss img,.widget_authors img {
    	margin:0;
    }
    
    #footer {
    	border-top:none;
    	font-size:.916em;
    	color:#464646;
    	line-height:1em;
    	margin:2em 0;
    	padding:.5em 0 0;
    }
    
    #footer a:link,#footer a:visited {
    	color:#464646;
    	font-weight:normal;
    	margin:0;
    	padding:0;
    }
    
    #footer a:hover {
    	color:#464646;
    }
    
    .credits {
    	float:left;
    }
    
    .bottom-link {
    	float:right;
    }

    ....

    Thanks
    :)

  2. mukesh panchal
    Member
    Posted 1 year ago #

    u have to remove <?php comment-template ?> in your page
    and like is remove that way

    give live url...???

  3. Realcube Technologies
    Member
    Posted 1 year ago #

    Edit your Theme loop-single.php file by WebsiteRoot/wp-content/themes/imbalance2/loop-single.php

    find <div id="social"> (at line no - 75)

    Remove the code (Twitter & Facbook Like)

    <div id="social">
     <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a>
     <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
     <div id="fb-root"></div>
     <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
     <fb:like href="<?php echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] ?>" send="true" width="450" show_faces="false" font=""></fb:like>
    </div>

    Now find <?php comments_template( '', true ); ?> (line no - 87).. you can Remove or comment this php code this functions used for Comments in WordPress Themes.

Topic Closed

This topic has been closed to new replies.

About this Topic