Title: Custom Theme Problem
Last modified: August 20, 2016

---

# Custom Theme Problem

 *  [neweb](https://wordpress.org/support/users/neweb/)
 * (@neweb)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-problem-1/)
 * I’m building (or trying to) a completely custom theme from scratch.
    Its taking
   me a while to do but I think a better understanding of the themes will pay off
   in the long run.
 * Anyway, I’m having a problem that I just can’t get the answer to.
 * The main content has a content box with 3 div’s in it.
    The top and bottom div
   is just for an effect on the site while the middle div contains the page and 
   post content.
 * The problem is, I can’t close the gap between the 3 div’s to give me the effect
   I want.
 * Here is the site:
    [http://thevickerys.eu/](http://thevickerys.eu/)
 * as you can see on the home page and the sample page the gap is closed between
   the first and second div bit I can’t close the lower div up to the second div.
 * On the next sample page I can’t close the gap between all 3 div’s.
 * Here is the css that related to the 3 divs.
    _[CSS moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please just post a link to your site.]_
 * On the index.php here is the code that runs the above css
 *     ```
       <div id="mainarea">
       <div class="contentwrap">
         <div class="contentbordertop"></div>
         <div class="content">
         <?php
       			/* Run the loop to output the posts. */
       			 get_template_part( 'loop', 'index' );
       		?>
         </div>
         <div class="contentborderbottom"></div>
       </div>
       ```
   
 * I have been at this for days and I can’t move on until I fix this….. its driving
   me nuts and I’m starting to loose hope in it.
 * Can anyone help???????

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-problem-1/#post-2610265)
 * Try using Firefox with the Firebug add-on for this kind of CSS work.
    [http://getfirebug.com/](http://getfirebug.com/)
 *  Thread Starter [neweb](https://wordpress.org/support/users/neweb/)
 * (@neweb)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-problem-1/#post-2610281)
 * I did try that but still can’t find the problem.
 * Its just getting the better of me.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-problem-1/#post-2610289)
 * I’m sorry but it is beyond the scope of these forums to deal with pure CSS issues.
   Try a dedicated CSS resource such as [http://www.css-discuss.org/](http://www.css-discuss.org/)
   instead.
 *  Thread Starter [neweb](https://wordpress.org/support/users/neweb/)
 * (@neweb)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-problem-1/#post-2610387)
 * OK I’ll give them a go

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom Theme Problem’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * 4 replies
 * 2 participants
 * Last reply from: [neweb](https://wordpress.org/support/users/neweb/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-problem-1/#post-2610387)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
