Column width?

  • Unknown's avatar

    How can I change the column width on my “Game Results” area?

  • Hi there, I’d be glad to help with this.

    Is this an example of a column width you’d want to change, because the results are cut off?

    April 1, 2013

    To do that, we’d need to either remove the right-hand column, or make it much narrower, depending how much space is needed. Are you OK with that?

  • Unknown's avatar

    Yes, the results are cut off along the right hand side. I can do without the right hand column. The only information there is contact info and that is everywhere else on the site.

    Thanks for your help.

  • You could try adding this code to your Custom CSS, by heading over to Appearance > Custom Design, and clicking the CSS tab. Paste this in completely below the comments in green that are already there and click Save Stylesheet when you’re done.

    #content .category-games-results {
         margin-left: -110px;
    }
    #content .category-games-results pre {
         width: 700px;
    }

    This will preserve your sidebar but shift the game results column to the left and make it wider. Let me know if it works for you!

  • Unknown's avatar

    Again, thanks for your help, but could the left hand column be just a bit wider? Your instructions were perfect! If you go to our site and look at the “Game Results” you will see what I mean. For April 4 this width works fine, but we might have more pairs and some longer names.

  • Hi there, it may be easier to make the scores a little bit smaller, by altering this:

    #content .category-games-results pre {
         width: 700px;
    }

    to this:

    #content .category-games-results pre {
         width: 700px;
         font-size: 12px;
    }
  • Unknown's avatar

    That works perfectly. Thank you, thank you, thank you!

    Jan

  • Unknown's avatar

    Sorry to bother you again, but since WordPress made some changes I am once again faced with the column width on my Game Results page being too narrow. I have checked the CSS and the instructions you gave me earlier are still present and for some reason I can’t delete those and paste, once again, the last instructions you gave me. Any help would be appreciated.
    kawvalleybridge.wordpress.com

    Jan

  • Unknown's avatar

    Hello Jan,

    It looks like you may have recently changed the category that these posts were in from “Games Results” to “Game Results”. The CSS that Kathryn shared earlier can be fixed by modifying the “category-games-results” portions and removing the extra “s”.

    Here’s the complete CSS:

    #content .category-game-results {
         margin-left: -110px;
    }
    #content .category-game-results pre {
         width: 700px;
    }

    Please let me know if you have any problems adding the CSS above and I’ll be happy to take a look.

  • Unknown's avatar

    I now see the problem; however, I cannot delete the material currently on CSS. Can I just copy and past the correction below what is currently there? If not, I might need more help.

    Thanks!

  • Unknown's avatar

    Hi Jan,

    I have made the edit to the CSS for you. Please let us know if you continue to have problems.

  • Unknown's avatar

    Thank you, thank you, thank you. I feel so very foolish. I should know better than to make any small change without being aware that it could effect something else. Lesson, I hop, learned.

    BTW, your support is awesome!

  • Unknown's avatar

    Glad I could be of help. Have a great weekend!

  • The topic ‘Column width?’ is closed to new replies.