Title: shortcode selection based on screen size
Last modified: August 13, 2024

---

# shortcode selection based on screen size

 *  Resolved [justanothertechbro](https://wordpress.org/support/users/justanothertechbro/)
 * (@justanothertechbro)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/shortcode-selection-based-on-screen-size/)
 * I am using Twenty Twenty-Four theme and contact 7 form for the form creation.
   Basically, I am trying to create a contact form for the footer. The current form
   that I have for the footer won’t scale properly for the mobile. So I am thinking
   if it enters mode just switch to another form using a different shortcode. I 
   have wpcode installed. I am just sure how to inject the php switch code.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-selection-based-on-screen-size%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/shortcode-selection-based-on-screen-size/#post-17951044)
 * The styling of the form in the footer is provided by the Spectra plugin you are
   using. I would recommend you to contact their support forum: [https://wordpress.org/plugins/ultimate-addons-for-gutenberg/](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/)
 *  Thread Starter [justanothertechbro](https://wordpress.org/support/users/justanothertechbro/)
 * (@justanothertechbro)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/shortcode-selection-based-on-screen-size/#post-17951047)
 * [@threadi](https://wordpress.org/support/users/threadi/) I always thought it 
   is provided by the Twenty Twenty-Four theme. Because I don’t have Spectra plugin
   installed
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/shortcode-selection-based-on-screen-size/#post-17951056)
 * Yes, the plugin is installed and active.
 *  Thread Starter [justanothertechbro](https://wordpress.org/support/users/justanothertechbro/)
 * (@justanothertechbro)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/shortcode-selection-based-on-screen-size/#post-17951061)
 * [@threadi](https://wordpress.org/support/users/threadi/) This is what I see in
   my plugin page
 * > [View post on imgur.com](https://imgur.com/a/NEjHjGX)
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/shortcode-selection-based-on-screen-size/#post-17951077)
 * Ah, then it’s probably Ultimate Addons for Contact Form 7 – very similar slug.
   Their support forum is here: [https://wordpress.org/support/plugin/ultimate-addons-for-contact-form-7/](https://wordpress.org/support/plugin/ultimate-addons-for-contact-form-7/)
 *  Moderator [Support Moderator](https://wordpress.org/support/users/moderator/)
 * (@moderator)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/shortcode-selection-based-on-screen-size/#post-17951138)
 * Thread continues at [https://wordpress.org/support/topic/mobile-label-alignment/](https://wordpress.org/support/topic/mobile-label-alignment/)

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

The topic ‘shortcode selection based on screen size’ is closed to new replies.

## Tags

 * [mobile](https://wordpress.org/support/topic-tag/mobile/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 6 replies
 * 2 participants
 * Last reply from: [Support Moderator](https://wordpress.org/support/users/moderator/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/shortcode-selection-based-on-screen-size/#post-17951138)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
