Title: Align two short code items side by side
Last modified: August 20, 2016

---

# Align two short code items side by side

 *  [wrylilt](https://wordpress.org/support/users/wrylilt/)
 * (@wrylilt)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/align-two-short-code-items-side-by-side/)
 * I’m trying to align two items that use shortcodes side by side (a contact form
   and a google map on a contact page). I’ve tried paragraph align left and right
   and putting them side by side but one always sits above the other, making the
   right side look bare and blank.
 * Any idea how to get the two short code items side by side? Thanks

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

 *  [hedronist](https://wordpress.org/support/users/hedronist/)
 * (@hedronist)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/align-two-short-code-items-side-by-side/#post-2206132)
 * You’ve run into a fundamental bug in the shortcode parsing code. You could try
   to deal with this by using `float:left` and `float:right` on associated classes
   of the shortcode-generated items, but this is (at best) a hack. Someday this 
   will be fixed in the core code … but don’t hold your breath.
 *  Thread Starter [wrylilt](https://wordpress.org/support/users/wrylilt/)
 * (@wrylilt)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/align-two-short-code-items-side-by-side/#post-2206139)
 * Sorry but… what do you mean in the associated classes of the shortcode generated
   items? In the related plugin itself?
 *  [hedronist](https://wordpress.org/support/users/hedronist/)
 * (@hedronist)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/align-two-short-code-items-side-by-side/#post-2206161)
 * It’s generally a _bad idea_ to hack code you are not maintaining yourself, because
   that means that you now get to be the maintainer.
 * Look at the the HTML source of the generated page and see what CSS classes and/
   or ids are being used for the elements that were emitted by the shortcodes. Then
   in your `style.css` file add rules to modify these specific elements.
 *  Thread Starter [wrylilt](https://wordpress.org/support/users/wrylilt/)
 * (@wrylilt)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/align-two-short-code-items-side-by-side/#post-2206269)
 * Ok thank you. Will give it a try anyway, and make sure I have a backup! 🙂

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

The topic ‘Align two short code items side by side’ is closed to new replies.

## Tags

 * [align](https://wordpress.org/support/topic-tag/align/)
 * [Short Code](https://wordpress.org/support/topic-tag/short-code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [wrylilt](https://wordpress.org/support/users/wrylilt/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/align-two-short-code-items-side-by-side/#post-2206269)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
