WordPress.org

Support

Support » How-To and Troubleshooting » Wrapping Text Around Shortcode Elements

Wrapping Text Around Shortcode Elements

  • I have a page that has some text and I want to insert an image slide show plugin that uses [shortcode] to insert. I want the slide show which is about 400 pixels wide to align at the upper right of the page with the text aligning at the top left next to the slideshow… the text also runs past the slide show and needs to wrap below it.

    Using a table to split the page into two rows would work however the text would continue past the images and only show on half of the page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Michael

    @alchymyth

    Forum Moderator

    does the shortcode output have a unique css class?

    If you mean does the plugin have CSS files – yes. I looked in the CSS folders and the template files and thought perhaps I could do something with the plugin itself. Tried a few things but nothing worked.

    I am hoping there is a simple answer to this… much in the way you can move an image around in the editor and WordPress will wrap the text but apparently shortcode pluginns and wigets are treated differently

    Moderator Michael

    @alchymyth

    Forum Moderator

    the simple answer is, if you know the css class or id of the slider container, you can use ‘float: left;’ and some margins to format it.

    how does the html output of the slider section start, if you look for its code within the browser wen you view your site?

    or you could use a tool such as Firebug to find this css class.

    you can post a link to your site, to a post/page with the slider, if you would like someone to check this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wrapping Text Around Shortcode Elements’ is closed to new replies.