Title: centering code?
Last modified: August 21, 2016

---

# centering code?

 *  [sallyee](https://wordpress.org/support/users/sallyee/)
 * (@sallyee)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/)
 * I have a booking calendar, I am putting multiples (4) on a page each one has 
   3 months showing, so three boxes across the page, four down. No matter what I
   do, they don’t center in the page, they are always a bit off to the left. I am
   using columns and short code but can’t figure it out. The pure codes are part
   of my theme short codes. without the push I get everything way off to the left,
   partially cut off. same with any other combos, just regular with nothing is far
   left, or still not properly centered. it is just off enough that I think people
   might have them cut off in smaller screens. Hope someone might have suggestions,
   code I can add to the css adder or something.I am not css code versed. 🙁 have
   tried to add div centers alignments etc, but no go, not sure where to put it 
   anyway. I do have the add css or javascript plugin. thanks in advance.
    code 
   now is: _ [code is useless for CSS issues - please post a link to your site]

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/#post-3773944)
 * Can you post a link to your site?
 *  Thread Starter [sallyee](https://wordpress.org/support/users/sallyee/)
 * (@sallyee)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/#post-3773945)
 * give me 3 minutes, I will change the index and add the page to the menu so you
   can see it and post the link. I have my old site up till such time as the new
   one is done.. 🙂
    Thanks
 *  Thread Starter [sallyee](https://wordpress.org/support/users/sallyee/)
 * (@sallyee)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/#post-3773947)
 * Ok, it is
    [http://www.tschurtschenthalerlodge.com](http://www.tschurtschenthalerlodge.com)
   click on the availability/booking page Thanks!
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/#post-3773948)
 * Are those supposed to be 3-across?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/#post-3773949)
 * Where is this code coming from – what theme or plugin?
 *  Thread Starter [sallyee](https://wordpress.org/support/users/sallyee/)
 * (@sallyee)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/#post-3773951)
 * Yes, so each row is a room, three months view of each. have not put the names
   over them yet. Rooms 1,2,3 and 4.
 *  Thread Starter [sallyee](https://wordpress.org/support/users/sallyee/)
 * (@sallyee)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/#post-3773952)
 * The calendar code is from stivasoft. I have their calendar program, which is 
   easy to do in old html tables etc, love it on my old site, have had it a year,
   the other wrapper, columns etc is just me trying to center it, but the wp confounds
   me! 😀
 *  Thread Starter [sallyee](https://wordpress.org/support/users/sallyee/)
 * (@sallyee)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/#post-3773954)
 * here is a similar page, but they have theirs centered, but maybe it is a tabled
   html site. Not sure which program they use.
    [https://mount7lodges.com/calendar/availability_and_booking.php](https://mount7lodges.com/calendar/availability_and_booking.php)
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/#post-3773990)
 * I see your other site now (which is fine…Sorry for disappearing, I had to do 
   some other stuff and I’m going to have to go to sleep pretty soon) but I noticed
   earlier that there’s a few funny code things on that page – not sure where they
   are coming from – try validating it!
 * What are the `<code>` tags doing?
 * Does that calendar code just make tables for you? If that’s the case, I’d suggest
   just taking that and putting it in divs – code those with CSS – and forget the
   column shortcode – at least for me, that looks more troublesome :). Anyway, if
   you want more help with it, post back.

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

The topic ‘centering code?’ is closed to new replies.

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [calendar](https://wordpress.org/support/topic-tag/calendar/)
 * [center](https://wordpress.org/support/topic-tag/center/)
 * [code](https://wordpress.org/support/topic-tag/code/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/centering-code/#post-3773990)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
