Rabin Sharma
asked 9 years ago

I want to increase main post or content section width to 735px to place 728×90 size adsense ads. I have also used the script from below link to increase sidebar width.

How to enlarge sidebar in DW Focus

1 Answers
DominicStaff
answered 9 years ago

If you want to increase the width of content or post section, you need to remove the Sharing icons on the left hand and below is our instruction:
Firstly, follow the jetpack’s guideline in the Blog article on how to use Edit CSS here.
http://designwall.com/blog/using-jetpack-custom-css-for-your-wordpress-site/
Then add the code to the Edit Css.

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

Hope this helps !

Rabin Sharma
replied 9 years ago

But now the border has is not fitting. Please fix this too. See this
http://s28.postimg.org/49c7tash9/Untitled.png

Dominic Staff
replied 9 years ago

You can send me your site for further checking.

Rabin Sharma
replied 9 years ago

I am running it offline in XAMPP for development before release.Is there any way you can solve it if I provide you more things.

Dominic Staff
replied 9 years ago

This issue is due, you have changed width of secondary sidebar. To resolve this issue, you can add the following code:
.single .site-content > .hentry .entry-action { display: none; }
.single .site-content > .hentry .entry-content { max-width: 690px !important; width: 100% !important; }
Note: You can custom size in the line code: max-width: 690px !important

Rabin Sharma
replied 9 years ago

Thanks a lot Dominic. Love your theme and your support

Powered by DW Question & Answer Pro