WordPress.org

Ready to get started?Download WordPress

Forums

Main content overlapping sidebar (2 posts)

  1. sjscoza
    Member
    Posted 2 years ago #

    Hey everyone,

    I'm using the free version of WP Startbox, in conjunction with a child theme I created, for a site I'm developing for a friend: http://www.reincarnationdetailing.com

    If you look at the Before & After Pictures page: http://reincarnationdetailing.com/before-and-after

    You can see that the table in the main content area is overlapping the right sidebar.
    I feel like it's probably because the images inside the table are too big, forcing the table to overlap. However, there should be a way to reduce the white space between the pictures to make it fit in the main content area.

    Any thoughts? I feel like there is a quick CSS fix for this that I am just overlooking.

    One more question: Does anyone know how I can reduce the massive amount of whitespace above the logo? It would look a lot better without as much padding near the top.

    Thank you!

    Steve

  2. Fire Truck
    Member
    Posted 2 years ago #

    To reduce the white space between the images, edit the padding here

    .entry-content table td {
    	border-top:1px solid #000000;
    	padding:5px 20px; }

    in both of your stylesheets.
    It should be something like this

    .entry-content table td {
    	border-top:1px solid #000000;
    	padding:5px 0; }

    Edit this in both of you stylesheets style.css and startbox.css?ver=3.2.1. By the way, these two stylesheets overlap a lot and you should probably include only one of them.

    To reduce the margin above the logo, edit the margin setting applyed to #logo in both of your stylesheets.

Topic Closed

This topic has been closed to new replies.

About this Topic