• 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

Making uneven columns on a page

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 › Making uneven columns on a page

This topic is: resolved

Tagged: column classes, Columns, Sample Theme

  • This topic has 4 replies, 3 voices, and was last updated 8 years ago by thenickfox.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 19, 2015 at 12:24 am #144904
    thenickfox
    Member

    I'm attempting to make a page that has my logo on the lefthand side and some instructions on the righthand side.

    Using the baked in column classes cause the text on the right to wrap around the logo on the left.

    I've tried setting the width of the right column div to 50% and floating it, but then when viewed on a smaller screen and the columns responsively collapse, the instructions only take up half the width of the tiny screen.

    I've tried setting a false height to the left div, but this again causes issue with the responsive design leaving a HUGE gap between the logo and the start of the text on a mobile screen.

    So, what solutions are there? I'd prefer to have them be something I can enter on the page editor, rather than something I have paste into the CSS files of the theme to avoid screwing up the column classes that are currently working for me.

    Picture for reference to show what it's doing: (Since I may be screwing with the formatting more on the live site to try other fixes)

    A screenshot of my site showing the text wrapping

    Anyone have any ideas on how to accomplish this?

    Thanks!

    -Nick

    http://successhacking.com/thanks/
    March 19, 2015 at 1:34 am #144905
    Brad Dalton
    Participant

    Many solutions.

    I would use the sub footer left and right widgets from Outreach Pro because they are uneven widths


    Tutorials for StudioPress Themes.

    March 19, 2015 at 6:03 am #144918
    Brad Dalton
    Participant

    Do you mean within the content area?


    Tutorials for StudioPress Themes.

    March 19, 2015 at 7:44 am #144932
    Victor Font
    Moderator

    Add a new class to the first half div like so:

    <div class="one-half first fixed-height">

    Then add the new class to style.css:

    .fixed-height {
        min-height: 340px;
    }

    I think this will achieve what you're seeking.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 19, 2015 at 8:22 am #144938
    thenickfox
    Member

    Yes, BradAlton I'm looking to make the the second (right hand) column in the content area simply stay on the righthand side...until the responsive setting kick in, then I'd like them to be vertical without a gap between the logo and the second column text.

    And Victor, all that did was make the left hand column a little taller, but didn't prevent the wrapping issues...and still introducing the gap between the left and right columns once they collapse responsively.

    However, I found a fix that is "good enough" for now. There is still one potential problem I see for it, but hopefully this will mostly solve the problem,

    I started by adding a new class called column_match to the first div. Then I set the height of that class to 1000px. (If someone ups their font size manually, they might still see text wrapping, but it's a close enough approximation of the height that it should work) Using @screen, I then added a manual break point where the height of the class switches from 1000px to 100%, limiting it to the image height.

    Here's the code I used in case it will benefit anyone else...

    Div tag:

    
    <div class="one-half first column_match">
    

    CSS:

    
    .column_match {
        height: 1000px;
    }
    
    @media only screen and (min-width : 240px) and (max-width : 800px) {
    .column_match {
        height: 100%;
    }
    }
    

    Thanks for your help guys. I'm still open to solutions that would get rid of the 1000px problem, but this should be good for now!

    If anyone wants to see it in action, here's the direct link: http://successhacking.com/thanks/

    And as the URL says: THANKS.

    -Nick

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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

© 2023 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