ricky123
asked 11 years ago

Hi,

 

I’m looking to extend my body width to 100% & remove the secondary sidebar so the content moves over to the right.

 

How do I do this?

 

Look forward to hearing from you.

 

Regards

Ricky

2 Answers
DominicStaff
answered 11 years ago

To resolve this issue you can log in to Dashboard > Appearance > Editor > open the style.css file, then add the following code:

 
 .primary-inner { 
    margin-right: 0px; 
}

#secondary {
display: none;
}

Ankur Chaudhary
replied 11 years ago

I have recently bought DW Focus theme.

Ankur Chaudhary
replied 11 years ago

I have recently bought DW focus theme. I want to remove right sidebar and separator completely from the POST pages only. Also I want content to be move and occupy the area of Sidebar. Please suggest how can I do it.

DominicStaff
answered 11 years ago

@ Ankur ! to remove the sidebar in you single post. Firstly, you can log in to Dashboard > Theme > Customize > General Settings then add the following code to the “Header Script”.

<style>
.single .site-content > .hentry .entry-content {
  max-width: 864px;
}

.single-post #secondary {
  display: none;
}
#main > .container > .row {
  background: none;
}
</style>

Next, open the single.php file / line 13 and then replace the following code:

<div id="primary" class="site-content span9">

With new code:

<div id="primary" class="site-content span12">
Powered by DW Question & Answer Pro