Malcolm Tanti
asked 10 years ago

How Can I remove the side sharing bar in posts in DW Focus Theme? It takes up a lot of space for me, and I’m using this theme for an intranet/informative site for a company and therefore I would like to remove it as I would not be needing sharing.
 
Thanks

2 Answers
DominicStaff
answered 10 years ago

To remove the side sharing bar in posts in DW Focus Theme, you can add the following code to the style.css file:

.single .site-content > .hentry .entry-content { width: 770px; max-width: 770px;}
.single .site-content > .hentry .entry-action { display: none;}

Hope this helps !

Malcolm Tanti
replied 10 years ago

Hi, It works in Chrome but not in IE11 for some odd reason! Any Suggestions?

Dominic Staff
replied 10 years ago

You can send me your site for further checking, I have checked on our demo and still work fine.

Malcolm Tanti
replied 10 years ago

The site im talking about is an Intranet Site hosted on a local server! But here is my style.css file below:


/*
Theme Name: DW Focus
Theme URI: http://cmspioneer.com/designwall/wordpress-theme/dw-focus
Author: the DesignWall team
Author URI: http://cmspioneer.com/designwall
Description: Responsive News WordPress Theme
Version: 1.0.5
License: GNU General Public License
License URI: license.txt
*/

.single .site-content > .hentry .entry-content {

width: 780px; max-width: 780px;

}

.single .site-content > .hentry .entry-action {

display: none;

}

Malcolm Tanti
replied 10 years ago

WAIT nevermind, restarted xampp and it works. Thanks

Jaruwat Juntharakot
replied 10 years ago

hello,
I had the same problem and it wok fine after put this code on syless.css
.single .site-content > .hentry .entry-content { width: 770px; max-width: 770px;}
.single .site-content > .hentry .entry-action { display: none;}

but the auther also disappear, how if i want to delete the sharing @ sidebar but keep the auther @ the bottom of the single post?

Malcolm Tanti
replied 10 years ago

you are right! Also I noticed after using this CSS that my text doesnt adjust with the browser size (eg phone) Any idea how i could solve this

Dominic Staff
replied 10 years ago

@orthai25 !
If you want to delete the sharing sidebar but keep the author the bottom of the single post, you can add the following code:
.single-post .social-action {
display: none;
}
Hope this helps !

Malcolm Tanti
replied 10 years ago

Thanks solved my problem too

Deivid Dmeers
answered 9 years ago

It doesn’t works in 1.2.2

Any idea?

dominic Staff
replied 9 years ago

If you use the version 1.2.2, you can open the wp-content\themes\dw-focus\content-single.php file. Find the line 25:
Replace the following code:
<div class="entry-content col-md-9 col-md-push-3">

With new code:
<div class="entry-content col-md-12 col-md-push-0">

Then add the following code to the style.css file:

.single #main>.post .entry-sidebar {
    margin-right: -10px;
    display: none;
}

Hope this helps !

deividdmeers
replied 9 years ago

Thanks Dominic, it’s solved

Powered by DW Question & Answer Pro