• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Remove space between columns

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Remove space between columns

This topic is: not resolved

Tagged: Columns

  • This topic has 2 replies, 1 voice, and was last updated 12 years ago by fred79.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 26, 2014 at 9:55 am #111639
    fred79
    Member

    I'm trying to reduce the gap between columns on my homepage: http://www.commercialtruckquotes.com

    There is an image in a two-thirds column and a form in the one-third column.

    I'm using Agency and placed a featured page in the header slider spot to make this work.

    I used columns because responsiveness is already baked in.

    My problem is that there is too big of a horizontal gap between the image and the form.

    I'd like to remove the gap and have the form and the image right next to each other. Any help would be greatly appreciated!

    http://www.commercialtruckquotes.com
    June 26, 2014 at 10:24 am #111646
    fred79
    Member

    Here's the html I used for the columns:

    <div class="two-thirds first">friendly trucker leads</div>
    <div class="one-third last">[gravityform id="3" name="Home Page" title="false" description="false"]</div>

    I tried using float left and a 65% with float right 35%. That worked a little better, but then the columns were not responsive.

    I found this is in the CSS, but not sure what to tweak to remove the gaps between the columns;

    /* Column Classes
    ------------------------------------------------------------ */

    .five-sixths,
    .four-fifths,
    .four-sixths,
    .one-fifth,
    .one-fourth,
    .one-half,
    .one-sixth,
    .one-third,
    .three-fifths,
    .three-fourths,
    .three-sixths,
    .two-fifths,
    .two-fourths,
    .two-sixths,
    .two-thirds {
    float: left;
    margin: 0px 0px 0px;
    padding-left: 3%;
    }

    .one-half,
    .three-sixths,
    .two-fourths {
    width: 48%;
    }

    .one-third,
    .two-sixths {
    width: 35%;
    }

    .four-sixths,
    .two-thirds {
    width: 65%;
    }

    .one-fourth {
    width: 22.5%;
    }

    .three-fourths {
    width: 73.5%;
    }

    .one-fifth {
    width: 17.4%;
    }

    .two-fifths {
    width: 37.8%;
    }

    .three-fifths {
    width: 58.2%;
    }

    .four-fifths {
    width: 78.6%;
    }

    .one-sixth {
    width: 14%;
    }

    .five-sixths {
    width: 82%;
    }

    .first {
    clear: both;
    padding-left: 0;
    }

    June 27, 2014 at 9:12 am #111766
    fred79
    Member

    For some weird reason, the columns aren't lining up now. The form is directly underneath the image. Yikes!

    I've taken this off my homepage for now, But you can see what I'm talking about here: http://www.commercialtruckquotes.com/homepage/

    Here's the HTML that I thought would work, but isnt:

    <div class="two-thirds first">image</div>
    <div class="one-third">gravity form shortcode</div>

    Any ideas to get the form back on the same line as the image?

    Many thanks!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble