Title: shortcode within column shortcode not working
Last modified: August 21, 2016

---

# shortcode within column shortcode not working

 *  [btouris](https://wordpress.org/support/users/btouris/)
 * (@btouris)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/shortcode-within-column-shortcode-not-working/)
 * I am trying to use the column shortcode along with another shortcode, one that
   corresponds to the MaxButtons plugin. I formatted it like this:
    [one_half padding
   =”0 30px 0 0″] text [/one_half] [one_half_last] button shortcode [/one_half_last]
 * But, when it appears on the site the columns are stacked on top of each other.
   The button appears below the text.
    If I try the same formatting, but with more
   text where my button is supposed to go, the columns work fine. Is there a way
   to fix this? To allow the button to appear in the column next the text.
 * [http://wordpress.org/plugins/column-shortcodes/](http://wordpress.org/plugins/column-shortcodes/)

Viewing 1 replies (of 1 total)

 *  [lowethca](https://wordpress.org/support/users/lowethca/)
 * (@lowethca)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/shortcode-within-column-shortcode-not-working/#post-4516274)
 * If you put “padding-right” (the 30px in the shortcode you have) it will push 
   the second column to the right (because the 1st column is no longer technically“
   half” the width – it’s “half + 30px” wide) but it has nowhere to go, so it gets
   pushed down the page – below the first column. This will only happen if you fill
   the page width with columns. I.e. 2x “half” columns, 3x “one third” columns, 
   4x “one fourth” columns.
 * You should add margin-left to the **button** (the child element of the column)
   so that the button only gets moved to the right.

Viewing 1 replies (of 1 total)

The topic ‘shortcode within column shortcode not working’ is closed to new replies.

 * ![](https://ps.w.org/column-shortcodes/assets/icon-256x256.png?rev=1679769)
 * [Column Shortcodes](https://wordpress.org/plugins/column-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/column-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/column-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/column-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/column-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/column-shortcodes/reviews/)

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [Button Shortcode](https://wordpress.org/support/topic-tag/button-shortcode/)
 * [column](https://wordpress.org/support/topic-tag/column/)
 * [column shortcode](https://wordpress.org/support/topic-tag/column-shortcode/)
 * [maxbutton](https://wordpress.org/support/topic-tag/maxbutton/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 2 participants
 * Last reply from: [lowethca](https://wordpress.org/support/users/lowethca/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/shortcode-within-column-shortcode-not-working/#post-4516274)
 * Status: not resolved